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.

Journey to the West [package.was]

Featured Replies

  • Author
  • Localization

aluigi, posted Tue Jul 31, 2018 4:39 am (37116)


I don't know what's the compression algorithm used but I suspect there may be some encryption involved (didn't test the compression scanner, just supposing).

Anyway the format is simple so I leave the work-in-progress script here, that means YOU MUST NOT USE IT:
Code:
comtype ???
get DUMMY long
get ZERO long
get DUMMY long
get DUMMY long  # 1
get DUMMY long
get DUMMY long
get FILES long
get DUMMY long
for i = 0 < FILES
    get ENTRY_OFF long
    get ZSIZE long
    get SIZE long
    get ZIP long
    get DUMMY long
    get ZERO long
    get ENTRY_SIZE long
    get NAMESZ long
    math NAMESZ 1
    getdstring NAME NAMESZ
    savepos OFFSET
    if ZIP == 0
        log NAME OFFSET SIZE
    else
        get SIZE long
        math OFFSET 4
        math ZSIZE  - 4
        clog NAME OFFSET ZSIZE SIZE
    endif
    math ENTRY_OFF ENTRY_SIZE
    goto ENTRY_OFF
next i
  • Author
  • Localization

KumonMa, posted Tue Jul 31, 2018 10:07 am (37128)


aluigi wrote:
I don't know what's the compression algorithm used but I suspect there may be some encryption involved (didn't test the compression scanner, just supposing).

Anyway the format is simple so I leave the work-in-progress script here, that means YOU MUST NOT USE IT:
Code:
comtype ???
get DUMMY long
get ZERO long
get DUMMY long
get DUMMY long  # 1
get DUMMY long
get DUMMY long
get FILES long
get DUMMY long
for i = 0 < FILES
    get ENTRY_OFF long
    get ZSIZE long
    get SIZE long
    get ZIP long
    get DUMMY long
    get ZERO long
    get ENTRY_SIZE long
    get NAMESZ long
    math NAMESZ 1
    getdstring NAME NAMESZ
    savepos OFFSET
    if ZIP == 0
        log NAME OFFSET SIZE
    else
        get SIZE long
        math OFFSET 4
        math ZSIZE  - 4
        clog NAME OFFSET ZSIZE SIZE
    endif
    math ENTRY_OFF ENTRY_SIZE
    goto ENTRY_OFF
next i



Yes, it seems to use xxtea, but I tried to decrypt one of the files and got an error.

https://mega.nz/#F!evZmSQKY!tPZoS-nro_Pv0UGbYGpCHA
  • Author
  • Localization

aluigi, posted Wed Aug 01, 2018 11:45 pm (37153)


No, that script is for something completely different.
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.