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.

Taiko no Tatsujin Portable *.don/.kat

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed Jun 15, 2022 4:21 pm (72099)


Hey folks,

I've been taking a look at these archives for quite a while now. There are some gzipped files inside but they only reach to a certain point and there's lots of residual data after the compressed portion.
First of all, an example: https://www.mediafire.com/file/3gh4x8n8 ... tp.7z/file

This is my script:
Code:
comtype gzip

idstring PACK
get HSIZE long
savepos MYOFF
math MYOFF = HSIZE
goto MYOFF
idstring PACK
get FILES long

for i = 0 < FILES
   get OFFSET long
   math OFFSET = 0x40
   get SIZE long
   savepos MYOFF
   if i == 0
      xmath GO "OFFSET SIZE - 0xc" # only name file
      goto GO
      get FNAME string
      string NAME p "%s.hd" FNAME
      log NAME OFFSET SIZE
   else
      string NAME p "%s_%d" FNAME i
      goto OFFSET
      getDstring TEST 4
      if TEST == "GZIP"
         get DUMMY long
         savepos OFFSET
         math SIZE -= 8
         clog NAME OFFSET SIZE SIZE
      else
         log NAME OFFSET SIZE
      endif
   else
   endif
   goto MYOFF
next i

math OFFSET = SIZE
get SIZE asize
math SIZE -= OFFSET
string NAME p "%s.res" FNAME
log NAME OFFSET SIZE

As you can see, I'm currently just dumping the residual data at the end because I don't know what to do with it - the last zipped portion just stops. I haven't used the corresponding KAT file for anything so maybe there's the solution? Maybe an encryption? I'm lost here...
Thanks for your help.
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.