ReeceMix, just for future reference, it's prudent to provide an uploaded example of
at least one, or part of the file((type(s)) of which you are making particular reference to within your forum-post, so that others can download & examine them for your benefit. This is explicitly due to the reality that not
every member here is psychic.
However, in this particular case, I've looked into these files myself already.
This [appropriately-modified] quickbms script willl output seperated .xsb and .xwb files for each audiofile referenced within any given sound-archive, respectively:
Code: Select all
open FDDE bin 0
open FDDE lst 1
idstring Hash
get FILES long
for i = 0 < FILES
get FILEHASH long
get OFFSET long
get SIZE long
getct NAME string 0x0D 1
get TXT byte 1
set XSBN string NAME
string XSBN -= 4
string XSBN += .xsb
set XWBN string NAME
string XWBN -= 4
string XWBN += .xwb
set XWBOFF long OFFSET
math XWBOFF += 0x800
set XWBSIZE long SIZE
math XWBSIZE -= 0x800
log XSBN OFFSET 0x800
log XWBN XWBOFF XWBSIZE
next i
FYI: the "rsm" files are simply xbox-soundbanks (xwb) followed by the corresponding wavebank (xwb). And by the looks of what follows, the encoding is microsoft-adpcm.
The quickest way of decoding these files to wave is to use towav, which automates the procedure greatly. If you don't happen to have this app lying about your computer already, it's freely available from
ctpax-x.ru
So once you've extracted the individual files from any of the given game audio-archives, just put towav.exe and its .bat into the folder along with your extracted .xwb files and use the batchfile to produce some familiar wave files.
Hope this helps you out mate.
Faqew wrote:Why do you want to extract the sound?
Both, the retail version and the Steam version of the game come with the soundtrack on CD/320kbit MP3.
Simply put: there's
hours worth of original music within the game, which ultimately didn't get given a place within the soundtrack, so i guess any desire for more is understandable.