The Forum is up for sale: XeNTaX Forum looking for new owner

MF Audio & Interleave Settings

Coders and would-be coders alike, this is the place to talk about programming.
Post Reply
John Connor
ultra-n00b
Posts: 9
Joined: Sat Dec 20, 2008 11:16 pm
Has thanked: 1 time

MF Audio & Interleave Settings

Post by John Connor »

The contents of this post was deleted because of possible forum rules violation.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: MF Audio & Interleave Settings

Post by aluigi »

the interleave value is ever a boring field because in some games it can change for every file (like in "The Warriors") while in others it's ever the same.
in the case of the file you posted it's simply set to 0x1000 and the data starts at offset 0x800.

I recognized the offset because luckily the adpcm streams used on playstation and nintendo are easily recognizable simply following the pattern with the eyes and I guessed the interleave value watching the final part of the file (00 02 00 00 00...), practically 0x233ba0 - 0x232ba0 = 0x1000
hope this will help you also in future.

in the past I wrote a tool just for extracting the musics of The Warriors and it can be used also to build a SS2 file which can be played with winamp or any other player supporting the vgmstream plugin (so you don't need to reconvert it in wav/mp3 or using mfaudio).

my tool is called vagguess and the following is the example usage for the file you provided:
vagguess -o 0x800 -i 0x1000 -D BUTCHSHP.RWS

it will create the file 00000000.ss2 that you can play through vgmstream + winamp
John Connor
ultra-n00b
Posts: 9
Joined: Sat Dec 20, 2008 11:16 pm
Has thanked: 1 time

Re: MF Audio & Interleave Settings

Post by John Connor »

Great, thanks for the help, much appreciated. :D
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 680 times
Contact:

Re: MF Audio & Interleave Settings

Post by Mr.Mouse »

John Connor wrote:Great, thanks for the help, much appreciated. :D
Indeed, so why not press bugtest's "thank post" button to show gratitude? ;)
Post Reply