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.

Error: the script uses more array indexes (65536) than available (2)

Featured Replies

  • Author
  • Localization

FatalBulletHit, posted Sun Nov 08, 2020 8:43 pm (60076)


I get the error "the script uses more array indexes (65536) than available (2)" when extracting certain ".pck" files from the game Tom Clancy's Rainbow Six Siege using the "pck_AKPK_extractor.bms" and "func_getTYPE.bms" scripts from AlphaTwentyThree.

There are 1 effect and 9 language depots and the error occurs with all the .pck files from 5 of the 9 language depots, for the other depots it works without any issues.

I've no idea how to debug this, so any help is greatly appreciated.

Here's an archive with a sample ".pck" file from each depot, the QuickBMS scripts needed and the output of each ".pck" file when extracted and converted with RavioliGameTools_v2.10 (https://github.com/themeldingwars/Docum ... Game-Tools) and when extracted with the "pck_AKPK_extractor.bms" (if possible):

[removed]
  • Author
  • Localization

aluigi, posted Mon Nov 09, 2020 5:47 pm (60100)


Try adding "padding 4" at line 88:
Code:
set RUNS 1
padding 4
callfunction extract 1
  • Author
  • Localization

FatalBulletHit, posted Mon Nov 09, 2020 6:27 pm (60101)


Thanks a lot for the quick response, worked like a charm! :)
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.