So, I'll hijack this topic as it is relevant.
http://www.ficedula.co.uk/voices/Ultrasound_0_20.zipSame procedure as before: download, unzip, edit .config file to set up paths, go.
The audio\Ultrasound.xml file controls replacement sounds. If you list a sound ID in here, it's replaced; if you don't, FF7 plays it as per normal. As the file shows, you can list multiple files to replace an ID with, and then set what method the program uses to choose between them:
- Sequential: Cycles through the list in order (first time that ID is played, uses file 1, next time, uses file 2, ...
- Random: Picks a file at random each time
- Shuffle: Like random, but will play every file once before repeating a file (like shuffling a playlist)
I've coded the ability to restrict sounds based on FieldID and PPV, but that's not tested yet. This is definitely a
beta that's not ready for wide use: the latency is bad, I suspect it only supports 44100Hz audio files (although should work with both MP3 & WAV), and so on. But it's ready for modders to try it and tell me what additional options it needs, I guess?
(Right now it intercepts
most sounds in the game: sounds in the field, menu, and battle all seem to get captured. A few don't - like the battle swirl sound? I'm not sure why, that must get handled differently by FF7.)
Cheers
EDIT: FieldID and PPV filters seem to work; the syntax is;
<Sound FieldIDs="194,195,196" PPVs="0,191">ultrasound\blip1.mp3</Sound>
If set, the file only triggers when the FieldID and/or PPV value matches those listed.