OST songs from UPK files.

Romy

Well-Known Member
Messages
172
Points
230
Does someone know which upk files are containing songs from the game? I want to extract some battle themes which are not in the OST album. Thanks in advance.
 
  • Like
Reactions: Ash

Havoc

Well-Known Member
Messages
19
Points
1,085
There are many people who extracted the audio but nobody explained where are the files and how to extract them.

At this time, I know it requires this programs : umodel, ww2ogg & revorb
 
Last edited:

Havoc

Well-Known Member
Messages
19
Points
1,085
Finally I found, it requires :

QuickBMS : http://aluigi.altervista.org/quickbms.htm
Wavscanner BMS script : http://forum.xentax.com/viewtopic.php?f=13&p=74664#p74664


This program will extract WAV files from APK file ( Main_PC.apk for example ) , these files are unusable you convert them in OGG files.

Then use ww2ogg commandline : ww2ogg --pcb packed_codebooks_aoTuV_603.bin <input.wav>

ww2ogg : http://hcs64.com/files/ww2ogg019.zip

And use the revorb commandline in order to fix the OGG files : revorb <input.ogg> <output.ogg>

revorb : http://yirkha.fud.cz/progs/foobar2000/revorb.exe
 
Last edited:

Romy

Well-Known Member
Messages
172
Points
230
Thanks, I'll try.

Edit: A bit too complex for me. The command for converting the wav to ogg doesn't work.
 
Last edited:

Havoc

Well-Known Member
Messages
19
Points
1,085
In my case, I extracted WAV files in an AUDIO subfolder of ww2ogg folder
(both ww2ogg and revorb are put in the same folder)

I run my Batch script : ww2ogg.bat

Code:
FOR /R "<fullpath>\AUDIO" %%A IN (*.wav) DO (
Pushd "%%~pA"
"<fullpath>\ww2ogg.exe" --pcb "<fullpath>\packed_codebooks_aoTuV_603.bin" "%%A"
Popd )
pause
It's a loop in AUDIO folder and subfolders, replace <fullpath> by the program path

Here my Batch script : revorb.bat

Code:
FOR /R "<fullpath>\AUDIO" %%A IN (*.ogg) DO (
Pushd "%%~pA"
"<fullpath>\revorb.exe" "%%A" "%%~pnA_FIXED.ogg"
Popd )
pause
It create a new OGG file with the name "<input name>_FIXED.ogg" , now you can listen them in VLC player
 
Last edited:
  • Like
Reactions: Ash
Top