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.

Skylanders Swap Force *.pak

Featured Replies

  • Author
  • Localization

AlphaTwentyThree, posted Wed Aug 12, 2015 8:46 am (6831)


I've written a temporary script but I'm in need for the specific offset where the TOC starts. I see absolutely no system in that... Here's my script:
Code:
idstring \x1a\x41\x47\x49
endian big

goto 0xc
get FILES long
goto 0x2c
get NAMEINFO long
goto NAMEINFO
for i = 0 < FILES
   get NAMEOFF long
   savepos MYOFF
   xmath GO "NAMEINFO NAMEOFF"
   goto GO
   get NAME string
   putArray 0 i NAME
   goto MYOFF
next i

goto 0x8
get CALCSIZE long
goto 0x20
get BIAS long
if BIAS == 0
   xmath TOC "0x38 CALCSIZE - FILES * 0x10"
else
   cleanexit
endif

goto TOC

for i = 0 < FILES
   get FID threebyte # not needed
   get UNK1 byte
   get OFFSET long
   get SIZE long
   get UNK2 long
   getArray NAME 0 i
   log NAME OFFSET SIZE
next i

Here are some more samples: http://*USE_ANOTHER_FILEHOSTING*/2bec51b ... mples_2.7z
You can see that the system doesn't work if the value at 0x20 isn't zero. Any ideas?
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.