Well to start off, you need to extract the game’s files.
I’ll be talking about HITMAN 2 since there’s no known ways to extract HITMAN III’s files currently.
The way I did it was by using QuickBMS and using a script called “Hitman2_rpkg.bms”.
If you search “hitman 2 quickbms”, you may find that script that you can download.
Once you have these two things downloaded, run QuickBMS and do what it asks you:
Select BMS script, select input (RPKG) archives/files and then select output folder.
Wait until the program finishes extracting. Afterwards, you got a chunk or patch of the game extracted.
The output folder should be full of folders like “GFXI”, “TEXD”, “WWEM”, etc.
I believe WWEM is where the audio files are located.
You need to use something like ww2ogg to convert them into a playable format.
I can’t remember how I used it exactly but looking back at my old Steam Discussions posts regarding HITMAN modding, I think I used a “Runner.bat” file that contains the following code for converting all audio files:
FOR %%i in (.wav) do ww2ogg %%i --pcb packed_codebooks_aoTuV_603.bin*
If you view the linked Steam thread, the extracted filenames were different because of a different QuickBMS script for HITMAN 2016. Back then, I just want to rip the game’s in-game music, not mod them.