Here's the code what I have right now for the archive:
Code: Select all
get NULL long
get FCOUNT long
get NULL long
for i = 0 < FCOUNT
get FNAMELENGTH long
getdstring NAME FNAMELENGTH
callfunction skip
get OFFSET long
get SIZE long
get NULL long
log NAME OFFSET SIZE
next i
startfunction SKIP
do
get NULL byte
while NULL == 0
savepos CUROFF
math CUROFF - 1
goto CUROFF
endfunction
The issue is though, that the skip function throws a script error, and that's due to the incorrect positioning of the current offset going backwards when a 0 value is included in the offset long value. I can't figure out a workaround, and could use some help if anyone could help me

~Anexenaumoon