A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »PorkChop

Author Topic: PorkChop (5 messages, Page 1 of 1)
Moderators: Dennis

DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: May 30, 2019 03:07 AM    Msg. 1 of 5       
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.





Source





Edited by DeadHamster on May 31, 2019 at 06:05 PM
Edited by DeadHamster on Jun 2, 2019 at 02:15 AM


Banshee64
Joined: Dec 4, 2012

oify


Posted: May 30, 2019 01:34 PM    Msg. 2 of 5       
This is an alternative to compiling sounds with tool?
Does it work better/have more features than stock tool or is it just easier to use?


DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: May 30, 2019 03:09 PM    Msg. 3 of 5       
Nope, it uses tool to compile. The benefit here is it does a batch process of converting/splitting an entire directory of sound files into the format Tool requires, and then edits the sound tags afterwards to properly setup the sound permutations for playback.


If you only have 2-3 sounds its not entirely helpful, but if you wanted to convert, say, 342 MP3s into .sound tags, this would be nice.



Edited by DeadHamster on May 30, 2019 at 08:36 PM


The Gravemind
Joined: Jul 26, 2016

I Am The Monument To All Your Sins


Posted: May 30, 2019 07:15 PM    Msg. 4 of 5       
This would have been so helpful about a month ago. Well now I can at least finish up those other dialogues faster.


DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: May 30, 2019 08:35 PM    Msg. 5 of 5       
Updated OP with new version. Huge thanks again to Yumi for re-writing the converting and compiling processes to run in parallel. GREATLY speeds up the compilation process. I also updated the tag editing process to set the sound type as either gunfire or music.

Edit:
Another update adds a Tool called Sound Looper that will batch create Sound Looping tags from a directory of Sound tags located inside your TAGS folder.


Edited by DeadHamster on May 31, 2019 at 06:07 PM



Edit:


Next update adds a tool to automates the .HSC script creation, so you can go from MP3s to playing the songs in your map within minutes.
Edited by DeadHamster on Jun 2, 2019 at 02:17 AM

 

 
Previous Older Thread    Next newer Thread







Time: Sat December 7, 2019 8:52 AM 453 ms.
A Halo Maps Website