Jump to content

Outrun 2 (2006) (PC) - PAK Audio Archives


Habanero

Recommended Posts

  • ikskoks changed the title to Outrun 2 (2006) (PC) - PAK Audio Archives
  • 2 weeks later...

Used this piece of quickBMS-code on couple of archives - extracts wave-data without header since the only data provided in archives are ID and size, nothing more.

Wave-data seem to be 16bit PCM but it can have different kHz - sometimes 11025, sometimes 44100, at least in archives I encountered with.

Maybe data for kHz is stored somewhere else.

 

get PAKSIZE asize
get ARCHNAME basename


do

get ID long
get SIZE long
savepos OFFSET
string NAME p "%s_%d" ARCHNAME ID

if SIZE != 0xFFFFFFFF
	log NAME OFFSET SIZE
endif

math OFFSET += SIZE
goto OFFSET

while SIZE != 0xFFFFFFFF

 

Edited by fignyafsyakaya
Link to comment
Share on other sites

Posted (edited)

Yes, apparently the game itself pitch shifts the wavs (the extracted audio sounds deeper than the in-game voices). If you import the PAK files into Audacity as raw data, you can listen to them there as well (in the wrong pitch). I'm uploading all the PAK archives to the MEGA folder if you need more samples to play with.

Edited by Habanero
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...