Memory allocation problem [Orange Box?]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
FridiNaTor
Posts: 1
Joined: Mon Apr 09, 2018 3:53 pm

Memory allocation problem [Orange Box?]

Post by FridiNaTor »

I have got into an issue, where I get the error:

Code: Select all

- error in src\extra\xalloc.c 618: xdbg:malloc()

Error: memory allocation problem
         Not enough storage is available to process this command.

My bms code looks like this:

Code: Select all

endian big
idstring "FGP\0"
get DUMMY long
get FILES long
get DUMMY long
math BASE_OFF long FILES
math BASE_OFF *= 16
math BASE_OFF += 0x10
for i = 0 < FILES
    get NAME_CRC long
    get OFFSET long
    get SIZE long
    get ZSIZE long
    math OFFSET += BASE_OFF
    clog "" OFFSET ZSIZE SIZE
next i


It has worked, but some files just doesn't work for some reason, the file I tried to decompile was MOVIES.GRP
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Memory allocation problem

Post by aluigi »

The script you mentioned is http://aluigi.org/bms/orange_box.bms
You must provide the name of the game and the GRP archive, if it's very big use the filecutter script http://aluigi.org/bms/filecutter.bms