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.

Tantalus Interactive "PACK" sections

Featured Replies

  • Author
  • Localization

BLiNX Person, posted Tue Jan 03, 2023 11:40 pm (74852)


I've been trying to figure out what compression algorithm is used in Tantalus Interactive's GBA games for a while now. Main reason is because these games have some 3D assets (CRIS engine) and textures that I'd like to rip. I can obtain the models from RAM as the games run, but the textures aren't as easily accessed outside of a few games that didn't have them compressed. Here's what the first 8 bytes do:
- "PACK" and "PKDW" tell the game what kind of section it's about to read
- The 4 byte integer is the length of the section (applies to every kind of section in the RBH files they came from)
  • Author
  • Localization

lvlrk, posted Mon Mar 06, 2023 2:34 am (75702)


Code:
# Tantalus Interactive .PACK .PKDW files extractor
# by lvlrk v1.0

endian little

getdstring SIGN 4
if SIGN == "PACK" || SIGN == "PKDW"
   get ZSIZE long
   xmath SIZE "SIZE = ZSIZE * 8"

   get NAME basename
   string NAME = ".opk" # Output PacK

   comtype lzss0

   clog NAME 8 ZSIZE SIZE
endif


will decompress .PACK or .PKDW files
uncompressed data looks like junk though :?
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.