Extract iex file (The Tuttles - Madcap Misadventures)?
Posted: Wed Feb 09, 2011 1:44 pm
The contents of this post was deleted because of possible forum rules violation.
Game Research Forum
https://forum.xentax.com/
Code: Select all
math START = 0
math SIZE = 0
for COUNT = 0
math START += SIZE
goto START
findloc START string "\xff\xd8\xff\xe0"
findloc END string "\xff\xd9"
if START == ""
# no signature found
cleanexit
endif
if END == ""
# no signature found
cleanexit
endif
if END < START
# bad size
cleanexit
endif
math END += 2
math SIZE = END
math SIZE -= START
set NAME string COUNT
string NAME += ".jpeg"
log NAME START SIZE
next COUNT