A question and a request. - by Fallen+Keeper
SneaksieDave on 25/4/2005 at 20:07
Oh, no I mean by simply dropping the needed raw sound files into the right paths. I've already done it for a few things (the eye zoom, old loot chime sound to name two). I won't be touching metafiles - too big.
Hrm. Which of course requires(?) a bit of hex editing. :erg: I don't really see another option. If we can't force it to keep schemas and the sounds in the IBT (does anyone know that it doesn't do that for sure?), and if we can't make custom metafiles (ditto?), then what other choice is there? No one's going to download a 300Mb file for each mission.
rujuro on 25/4/2005 at 22:12
You can play custom schemas in the game without rebuilding the metafiles (as long as you use the executable that came with the editor), you just can't use them as a streaming ambient. Just replacing the wav file won't work in this case either. The executable only looks at the sound files stored in the metafile when it comes to streaming ambients (the kind you place in zone properties actors).
Crispy on 26/4/2005 at 11:54
I don't know anything about the format, but it should be possible to reverse-engineer it to the point where a parser can be written to replace files. That really depends how complex the format is, though.
OrbWeaver on 26/4/2005 at 18:09
Quote Posted by Crispy
I don't know anything about the format, but it should be possible to reverse-engineer it to the point where a parser can be written to replace files. That really depends how complex the format is, though.
The format is fairly simple, although not all that conducive to in-place modification. I was working on a tool to dump a metafile into individual schemas, but this would only duplicate functionality already available in Sound Drone.
I will investigate what it would take to make a tool to add/remove schemas from the metafile - almost certainly this would require internally deconstructing and re-compiling the metafile, but this is presumably no more than what WinZip is doing when you add or remove files from certain types of archives, so it ought to be achievable.