get HEADER filename
string HEADER -= 4
string HEADER += \
idstring "RTDP"
endian BIG
get OFF long
get FILES long
get ARCSIZE long
get UNK long
getdstring NULL 0xC
for i = 0 < FILES
set RES_NAME HEADER
getdstring NAME 0x20
string RES_NAME += NAME
get SIZE long
get OFFSET long
math OFFSET += OFF
filexor 0x55
log RES_NAME OFFSET SIZE
filexor ""
next i