03-06-2016, 09:17 PM
Hello, really appreciate this tutorial and I thank you for it.
I am trying to get myself acquainted with QuickBMS so I started with the Pak0 file from the Quake 2 demo and although I've analysed it okay, my script seems to be off. Been trying for a while now and feel like a complete idiot because I know it's probably a stupid mistake lol. I'd appreciate any help
File in question: https://mega.nz/#!MhhTiBrS!Ng_xeSoYMKLdO...6uunA559H8
I am trying to get myself acquainted with QuickBMS so I started with the Pak0 file from the Quake 2 demo and although I've analysed it okay, my script seems to be off. Been trying for a while now and feel like a complete idiot because I know it's probably a stupid mistake lol. I'd appreciate any help
Code:
idstring "PACK"
get BASE_OFF long
get ArchiveSize long
goto BASE_OFF
set NUM_OF_FILES 1106
for i = 1 < NUM_OF_FILES
getdstring NAME 0x10
get OFFSET long
get SIZE long
goto OFFSET
log NAME OFFSET SIZE
next i
File in question: https://mega.nz/#!MhhTiBrS!Ng_xeSoYMKLdO...6uunA559H8