(05-04-2017, 04:07 PM)Krantek Wrote: Please help with this code for file
https://yadi.sk/d/B7Bynf4G3HgLJL
Code:get FILES long
get DATASTART long
get UNK long
for i = 1 <= FILES
get NAME string
get SIZE long
log NAME OFFSET SIZE
math OFFSET += SIZE
next i
its doing something wrong....files are broken
Code:
get FCOUNT long
get OFFSET long
get NULL long
for i = 0 < FCOUNT
get NAME string
get SIZE long
log NAME OFFSET SIZE
math OFFSET += SIZE
next i
Your DATASTART variable should be logged, you never assigned anything to the variable labeled "OFFSET".