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.

How to open ".tpkg", ".zca", ".pak"?

Featured Replies

  • Author
  • Localization

Ekey, posted Sun Dec 29, 2019 12:53 am (52855)


1)
Code:
# Toyman
idstring "tpkg"
get FILES long
get ZERO long
set OFFSET long 0

for i = 0 < FILES
    get ZIP byte
    get SIZE longlong
    get ZSIZE longlong
    get NAMESZ long
    getdstring NAME NAMESZ
    savepos OFFSET
   
    if ZIP == 0
        log NAME OFFSET SIZE
        math OFFSET = SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
        math OFFSET = ZSIZE
    endif
    goto OFFSET
next i


2) Script is https://aluigi.altervista.org/bms/dancing_craze.bms but your archive xor'ed with other key.

3) Seems data is obfuscated.
  • Author
  • Localization

arty1998-007, posted Sun Dec 29, 2019 1:49 pm (52868)


Ekey wrote:
1)
Code:
# Toyman
idstring "tpkg"
get FILES long
get ZERO long
set OFFSET long 0

for i = 0 < FILES
    get ZIP byte
    get SIZE longlong
    get ZSIZE longlong
    get NAMESZ long
    getdstring NAME NAMESZ
    savepos OFFSET
   
    if ZIP == 0
        log NAME OFFSET SIZE
        math OFFSET = SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
        math OFFSET = ZSIZE
    endif
    goto OFFSET
next i


2) Script is https://aluigi.altervista.org/bms/dancing_craze.bms but your archive xor'ed with other key.

3) Seems data is obfuscated.


So there is no way to open archive 3 at all? And a bit not understood with 2 archive. The script seems to open it, but in fact there is nothing.
  • Author
  • Localization

Ekey, posted Sun Dec 29, 2019 2:22 pm (52871)


Archive 2 > there is a script for unpacking this format, but need another xor key.
Archive 3 > data seems is obfuscated / encrypted.

In these two cases, reverse engineering is needed.
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.