Terraria console by Hotcakes at 6:17 AM EDT on May 18, 2013
Sounds like some of the music is different in the console versions. Anyone able to extract them?
Yes and no by zeemurf at 6:18 PM EDT on May 23, 2013
I've looked at the Xbox360 version of Terraria. You need to transfer the data to a PC (it's an extensionless file with a name like 6F1132CE697FD7B5FB8052FEAA182741944E0EC458, which you'll find in the Terraria folder of the hard drive), then use a tool called Le Fluffie to extract that data.
http://skunkiebutt.com/?page_id=362

Once it's done, you need to look Root/Content/. That's where you have a couple of very interesting files: "Sound Bank.xsb" and "Wave Bank.xwb". The former contains the names of the songs, and the later contains the actual data.

Now you need to extract them from the xwb. To do this, you need unxwb.
aluigi.altervista.org/papers.htm#xbox

Use a command line like this:
unxwb.exe -b "Sound Bank.xsb" 0x32a "Wave Bank.xwb"

-b "Sound Bank.xsb" is there to tell it where to find the file names.
0x32a is the offset at which the file names begin in the xsb file (opening it with a hex editor lets you quickly find that value).

That'll give you a bunch of very small .wav file. However, you can't play them. They're presumably compressed in the XMA format since it's for the Xbox... And I haven't been able to convert them into something listenable yet. I've looked into using ToWav (www.ctpax-x.org/?goto=files&show=24) but I only got either nothing at all or stupidly small files (boss4 went from 523 kb to 70 kb) which sounded like random noise.

I'll add that most of the info I got from this thread:
hcs64.com/mboard/forum.php?showthread=14818

I'm going to try VGMToolbox now:
sourceforge.net/projects/vgmtoolbox/

edited 6:21 PM EDT May 23, 2013

Re-edit: well, didn't work. It just calls the other tools anyway.

edited 6:21 AM EDT May 24, 2013
by zeemurf at 3:51 AM EDT on June 10, 2013
It might be possible with the script in this thread, but I have no idea, what with not having a xentax forum account.
http://forum.xentax.com/viewtopic.php?f=17&t=9023
by kode54 at 8:23 PM EDT on June 17, 2013
FFMPEG (or avconv, if you're stuck with that poison) should be able to convert XMA WAV files.
by kode54 at 1:01 AM EDT on June 18, 2013
Okay, I fixed extraction with xactxtract2.pl, use the copy located in my repository here, or the main MacTerrariaWrapper repository once the pull request has been accepted.

This will produce improperly named xwma files from the xwb, which you may rename according to the list in the xsb. xWMAEncode.exe decodes them perfectly.
by zeemurf at 2:15 AM EDT on June 30, 2013
Hmm.... I can't run it with strawberry perl:

syntax error at xactxtract2.pl line 48, near ") {"
syntax error at xactxtract2.pl line 56, near "when "
syntax error at xactxtract2.pl line 61, near "}"
syntax error at xactxtract2.pl line 67, near "}"
syntax error at xactxtract2.pl line 81, near "}"
BEGIN not safe after errors--compilation aborted at xactxtract2.pl line 169.


edited 2:18 AM EDT June 30, 2013
by zeemurf at 12:05 PM EST on November 23, 2013
So did anyone ever actually manage to convert those songs to .wav format?


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source