Posted November 20, 2021
After Setting Up Hexen 2 and Portal of Praevus in Hammer of Thyrion, follow the instructions below to configure their respective games' music:
1) In your Hammer of Thyrion source port's data1 folder, create a subfolder called music and open the new subfolder if that subfolder does not already exist.
2) Open your Hexen II GOG installation's music folder and copy the audio files track02.ogg through track17.ogg into the new subfolder listed in step 1. Be aware that that there is no track01.ogg file and the game's music starts with track02.ogg.
* Note: If you happen to run into an issue where OGG files crash windows explorer, follow either of the methods listed there in order to fix it.
OR
* Alternatively, the audio files track02.ogg through track17.ogg can also be found and then extracted from the Hexen II GOG offline backup game installer's music folder without installing the game. You can extract all sixteen audio files from the Hexen II GOG offline backup game installer by using the Windows and Linux commandline tool Inno Extract with the following syntax, pressing enter after you type the command:
inno-extract -I music\track02.ogg \path\to\gog-hexen-ii-offline-installer
(Linux users must use forward slashes, instead of backslashes).
* After extracting track02.ogg, replace track02.ogg in the above command with each subsequent file until you have extracted all sixteen audio files. Place those .ogg files in data1's music subfolder. Be aware that that there is no track01.ogg file and the game's music starts with track02.ogg.
* Please note the above commandline parameter's letter is the upper-case letter I, which stands for the word Include. For further information, read the Inno-Extract Man Page.
* Unfortunately, Inno-extract does not allow you to just use track*.ogg as it does not support file globbing. You will have to run the command once for each file.
* Note: If you happen to run into an issue where OGG files crash windows explorer, follow either of the methods listed in order to fix it.
3) In the Hammer of Thyrion source port's Game's Options Menu, make sure that the selected music type is "all codecs", then exit the program and proceed to step 4.
4) In your Hammer of Thyrion's music folder, rename your audio files as specified in the http://uhexen2.sourceforge.net/music.html page. In Windows or via an equivalent desktop environment in Linux, right click on one of the the .ogg audio files, scroll down to Rename and left-click it, then rename your file according to the filename list below.
For example, track02.ogg becomes casa1.ogg, etc.
track02 -> casa1
track03 -> casa2
track04 -> casa3
track05 -> casa4
track06 -> egyp1
track07 -> egyp2
track08 -> egyp3
track09 -> meso1
track10 -> meso2
track11 -> meso3
track12 -> roma1
track13 -> roma2
track14 -> roma3
track15 -> casb1
track16 -> casb2
track17 -> casb3
* Renaming the audio files can also be done by opening Hammer of Thyrion's music folder in the command prompt (CMD, Powershell, or Linux Bash prompt) and then running your respective operating system's command for renaming files for each file listed above.
* If you are using Windows CMD:
ren track02.ogg casa1.ogg
* If you are using Windows Powershell:
rename-item track02.ogg casa1.ogg
* If you are using the Linux Bash prompt:
mv track02.ogg casa1.ogg
5) After renaming the files as above, double-click glh2.exe to play Hexen 2.
---------
Configuring Portal of Praevus' Music in the Hammer of Thyrion Source Port
1) For Portal of Praevus's music, in your Hammer of Thyrion's portals folder, create a subfolder called music if that subfolder does not already exist.
2) Using any CD / audio ripping program, rip the audio files from your Portal of Praevus physical CD in .ogg format and copy them into this new subfolder. Make sure the tracks are named trackxx.ogg, where xx equals track number. Again, there is no track01.ogg file and the game's music starts with track02.ogg.
3) In the Hammer of Thyrion source port's Game's Options Menu, make sure that the selected music type is "all codecs", then exit the program and proceed to step 4.
4) Rename your trackxx.ogg audio files as specified in the http://uhexen2.sourceforge.net/music.html page.
For example, track02.ogg becomes tulku7.ogg, etc.
track02 -> tulku7
track03 -> tulku1
track04 -> tulku4
track05 -> tulku2
track06 -> tulku9
track07 -> tulku10
track08 -> tulku6
track09 -> tulku5
track10 -> tulku8
track11 -> tulku3
(track12 won't match to anything, leave as is)
* Renaming the audio files can also be accomplished by opening Hammer of Thyrion's portals music folder in the command prompt (CMD, Powershell, or Linux Bash prompt) and then running your respective operating system's command for renaming files for each file listed above.
* If you are using Windows CMD:
ren track02.ogg tulku7.ogg
* If you are using Windows Powershell:
rename-item track02.ogg tulku7.ogg
* If you are using the Linux Bash prompt:
mv track02.ogg tulku7.ogg
5) After renaming the files as above, double-click your Portal of Praevus shortcut and select New Game to play Portal of Praevus.
For further information on Hammer of Thyrion, read the Hammer of Thyrion Readme and Hammer of Thyrion Music Configuration Readme pages.
1) In your Hammer of Thyrion source port's data1 folder, create a subfolder called music and open the new subfolder if that subfolder does not already exist.
2) Open your Hexen II GOG installation's music folder and copy the audio files track02.ogg through track17.ogg into the new subfolder listed in step 1. Be aware that that there is no track01.ogg file and the game's music starts with track02.ogg.
* Note: If you happen to run into an issue where OGG files crash windows explorer, follow either of the methods listed there in order to fix it.
OR
* Alternatively, the audio files track02.ogg through track17.ogg can also be found and then extracted from the Hexen II GOG offline backup game installer's music folder without installing the game. You can extract all sixteen audio files from the Hexen II GOG offline backup game installer by using the Windows and Linux commandline tool Inno Extract with the following syntax, pressing enter after you type the command:
inno-extract -I music\track02.ogg \path\to\gog-hexen-ii-offline-installer
(Linux users must use forward slashes, instead of backslashes).
* After extracting track02.ogg, replace track02.ogg in the above command with each subsequent file until you have extracted all sixteen audio files. Place those .ogg files in data1's music subfolder. Be aware that that there is no track01.ogg file and the game's music starts with track02.ogg.
* Please note the above commandline parameter's letter is the upper-case letter I, which stands for the word Include. For further information, read the Inno-Extract Man Page.
* Unfortunately, Inno-extract does not allow you to just use track*.ogg as it does not support file globbing. You will have to run the command once for each file.
* Note: If you happen to run into an issue where OGG files crash windows explorer, follow either of the methods listed in order to fix it.
3) In the Hammer of Thyrion source port's Game's Options Menu, make sure that the selected music type is "all codecs", then exit the program and proceed to step 4.
4) In your Hammer of Thyrion's music folder, rename your audio files as specified in the http://uhexen2.sourceforge.net/music.html page. In Windows or via an equivalent desktop environment in Linux, right click on one of the the .ogg audio files, scroll down to Rename and left-click it, then rename your file according to the filename list below.
For example, track02.ogg becomes casa1.ogg, etc.
track02 -> casa1
track03 -> casa2
track04 -> casa3
track05 -> casa4
track06 -> egyp1
track07 -> egyp2
track08 -> egyp3
track09 -> meso1
track10 -> meso2
track11 -> meso3
track12 -> roma1
track13 -> roma2
track14 -> roma3
track15 -> casb1
track16 -> casb2
track17 -> casb3
* Renaming the audio files can also be done by opening Hammer of Thyrion's music folder in the command prompt (CMD, Powershell, or Linux Bash prompt) and then running your respective operating system's command for renaming files for each file listed above.
* If you are using Windows CMD:
ren track02.ogg casa1.ogg
* If you are using Windows Powershell:
rename-item track02.ogg casa1.ogg
* If you are using the Linux Bash prompt:
mv track02.ogg casa1.ogg
5) After renaming the files as above, double-click glh2.exe to play Hexen 2.
---------
Configuring Portal of Praevus' Music in the Hammer of Thyrion Source Port
1) For Portal of Praevus's music, in your Hammer of Thyrion's portals folder, create a subfolder called music if that subfolder does not already exist.
2) Using any CD / audio ripping program, rip the audio files from your Portal of Praevus physical CD in .ogg format and copy them into this new subfolder. Make sure the tracks are named trackxx.ogg, where xx equals track number. Again, there is no track01.ogg file and the game's music starts with track02.ogg.
3) In the Hammer of Thyrion source port's Game's Options Menu, make sure that the selected music type is "all codecs", then exit the program and proceed to step 4.
4) Rename your trackxx.ogg audio files as specified in the http://uhexen2.sourceforge.net/music.html page.
For example, track02.ogg becomes tulku7.ogg, etc.
track02 -> tulku7
track03 -> tulku1
track04 -> tulku4
track05 -> tulku2
track06 -> tulku9
track07 -> tulku10
track08 -> tulku6
track09 -> tulku5
track10 -> tulku8
track11 -> tulku3
(track12 won't match to anything, leave as is)
* Renaming the audio files can also be accomplished by opening Hammer of Thyrion's portals music folder in the command prompt (CMD, Powershell, or Linux Bash prompt) and then running your respective operating system's command for renaming files for each file listed above.
* If you are using Windows CMD:
ren track02.ogg tulku7.ogg
* If you are using Windows Powershell:
rename-item track02.ogg tulku7.ogg
* If you are using the Linux Bash prompt:
mv track02.ogg tulku7.ogg
5) After renaming the files as above, double-click your Portal of Praevus shortcut and select New Game to play Portal of Praevus.
For further information on Hammer of Thyrion, read the Hammer of Thyrion Readme and Hammer of Thyrion Music Configuration Readme pages.
Post edited November 21, 2021 by TheBigCore