Code: Select all
# Dead Nations sound.pck
endian big
idstring AKPK
get INFO_SIZE long
get DUMMY long # 1
get DUMMY long # 10
get DUMMY long # 4c
get DUMMY long # 3004
get DUMMY long # 1
get DUMMY long # c
get DUMMY long # 0
get NAME string
savepos MYOFF
for MYOFF = MYOFF < INFO_SIZE
do # lame but works
get DUMMY long
while DUMMY != 1
get ZERO long
get SIZE long
get OFFSET long
savepos MYOFF
log "" OFFSET SIZE
next