Help me not be stupid with QuickBMS please.
Posted: Sat Sep 24, 2011 10:27 am
The contents of this post was deleted because of possible forum rules violation.
Code: Select all
getdstring IDSTR 4Code: Select all
if IDSTR == "Jdds"
elif IDSTR == "Jpng"
else
# matched neither of these id strings
cleanexit
endif
Code: Select all
get IMGSIZE long
get FILENUM long
get WIDTH long
get HEIGHT long
get NULL long
Code: Select all
savepos CURPOS
log "" CURPOS IMGSIZE
Code: Select all
math CURPOS += IMGSIZE
goto CURPOS
Code: Select all
for
getdstring IDSTR 4
if IDSTR == "Jdds"
elif IDSTR == "Jpng"
else
# matched neither of these id strings
cleanexit
endif
get IMGSIZE long
get FILENUM long
get WIDTH long
get HEIGHT long
get NULL long
savepos CURPOS
log "" CURPOS IMGSIZE
math CURPOS += IMGSIZE
goto CURPOS
next
Code: Select all
get SIZE asize
for
getdstring IDSTR 4
if IDSTR == "Jdds"
elif IDSTR == "Jpng"
else
# matched neither of these id strings
cleanexit
endif
get IMGSIZE long
get FILENUM long
get WIDTH long
get HEIGHT long
get NULL long
savepos CURPOS
log "" CURPOS IMGSIZE
math CURPOS += IMGSIZE
if CURPOS == SIZE
cleanexit
endif
goto CURPOS
next