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.

Sleeping Dogs BMS Script Error!!

Featured Replies

  • Author
  • Localization

MuslimCyberGames, posted Sat Mar 05, 2022 8:12 am (70295)


Image
Sleeping Dogs: Definitive Edition STEAM

Hey, can anyone make some fixes BMS script from this game? I tried to extract the UI.big files but get some error.

Image

Full Error Text:
Code:
Alert: invalid command "ubyte" or arguments (1), line 17
The script may use other supported languages and C structs, continue? (y/N)
  y
- c_structs (1): "ubyte" "magic1[4]"
- c_structs (1): "int" "filesize1"
- c_structs (1): "int" "filesize2"
- c_structs (1): "int" "reserved1[4]"
- c_structs (1): "uint" "checksum"
- c_structs (1): "int" "reserved2[2]"
- c_structs (1): "ubyte" "magic2[4]"
- c_structs (1): "char" "archive_name[36]"
- c_structs (1): "int" "unk1[2]"
- c_structs (1): "int" "numFiles"
- c_structs (1): "int" "magic3"
- c_structs (1): "byte" "junk[magic3]"
- c_structs (1): "uint" "hash"
- c_structs (1): "int" "Offset"
- c_structs (1): "int" "SizeEmpty:12"
- c_structs (1): "int" "unk1:20"
- c_structs (1): "int" "CSize"
- c_structs (1): "int" "unk2"
- c_structs (1): "int" "USize"
- set output folder D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition\Output

  offset   filesize   filename
--------------------------------------
- enter in folder D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition
- open input file D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition\UI.biglist
- enter in folder D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition
  coverage file 0     0%   0          212897792  . offset 00000000
- open input file D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition\UI.BIX
- enter in folder D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition
- open input file D:\Apa kek\IGTC\PROJECT TRANSLATE\Baru\Sleeping Dogs Definitive Edition\UI.BIG

Error: the requested amount of bytes to allocate is negative (0xfffffffd)

Last script line before the error or that produced the error:
  29  byte junk[magic3]
  coverage file 0     0%   96         166104     . offset 00000060
  coverage file 1     0%   0          212897792  . offset 00000000
  coverage file 2     0%   0          286765     . offset 00000000


You can check this BMS Script: CEK DISINI

Thanks for helping.
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.