Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

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

Featured Replies

  • 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

  • Author

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.