Help us keep the site up! Got some change to spare? Why not donate a few bits and buy us a coffee. Image

WARHAMMER 40 000 : CHAOS GATE *.DS File (Sounds archive!)

Old posts about game archives and other formats.
Post Reply
Yarost
ultra-n00b
Posts: 4
Joined: Mon Jan 08, 2007 11:57 pm

WARHAMMER 40 000 : CHAOS GATE *.DS File (Sounds archive!)

Post by Yarost »

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 :

http://www.fileplanet.com/11574/10000/f ... Chaos-Gate
Yarost
ultra-n00b
Posts: 4
Joined: Mon Jan 08, 2007 11:57 pm

Post by Yarost »

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...
Mr.Mouse
Site Admin
Posts: 4057
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 432 times
Been thanked: 639 times
Contact:

Post by Mr.Mouse »

Allright, I've cocked up a simple extractor for ya.

Run it in command line:

Code: Select all

dsex <sourcefile> <destination folder>
Worked on the demo .DS file in the sounds dir.
You do not have the required permissions to view the files attached to this post.
Yarost
ultra-n00b
Posts: 4
Joined: Mon Jan 08, 2007 11:57 pm

Post by Yarost »

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?
Mr.Mouse
Site Admin
Posts: 4057
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 432 times
Been thanked: 639 times
Contact:

Post by Mr.Mouse »

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").
Yarost
ultra-n00b
Posts: 4
Joined: Mon Jan 08, 2007 11:57 pm

Post by Yarost »

All right,
thanx again for all the help ! You guys rock ! :)
Edvinke
n00b
Posts: 13
Joined: Tue Dec 11, 2007 10:02 am
Has thanked: 2 times

Post by Edvinke »

hi folks,

im new here, can you help me to find out, how to download dsex.exe?
is there a link somewhere here at all?

cheers,
edvin
Mr.Mouse
Site Admin
Posts: 4057
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 432 times
Been thanked: 639 times
Contact:

Post by Mr.Mouse »

Edvinke wrote:hi folks,

im new here, can you help me to find out, how to download dsex.exe?
is there a link somewhere here at all?

cheers,
edvin
Yes, scroll up to my post. You'll find a download link there. It's invisible to unregistered users. Now that you've registered, you can find it there!
Edvinke
n00b
Posts: 13
Joined: Tue Dec 11, 2007 10:02 am
Has thanked: 2 times

Post by Edvinke »

thanks mate, that was a handy tool!
cheers,
edvin
ice99
ultra-n00b
Posts: 1
Joined: Fri Sep 28, 2018 6:10 pm
Has thanked: 1 time

Re: WARHAMMER 40 000 : CHAOS GATE *.DS File (Sounds archive!

Post by ice99 »

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!
MSDemon
ultra-n00b
Posts: 1
Joined: Sat Jan 05, 2019 4:56 am

Re: WARHAMMER 40 000 : CHAOS GATE *.DS File (Sounds archive!

Post by MSDemon »

Mr.Mouse wrote:Allright, I've cocked up a simple extractor for ya.



Run it in command line:


Code: Select all

dsex <sourcefile> <destination folder>


Worked on the demo .DS file in the sounds dir.
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.
Tombo
ultra-n00b
Posts: 1
Joined: Thu Aug 20, 2020 10:13 am

Re: WARHAMMER 40 000 : CHAOS GATE *.DS File (Sounds archive!)

Post by Tombo »

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.
BenjaminK
ultra-n00b
Posts: 1
Joined: Thu Sep 29, 2022 3:22 pm
Has thanked: 1 time

Re: WARHAMMER 40 000 : CHAOS GATE *.DS File (Sounds archive!)

Post by BenjaminK »

Hello there !

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.

Cheers,
BenjaminK
Post Reply