Madagascar *.RWS

Codecs, formats, encoding/decoding of game audio, video and music
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Madagascar *.RWS

Post by Mygoshi »

Hey I'm trying to rip the .rws substreams from Madagascar. I tried and it works with MFAudio but I have all of the songs in one file (cutscenes, intro..) and I would like to seperate them. I tried to scan these files with PSound, ADPCM Player.. but found just 1 file.

Samples: (expired)

Thanks if you can help me.
Last edited by Mygoshi on Fri Jan 14, 2022 2:16 pm, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Madagascar *.RWS archives

Post by aluigi »

No idea.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

You can open the RWS files as raw compressed ADPCM, 22050 Hz, 1 channel (Mono) with MFAudio.
Last edited by Mygoshi on Fri Jan 14, 2022 2:14 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Madagascar *.RWS archives

Post by aluigi »

Regarding Renderware RWS I remember only RW Analyze:
http://www.steve-m.com/downloads/tools/rwanalyze/
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

I tried and it doesn't work :'(
Last edited by Mygoshi on Fri Jan 14, 2022 2:14 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Madagascar *.RWS archives

Post by aluigi »

Unfortunately the RWS files have ever had lack of support.
The first problem is the format that is not just a classical archive, it's a sequence of chunks of data (example http://rwsreader.sourceforge.net/).
The second problem is just the lack of just one format, there are differences between some games and so it's difficult to make "one tool to rule them all".

Another resource is http://oezmen.eu/gameresources/ (bs3.zip)
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

I tried to check the GC and Xbox versions and the music uses a different codec.
Last edited by Mygoshi on Fri Jan 14, 2022 2:19 pm, edited 1 time in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

Do you think people on hcs could help me?
Last edited by Mygoshi on Fri Jan 14, 2022 2:19 pm, edited 2 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Madagascar *.RWS archives

Post by aluigi »

Probably yes :D but it's not us.

All your posts are about:
  • raw audio embedded in information-less archives without details about them (samplerate, channels and so on, nothing)
  • an archive (rws) that doesn't have a fixed format and the only extractors available are those made for some specific games
It's perfectly normal that you don't receive solutions, because don't exist.
And those work-around that I provided were not enough for you.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

PS2:
Codec: Sony ADPCM
Channels: Mono
Freq: 22050

Gamecube:
Codec: DSP ADPCM
Channels: Mono
Freq: 22050

PC:
Codec: IMA ADPCM
Channels: Mono
Freq: 22050

Xbox:
Codec: PCM
Channels: Mono
Freq: 22050
Last edited by Mygoshi on Fri Jan 14, 2022 2:23 pm, edited 2 times in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

Edited
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

No idea, still?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Madagascar *.RWS archives

Post by aluigi »

I think that nobody is looking at this thread so it's not necessary to bump everytime or I need to lock it.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Madagascar *.RWS archives

Post by Mygoshi »

Ok, understood.
Last edited by Mygoshi on Fri Jan 14, 2022 2:23 pm, edited 1 time in total.
SeriousNorbo
Posts: 19
Joined: Mon Mar 20, 2017 1:21 pm

Re: Madagascar *.RWS archives

Post by SeriousNorbo »

If someone is still looking at this thread, Foobar with VGMStream plugin can open PC version RWS.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Madagascar *.RWS archives

Post by AlphaTwentyThree »

Can you upload some dsp examples? I'd like to see how the header is constructed. Doesn't seem all too difficult to get single streams after some tests with a script I wrote.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Madagascar *.RWS archives

Post by AlphaTwentyThree »

Uh, why doesn't "padding 0x10" work here when I try to get the file names?

Image

QuickBMS states the names as

Code: Select all

music_outro
tro
_trans2
_trans1
cvolume
rt1
rt2
rt3
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Madagascar *.RWS archives

Post by AlphaTwentyThree »

SeriousNorbo wrote:If someone is still looking at this thread, Foobar with VGMStream plugin can open PC version RWS.

Well, that's now what OP was after - he wanted to extract the substreams from the RWS files - a much harder endeavor...