02-07-2016, 02:23 PM
Hope someone could help me. I'm trying to extract the files from Defiance .WAD files.
So far I get it to extract 2 .dat files than it hangs and dumps a 250mb file.
I've noticed that on every second line, there is xxxxx.<V which I believe is each individual file. I honestly have no idea how to break it apart. I've read and re-read the tutorial but it's mind boggling to say the least.
SCRIPT:
endian little
idstring "WADF\x00"
get archiveSize long
get fileCount long
get null long
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x8
log name pointer length
next i
So far I get it to extract 2 .dat files than it hangs and dumps a 250mb file.
I've noticed that on every second line, there is xxxxx.<V which I believe is each individual file. I honestly have no idea how to break it apart. I've read and re-read the tutorial but it's mind boggling to say the least.
SCRIPT:
endian little
idstring "WADF\x00"
get archiveSize long
get fileCount long
get null long
for i = 0 < fileCount
get pointer long
get length long
getdstring name 0x8
log name pointer length
next i