SOUNDCLEAN is a very narrowly-focused script, and contains all its activity to making sound.ini neat and tidy, with a proper list. It has no fancy log output or messages, since it doesn't check for errors, or any dependencies, and only organizes the contents.
To this end, it gives you a few options, to re-index the declarations starting at 0, and various sortation options for sound objects in the declaration list. When these options are enabled, the list will start at 0, have every sound alphabetically organized, with ambient sounds (_amb_xxxxxx) placed first, very useful when adding ambient sounds to maps with FA2, followed by the sound objects themselves written in the same sequence as the list, that is alphabetically. Assuming every sound for a given unit or category is named similarly, they will end up grouped together for easier editing.
Previous versions didn't allow automatically overwriting the existing sound.ini and instead created a new sound(NEW).ini in parallel, requiring one extra step to use it, or alternately copy just the list back to the original. It wasn't clear if there might be any side effects of thoroughly re-organizing the ini, but tests have shown it has no effect on the game. The latest update has an 'enablebackup' option just like AICLEAN, which will rename the existing sound.ini before making a new one of the same name.
As always the sndclean.tcl will have to be edited to set filenames and path.
- speeds up loading sound.ini
- removes "random" from sound objects with only 1 wave
- now sorts everything starting with underline (not just _amb_*) to the front, so if you have other general sound types, they could be named distinctly
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum