# Dino and Aliens
# script for QuickBMS http://quickbms.aluigi.org
get FULLSIZE asize
for OFFSET = 0 < FULLSIZE
get NAME string
get SIZE long
savepos OFFSET
encryption xor NAME
log NAME OFFSET SIZE
math OFFSET += SIZE
goto OFFSET
next
in this case it was easy because you had many tga files that contain 0x00 bytes in them so the key was clearly visible and it was just the same filename :)
file_content XOR filename