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 2 Vista Forum (Bungie/Microsoft) »Halo 2 Vista General Discussion »PorkChop Sound Compiler

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

DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: Jun 3, 2019 06:36 AM    Msg. 1 of 1       



Download


I've updated PorkChop to now be compatible with the Halo 2 Vista format Sound and Sound Looping tags. For Halo 2, the only encoding format the game accepts is the Xbox ADPCM encoding. I've included with the PorkChop program a zip file containing a version of the codec that can be installed to modern 32 or 64-bit Operating Systems. You MUST install the Xbox codec in order to compile sound tags for Halo 2. You may choose to compile to either the Xbox or OGG format for Halo Custom Edition.

PorkChop takes an entire directory of MP3 or WAV files and batch compiles them into working .Sound tags for either Halo Custom Edition or Halo 2. There are two additional tools. The first will batch compile Sound Looping tags based on a directory of .sound tags located within a user's TAGS folder for either Custom Edition or Halo 2. The other will take a directory of sound_looping tags and write an .HSC script to play them as music:


Example Script;


(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" )
)
)
)




Halo 2 does not accept OGG formatted .Sound tags, and as such when exporting to Halo 2's sound format you will be unable to select that as an option. Users MUST select a TAGS folder for both Halo Custom Edition and Halo 2. If a user does not have an installation of either game, they can select any folder or directory they would like and it will not affect compilation for the game version that they do have.

 

 
Previous Older Thread    Next newer Thread







Time: Fri December 13, 2019 10:33 AM 187 ms.
A Halo Maps Website