The rules have been updated, read them now: Rules!

Soldier of Fortune Payback .xbw sound files?

Get help on any and all audio formats, or chip in and help others!
Post Reply
User avatar
Hunter01
ultra-n00b
Posts: 2
Joined: Sat Jan 04, 2020 3:10 am
Has thanked: 1 time

Soldier of Fortune Payback .xbw sound files?

Post by Hunter01 » Sat Jan 04, 2020 4:08 am

Hello everyone! I'm having an issue I was hoping I could get some help with since I can't figure out how to access these sound files. I've already looked through the forum and on the other game modding website xenhax and I was only able to find a single thread on how to access these https://zenhax.com/viewtopic.php?t=10965 In this thread someone mentions to use vgmstream and add a txth header to the vgstream folder and then run test.exe. I figured out how the program works, but I have no idea how to get or make this txth file. I've looked around again on the internet and couldn't find any specific instructions on how to do this. Any help would be appreciated! I've included an example of these sound files.

http://www.mediafire.com/file/n4hben138 ... B.zip/file

User avatar
DKDave
mega-veteran
mega-veteran
Posts: 249
Joined: Mon May 06, 2019 6:07 pm
Has thanked: 6 times
Been thanked: 99 times

Re: Soldier of Fortune Payback .xbw sound files?

Post by DKDave » Sat Jan 04, 2020 12:47 pm

Save this into a text file called ".vgmstream.txth" (don't forget initial dot) and put it in the same folder as the .xbw files:

codec = XBOX
codec_mode = 0
sample_rate = @0x18:LE$4
channels = @0x16:LE$2
start_offset = 0x48
num_samples = data_size

Rename your *.xbw files to *.vgmstream and they should play in Foobar with the vgmstream plugin installed, and y ou can convert them with that too. Some of the audio files in your zip have additional header info so they won't play with the above method until you remove that extra header, so that the files start with "RIFF".
"Each person is born with their fate written into their own genetic code. It's unchangeable, immutable. But that's not all there is to life." - Dr. Naomi Hunter

User avatar
Hunter01
ultra-n00b
Posts: 2
Joined: Sat Jan 04, 2020 3:10 am
Has thanked: 1 time

Re: Soldier of Fortune Payback .xbw sound files?

Post by Hunter01 » Sun Jan 05, 2020 8:23 pm

Hello again and thank you for you reply! So I followed your instructions just as you specified, but I'm still running into issues. I installed Foobar and installed the vgmstream plugin just as you said as shown here http://www.wduwant.com/index_uploads/up ... 371d48.PNG but when I attempt to run the file in the program I get this error http://www.wduwant.com/index_uploads/up ... 215b49.PNG also I did both methods for the file name as well where I renamed both the extension and the file name itself to .vgmstream and it doesn't work in either way. I know that you mentioned some of the audio files wont play until I remove a extra header on certain audio files but how do I go about doing that?

lvs42
ultra-n00b
Posts: 1
Joined: Thu Jun 30, 2011 2:45 pm

Re: Soldier of Fortune Payback .xbw sound files?

Post by lvs42 » Sun Feb 21, 2021 12:16 pm

Hey Hunter01, so did you ever manage to get those sound files working? I just did, thanks to the thread you linked in your first comment. So thanks for that :). I didn't even have to use foobar, vgmstream did the entire job itself. If you're still having trouble, I can explain in more detail. ;)

Post Reply