Hi,
I'd like to extract the sound files from this old game from SSI : Chaos Gate,which seem to be stored in what seems to be an archive named wh40.ds in the Sounds folder. I'm 100% sure it contains *.wav files because :
-In the game's *.dat files, there are mention of *.wav files
-When I open the file with a hex editor, I can see plenty of files named xxxx.wav
So far I've been unable to extract any of them with many of the rippers/extractors I've tried
I hope you guys can help me !
Here is a link of the demo of this game :
Hey, no one wants to look at my case?
Surely it can't be that hard since it's from an old game?(Or maybe I'm wrong? Sorry I don't know much about ripping stuff)
There is a *.ds file provided in the demo so you can check it out...
Hi,
thanx a lot, it worked wonderfully ! Although I noticed that it doesn't work if the name of folders specified had spaces in them.(I'm pretty new at this stuff) So was it a simple archive file using an easy algorithm?
Hmm, I can have a look, but I should tell you that some wavs are actually saved in the wav folder in the demo, and NOT stored in the ds file, even though they are listed in the header of the ds file.
It's not a very difficult algorithm, but it's not straightforward. The "data" part of each wave file is stored one after the other, they stripped the headers of each wave file and stored the "WAVEfmt " headers in a separate table. THen there's the problem of the "fact" header in a wave file. They do not store this info in the table, so I had some default values. The extractor puts everything back together to a single .wav file.
Just open a .wav file with a hex editor and you can see each field in the wav header. (i.e. "RIFF", "WAVEfmt ", "fact" and "data").
I know this thread was forever ago, but I've been looking for something like this off-and-on (not hard enough obviously) for a long time and only now have found it.
Just want to chime in that it's great to get those sound effects extracted and saved me lots of work trying to figure it out myself!
Hi. I made an account just so I could get the extractor, and it worked! Thank you so much. I was having so much trouble trying to find a way to extract the sounds. I tried a couple of game extraction programs, but none of them seemed to find anything.
How were you able to create an extractor? I tried opening up the .ds file with a hex editor, and I saw what you meant about the file names, but I didn't see any other way of extracting the sound files.
Thank you Mr. Mouse for the extractor.
Has anyone been able to find the weapon sound files?
In the "Data" folder WeapDef.dat file, references are made to Wav files such as "weapon_select_small.wav" but I can not seem to find these.
Just to maintain the rythm of thanks, once per year or so ^^... I've been working on a huge improvement mod for a year or so and that tool helped quite a bit. Thanks a lot !
Tombo wrote: ↑Thu Aug 20, 2020 11:36 am
Thank you Mr. Mouse for the extractor.
Has anyone been able to find the weapon sound files?
In the "Data" folder WeapDef.dat file, references are made to Wav files such as "weapon_select_small.wav" but I can not seem to find these.
They're in the wh40k.ds file. Every sound file can be found either in that one or in the Wave folder.