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.

Compressed .pak from ?????

Featured Replies

  • Author
  • Localization

moonpaladin, posted Sat Jan 08, 2022 10:26 pm (68858)


Hello! I'm trying to unpack this .pak file. I were able to decompress it partially, I got .pvr .lua .xml and .dat files, seems that these .dat files contain some meshes and textures.
Hope someone can take a look at this, thanks for your time !
https://www.mediafire.com/file/ltzonkyx ... k.pak/file
  • Author
  • Localization

aluigi, posted Sat Jan 08, 2022 10:50 pm (68860)


Code:
# ????? PAK

get INFO_OFF long
get DUMMY long  # 20000
goto INFO_OFF
for i = 0
    getdstring NAME 0x40
    if NAME == ""
        break
    endif
    get OFFSET long
    get SIZE long
    get ZSIZE long
    get FLAGS long  # last file is 0x100 while other are 0x101, 0x100 is probably for compression
    clog NAME OFFSET ZSIZE SIZE
next i
  • Author
  • Localization

Ekey, posted Sat Jan 08, 2022 10:53 pm (68862)


Code:
# ????? (PAK) format
# script for QuickBMS http://quickbms.aluigi.org

goto 0x48
get MAX_OFFSET asize

for
   getdstring NAME 64
   get OFFSET long
   get SIZE long
   get ZSIZE long
   get FLAGS long
   
   if OFFSET == MAX_OFFSET
      cleanexit
   endif
   
   if ZSIZE == SIZE
       log NAME OFFSET SIZE
   else
       clog NAME OFFSET ZSIZE SIZE
   endif
next
  • Author
  • Localization

Ekey, posted Sat Jan 08, 2022 10:54 pm (68863)


Oh dammit, Luigi was faster than me :D
  • Author
  • Localization

aluigi, posted Sat Jan 08, 2022 10:57 pm (68864)


;)
  • Author
  • Localization

moonpaladin, posted Sat Jan 08, 2022 11:24 pm (68872)


Thanks alot! aluigi, Ekey!
  • Author
  • Localization

moonpaladin, posted Sat Jan 08, 2022 11:47 pm (68873)


This game have others .pak files with a size around 400mb, the script works but it reach at one point that thrown this error :shock: , what could be the issue? :oops:. Thanks!

Image

*update*, using the -p command fixed that problem!
  • Author
  • Localization

aluigi, posted Sun Jan 09, 2022 8:32 pm (68931)


Ok now I understand, in short it reserves space for 20000 files and leave these unused entries blank.
I updated the script for avoiding the error:
http://aluigi.org/bms/new_heroes_pak.bms

You already extracted the files so no need to re-use it.
  • Author
  • Localization

moonpaladin, posted Sun Jan 09, 2022 8:44 pm (68933)


Thanks alot for all your effort :)
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.