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.

Help extracting RIFT (Trion) .pak files

Featured Replies

  • Author
  • Localization

kyrandi, posted Mon May 09, 2016 2:51 am (13224)


Hello,

I'm trying to extract Rift .pak files with the following script:

Code:
get VERSION long 
get PAKSIZE long
get UNKNOWN long
get TABLESIZE long

math FILES = TABLESIZE
math FILES /= 0x3c

for i = 1 to FILES
  getdstring TRASH 0xc
  get HASH long
  get NULLS long
  get ZSIZE long
  get SIZE long
  get UNKNOWN long
  get OFFSET long
  getdstring TRASH 0x18
  string NAME p= "X" HASH
  if ZSIZE == SIZE
    log NAME POINTER SIZE
  else
    clog NAME POINTER ZSIZE SIZE
  endif
next i 


but I get the error:

Code:
  
  offset           filesize   filename
--------------------------------------
  0000000000000000 672136     6A7B69CD

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info:  algorithm   1
       offset      0000000000000000
       input size  0x000000000004184b 268363
       output size 0x00000000000a4188 672136
       result      0xffffffffffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (672136)

Last script line before the error or that produced the error:
  22  clog NAME POINTER ZSIZE SIZE
 


Can anyone help please?
  • Author
  • Localization

Ekey, posted Mon May 09, 2016 11:31 am (13236)


Yup
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.