Hello! I've just written a script for the g4 archives of Gangstar Vegas (for iOS) but I think the decompression is off. None of the extracted zip archives can be opened or extracted (with Luigi's script). The decompression size is correct but maybe I chose the wrong comp method nevertheless? Here's my script (I've attached the func_getTYPE.bms):
include "func_getTYPE.bms" comtype COMPRLIB_RLE2 idstring "Voxarch2" get DUMMY long get VER long get FILES long get BNAME basename goto 0x80 for i = 1 <= FILES get CRC long get HASH long get COMP long get SIZE long get ZSIZE long get OFFSET long if COMP == 0 putVarChr MEMORY_FILE SIZE 0 log MEMORY_FILE 0 0 append log MEMORY_FILE OFFSET SIZE append elif COMP == 1 putVarChr MEMORY_FILE ZSIZE 0 log MEMORY_FILE 0 0 append clog MEMORY_FILE OFFSET SIZE ZSIZE append endif callfunction getTYPE 1 string NAME p= "%s_0x%08x%s" BNAME CRC EXT get SIZE asize MEMORY_FILE if SIZE != 0 log NAME 0 SIZE MEMORY_FILE endif next i