Madagascar (Gamecube) RWS by TheMygoshi at 10:01 AM EDT on April 9, 2015
I'm in trouble for

1-Extract the files because this is an archive
2-Convert the files

Link: https://mega.co.nz/#!8JAnVILD!LX_dMbfHkbEkueA8o7uaHDtYfJ2fuZ3hcf4bvdHnHRk

Thanks if you can help me... I really love the soundtrack but yes I ripped the other platforms but this version seems to get a good quality
by Nisto at 2:17 AM EDT on April 10, 2015
May be standard Nintendo DSP. The table at 0x88 describes the offset (relative to 0x800) and size of each track. Table size is trackcount * 32. However, I am not able to find anything obvious that could be coefficients... Is there a second file related to this "jungleMU.RWS" file? Here's my (slightly distorted) result: https://mega.co.nz/#!SwxkmR4Y!c6Gb-fXJG44Od1Oo9crcSaUTpu0JoOf47rHFAzTznUE
by TheMygoshi at 2:22 AM EDT on April 10, 2015
It's 22050 and Mono file, so if this can help^^
by TheMygoshi at 4:10 AM EDT on April 10, 2015
How do you extracted this?
by Nisto at 4:26 AM EDT on April 10, 2015
By hex editor, but a script can quickly be written.
by TheMygoshi at 4:33 AM EDT on April 10, 2015
I see the filenames with offset I think. I tried with vgmtoolbox to put them in Offset but don't work. The file you extracted is "mushroom_game" the first in the archive. What am I supposed to do to extract the files and convert them??? and can I have a script if you can?
by Nisto at 4:51 AM EDT on April 10, 2015
Yeah, you can probably use VGMToolbox to extract them. I made a VFS preset: https://mega.co.nz/#!yoZghIRD!7jA5pYOjHDyvLm1BEOQBLEcK5wK-9TpO0sXLQOeaDW8 Place it in vgmtoolbox\plugins\VFSExtractor. This doesn't generate any (DSP) headers though, you'd have to tack that on yourself somehow.

The filenames are stored in a completely non-standard fashion, so no idea how you could extract those (with VGMToolbox anyway)..

edited 10:06 AM EDT April 10, 2015
by TheMygoshi at 5:02 AM EDT on April 10, 2015
Thanks but I don't know how to write in file offset records and so on... I have an infinite numbers of 0xCA for example I don't know where's the correct offset
by Nisto at 5:22 AM EDT on April 10, 2015
That's the purpose of the preset - it's already specified. All you need to specify is the path of the RWS file, then click the "extract files" button. After you've properly restarted VGMToolbox and selected the preset in the VFS extractor dropdown list and hit "load" that is..
by TheMygoshi at 9:16 PM EDT on April 10, 2015
Why the file count is at 0x38 offset? I looked at 0x38 and I have a point in a Hex Editor.
by Nisto at 9:22 PM EDT on April 10, 2015
It's the only place that made sense. There are 12 (0x0C) entries/records in the table at 0x88, and the value at 0x38 is the only place that specifies 12 (0x0C) before the table. Note that the value is 4 bytes long (big endian order) however.
by TheMygoshi at 9:30 PM EDT on April 10, 2015
I extracted .bin files that make non sense. What hex edit do you use?
by TheMygoshi at 9:39 PM EDT on April 10, 2015
Oh no sorry the bin files are dsp !
by Nisto at 9:43 PM EDT on April 10, 2015
As I mentioned, the VFS Extractor does NOT output headers. It's a simple extract-only tool.

I used a junkish PHP script I wrote a while ago to add a DSP header with custom coefficients I generated from iterating a bunch of DSP files from various games. But as you probably noticed, it doesn't sound alright anyway (either because it's not even DSP to begin with, or because we need the correct coefficients, which I can't seem to find any of in the RWS file you uploaded)..
by TheMygoshi at 9:48 PM EDT on April 10, 2015
But how did you convert the .bin extracted into dsp to play them with Foobar anyway? I tried to rename but don't work and I tried to extract the extracted files (xD) with the Nintendo GC ADPCM 4-bit but I don't have the coeffs so ...
by Nisto at 9:56 PM EDT on April 10, 2015
I don't have the exact coefficients either. You'll have to try to find them. I don't have the game, and the bare RWS you uploaded might not contain all that's needed. The DSP file I uploaded uses an "approximate" header (with custom coefficients) which I generated with a PHP script.
by TheMygoshi at 10:26 PM EDT on April 10, 2015
And can you give me the PHP script please? Do you want other files?
by Nisto at 11:17 PM EDT on April 10, 2015
https://dl.dropboxusercontent.com/u/48454461/misc/dspguess.php
by TheMygoshi at 12:15 AM EDT on April 11, 2015
And what do I need to apply this script to my file? xD sorry But I don't write php scripts
by TheMygoshi at 2:59 AM EDT on April 11, 2015
Is this page can help? http://rwsreader.sourceforge.net/
by Mygoshi at 10:20 AM EDT on April 21, 2015
Okey :'(
by Mygoshi at 2:06 AM EDT on May 5, 2015
I understood but how I apply the php at the file?


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