READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

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 » Tue Jan 09, 2007 12:39 am

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 » Wed Jan 10, 2007 6:41 pm

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...

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Wed Jan 10, 2007 10:46 pm

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 » Thu Jan 11, 2007 12:34 am

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?

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Thu Jan 11, 2007 7:32 am

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 » Thu Jan 11, 2007 7:06 pm

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 » Tue Dec 11, 2007 1:27 pm

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

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Tue Dec 11, 2007 1:32 pm

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 » Tue Dec 11, 2007 10:09 pm

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 » Fri Sep 28, 2018 9:17 pm

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 » Sat Jan 05, 2019 5:29 am

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.

Post Reply