Decompiling the music

Discuss your new mods and themes here

Moderator: Defcon moderators

yookaloco
level0
Posts: 1
Joined: Wed Oct 11, 2006 5:04 pm

Decompiling the music

Postby yookaloco » Wed Oct 11, 2006 5:09 pm

The music to this game is incredible. I want to "liberate it" from this game, so that I may listen to it as I play other games. I'm assuming it is all thrown into that huge dat file.... I think sound.dat. Any of you modders been decompiling it? I'm fairly tech saavy for a gamer, so I don't mind drawn of explanations, or just links to places I can get, or read up on what I need.

Thanx.
User avatar
GeneticFreak
level3
level3
Posts: 325
Joined: Sat Sep 30, 2006 2:43 pm
Location: Indonesia
Contact:

Postby GeneticFreak » Wed Oct 11, 2006 5:16 pm

Blessed be the LORD my strength which teacheth my hands to war and my fingers to fight
User avatar
Boomsling
level1
level1
Posts: 43
Joined: Thu Apr 10, 2003 2:57 pm
Location: 127.0.0.1

Postby Boomsling » Wed Oct 11, 2006 5:27 pm

Allow me to elaborate further...

Get winRAR,
click on the soundfile in the defcon folder,
click 'open with' choose winRAR and it will let you extract them as ogg files,
you can get a .ogg decoder for WMP from http://www.vorbis.com/setup_windows/
Image
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Oct 11, 2006 5:32 pm

In your Defcon directory, you should notice a file called sounds.dat. Copy that file to some other location, then change its extension from sounds.dat to sounds.rar (you may have to show extensions to do this -- from a Windows Explorer window, click on "Tools" -> "Folder Options..." and, under the view tab, make sure that "Hide extensions for known file types" is unchecked). Then, use WinRAR to extract the archive. A new folder called "data/" should be created. All of the sounds used in Defcon are in that folder, including the music.

xander
User avatar
TheHappyFriar
level2
level2
Posts: 236
Joined: Sun Mar 05, 2006 7:59 pm
Location: upper left

Postby TheHappyFriar » Wed Oct 11, 2006 6:10 pm

Boomsling wrote:you can get a .ogg decoder for WMP from http://www.vorbis.com/setup_windows/


or use winamp (you do have winamp, right?) :)

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 2 guests