Sleeping Dogs BMS Script Error!!

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Sleeping Dogs BMS Script Error!!

Post by MuslimCyberGames »

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: Select all

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.