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.

Need help with decomressing The Amazing Spider-Man 2 .pkz file

Featured Replies

  • Author
  • Localization

SerJar, posted Sun Jun 12, 2022 12:05 pm (71985)


Hey guys, I really need help with decompressing BaseSpiderMan.pkz file

I tried to do it myself by using this script from chroxx that he made for SMEOT

Code:
endian big
comtype zlib_noerror
get idstring long
get chunksize long
get baseoff long
get unkown long
get files long
get totalzsize long
get totalsize long
get name filename
set offset baseoff
get NAME basename
string NAME = ".pak"
savepos tmp
for i = 0 < files

if i == 0
  get size long
else
  goto tmp
  get old long
  savepos tmp
  get size long
  math size - old
endif

if totalzsize >= 0x8000
  set zsize 0x8000
else
  set zsize totalzsize
endif

clog MEMORY_FILE offset zsize size
append
log name 0 size MEMORY_FILE
append
math offset = 0x8000
math totalzsize - 0x8000

next i


This script worked with TASM1 files, but doesn't work with TASM2 because TASM2 has different file structure.

I edited it and this is how it looks, but still doesn't work

Code:
endian little
comtype zlib_noerror
get idstring long
get chunksize long
get baseoff long
get unkown long
get files long
get totalzsize long
get totalsize long
get name filename
set offset baseoff
get NAME basename
string NAME = ".pak"
savepos tmp
for i = 0 < files

if i == 0
  get size long
else
  goto tmp
  get old long
  savepos tmp
  get size long
  math size - old
endif

if totalzsize >= 0x18000
  set zsize 0x18000
else
  set zsize totalzsize
endif

clog MEMORY_FILE offset zsize size
append
log name 0 size MEMORY_FILE
append
math offset = 0x18000
math totalzsize - 0x18000


Can anyone help me, please?

Here's the file: https://www.mediafire.com/file/si17dsfq ... n.zip/file
  • Author
  • Localization

SerJar, posted Sun Jun 12, 2022 12:12 pm (71987)


also tried to use offzip but it decompresses corrupted file
  • Author
  • Localization

Ekey, posted Sun Jun 12, 2022 12:20 pm (71988)


Not compressed and doesn't seem to have any entry table. There should probably be a small file with info like manifest.
  • Author
  • Localization

SerJar, posted Fri Jun 24, 2022 12:53 pm (71990)


Ekey wrote:
Not compressed and doesn't seem to have any entry table. There should probably be a small file with info like manifest.

My bad, I sent wrong file, now I changed the link
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.