Posted: Fri May 26, 2023 7:00 pm Post subject:
SOUNDCHECK - a script to check for mistakes related to sounds in rules/art/sound.ini
Subject description: (also scans audio.idx for the presence of the actual sound files)
SOUNDCHECK is somewhat of a specialist in finding any sort of common errors related to the creation or usage of sound objects in RA2 mods. Any warnings or errors it finds are logged to checksnd.log and broken down into sections, clarifying in which ini any given errors reside.
It does only minimal skimming of rules.ini and art.ini looking for sound objects being used by things like animations or weapons. It then cross-checks anything referenced against what's defined in sound.ini, to identify missing or misspelled sound objects. The script will also conveniently list unused sound objects found in sound.ini, which by itself can also reveal spelling mistakes, when you know it should have been used by something, but can also be a great overview of what work needs to be completed on the mod.
Lastly checks that the sounds actually exist in audio.idx, helping find orphaned audio files that can be deleted from audio.bag, or any missing audio preventing sounds from working correctly. Strictly speaking audio.idx (unlike the required inis) is not required for the script to run, it will just lack the ability to verify the audio files (resources) match the needs of the sound objects.
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