sleighr
12-13-2004, 03:51
I've been doing a little investigating into the unit sound files and I think I may have found the key to assigning sounds to new units.
The secret, I believe, is the events.dat file in the data/sounds folder.
Opening the other DAT files in the Sound folder with WordPad seems to be a lost cause; either the files are too big for the program or just untranslatable, and looking through them with a hex editor gave up nothing useful.
However, in the events.dat file you have a complete listing of every original unit in the game and every sound assigned to them!
Unfortunately, I have very little knowledge of editing hex code, but it seems to me to be a simple cut-and-paste job to add new units using existing sounds, and maybe even adding new sounds by removing/renaming the events.idx file (like you do with the music.idx, which causes the game to look for the file and is useful for adding or removing music from the game's playlist) and just modifying the DAT file.
The only thing keeping me from experimenting with this is the fact I don't know where each file begins and ends in the hex editor. In WordPad it's obvious, but you can't cut and paste in it.
Is there anyone here who can help me confirm my suspicions? :book:
The secret, I believe, is the events.dat file in the data/sounds folder.
Opening the other DAT files in the Sound folder with WordPad seems to be a lost cause; either the files are too big for the program or just untranslatable, and looking through them with a hex editor gave up nothing useful.
However, in the events.dat file you have a complete listing of every original unit in the game and every sound assigned to them!
Unfortunately, I have very little knowledge of editing hex code, but it seems to me to be a simple cut-and-paste job to add new units using existing sounds, and maybe even adding new sounds by removing/renaming the events.idx file (like you do with the music.idx, which causes the game to look for the file and is useful for adding or removing music from the game's playlist) and just modifying the DAT file.
The only thing keeping me from experimenting with this is the fact I don't know where each file begins and ends in the hex editor. In WordPad it's obvious, but you can't cut and paste in it.
Is there anyone here who can help me confirm my suspicions? :book: