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.

Hot Shots Golf 3 (PS2) - Compressed .xb file

Featured Replies

  • Author
  • Localization

BloodRaynare, posted Thu Jan 13, 2022 1:27 am (69040)


Long short story, someone at PS2 subreddit asked for help to rip the "Hole out" jingle sfx out from this game. So I volunteered to help, however I kinda stumped too as I have no idea what the compression algorithm these files uses. From looking the files in hex editor, it might be zlib at first glance, as indicated at the start of the file, but tools like offzip fails to recognize it.

Here's the link if someone wants to take a shot at it.

https://www.mediafire.com/file/id9hjd26 ... D.rar/file
  • Author
  • Localization

AlphaTwentyThree, posted Thu Jan 13, 2022 6:55 am (69049)


Some other compression method. Haven't been able to find out where the compressed data starts, the decompressed size is saved inside the header. This is the data we have to work with:
Code:
idstring "xe"
get VER short
get UNK1 long
get UNK2 long
grz UNK3 long
get ZSIZE long
get UNK4 long
get UNK5 long
get OFF long # always 0x44?
get UNK7 long # always 0x34?
get UNK8 threebyte
savepos MYOFF
math OFF -= 1
goto OFF
get NAMEL byte
goto MYOFF
getDstrig NAME NAMEL

Now we need to figure out the starting offset and the compression method.
Eventually UNK7 is some other data after the header, so the compression would start at 0x44 0x34 = 0x78?
Guest
This topic is now closed to further replies.

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.