PorkChop is a replacement for
this program here. It utilizes some of the programs included in that download.
What it does is take a directory full of sound files (MP3s for example), and converts them into sound tags using various converter programs included within. The original program linked above created a .BAT file with the sound file listed and ran 3 command line programs from that, which left you with tons of CMD windows and left you compiling one MP3 at a time. This instead will run through an entire directory and any subdirectories, and compile all the files into .sound tags with the settings you select. The command line programs will run in the background instead of popping all over your screen.
You can then copy the compiled tags to whatever Directory you want to put them into and reference them from there. Video tutorial below;
The most recent updates include a tool to compile .Sound tags into .Sound_Looping tags, and a tool to create a .HSC script to playback all the sound_looping files inside a directory. There is an engine limit of 256 on tag references in the scenario file, which this tool will warn you of if you try to create a script with more than that many sound_looping tags. It will still create the script but this will not be usable. Additionally, if any other tag references for scripts are being used this will count against the engine limit of 256. An example of the hsc script the program compiles:
(global short songID 0)
(script static void STARTSONG
(cond
((= 0 songID)
(sound_looping_start "newmombasa\music\loops\sonic\test\2_Player_Results" none 1)
)
((= 1 songID)
(sound_looping_start "newmombasa\music\loops\sonic\test\Angel_Island_Zone_Act_1" none 1)
)
((= 2 songID)
(sound_looping_start "newmombasa\music\loops\sonic\test\Angel_Island_Zone_Act_2" none 1)
)
((= 3 songID)
(sound_looping_start "newmombasa\music\loops\sonic\test\Aquatic_Ruin_Zone" none 1)
)
)
)
(script static void STOPSONG
(cond
((= 0 songID)
(sound_looping_stop "newmombasa\music\loops\sonic\test\2_Player_Results" )
)
((= 1 songID)
(sound_looping_stop "newmombasa\music\loops\sonic\test\Angel_Island_Zone_Act_1" )
)
((= 2 songID)
(sound_looping_stop "newmombasa\music\loops\sonic\test\Angel_Island_Zone_Act_2" )
)
((= 3 songID)
(sound_looping_stop "newmombasa\music\loops\sonic\test\Aquatic_Ruin_Zone" )
)
)
)
A script would set the songID of the song they wish to play, and then run the static script STARTSONG to begin playing, and STOPSONG to end. With these tools, a user can get full directories of MP3s or WAVs into their maps in a matter of minutes.
Download

Tutorial / Demo
While it's running, it's best to watch a video or listen to some music. There's 3-4 programs running in the background, and sometimes a key-input at the wrong time will interrupt one of them. Better to watch a video and wait for it to complete, then continue from there.
Huge thanks to Yumi for rewriting the batch instructions and helping figure out issues, as well as whoever wrote the conv.exe, convCODEC.exe and premu.exe from the original link.
SourceEdited by DeadHamster on May 31, 2019 at 06:05 PMEdited by DeadHamster on Jun 2, 2019 at 02:15 AM