the problem is that GE uses the original bms language which is terribly limited.
all the script can be converted in the old bms language except the "padding 4" for which I have no idea due to even the absence of the modulus operator!
if you want to try, I have "tried" the conversion (except the padding one obviously):
Code:
get PACK_SIZE asize 0 ;
getdstring SIGN 8 0 ;
for ;
savepos CHUNK_OFFSET 0 ;
set TMP long CHUNK_OFFSET ;
math TMP += 16 ;
if TMP >= PACK_SIZE ;
cleanexit ;
endif ;
getdstring CHUNK 4 0 ;
get CHUNKSZ long 0 ;
get DUMMY long 0 ;
get DUMMY long 0 ;
if CHUNK == RSCF ;
get TYPE long 0 ;
get DUMMY long 0 ;
get SIZE long 0 ;
get NAME string 0 ;
if TYPE == 2 ;
#padding 4 ; DOES NOT WORK!
endif ;
savepos OFFSET 0 ;
log NAME OFFSET SIZE 0 ;
endif ;
math CHUNK_OFFSET += CHUNKSZ ;
goto CHUNK_OFFSET 0 ;
next ;
and you must first unpack all the asuracmp files before doing the job using my asurauncmp tool, but that thing of the padding will cause tons of problems in any case