07-04-2016, 01:27 AM
(This post was last modified: 07-04-2016, 02:32 AM by happydance.)
sorry, here is the link for the sample file https://drive.google.com/open?id=0Byva3J...W5ZaVR4dU0
btw, I revised my script to this and it seems to be working but there are some problems with it
it only extract haft of the file mentioned on 00 00 01 5D...
it was supposed to extract from 00 00 00 0B 00 to 00 00 24 40 then from 00 00 24 40 to 00 00 33 B0.
but it extract from 00 00 00 0B 00 to 00 00 24 40 then from 00 00 33 B0 to 00 00 4B E0
*edit*
I was wrong the individual file size was located on 0x5A8
btw, I revised my script to this and it seems to be working but there are some problems with it
Code:
endian big
goto 0xc
get TMP1 long
get TMP2 long
get null long
xmath archiveSize "TMP2 - TMP1"
get FILENUM long
get null long
get null long
get unknown1 long
get null long
get unknown1 long
get unknown2 long
for i = 0 < FILENUM
get OFFSET1 long
get OFFSET2 long
Math OFFSET1 + TMP1
Math OFFSET2 + TMP1
xmath SIZE "OFFSET2 - OFFSET1"
log "" OFFSET1 SIZE
next I
Code:
00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 20
00 09 93 F0 00 00 00 00 00 00 01 5D 00 00 00 00
00 00 00 00 00 00 01 5D 00 00 00 00 00 00 00 10
00 00 00 00 00 00 0B 00 00 00 24 40 00 00 33 B0
00 00 4B E0 00 00 5C D0 00 00 6B 60 00 00 7E 70
it only extract haft of the file mentioned on 00 00 01 5D...
it was supposed to extract from 00 00 00 0B 00 to 00 00 24 40 then from 00 00 24 40 to 00 00 33 B0.
but it extract from 00 00 00 0B 00 to 00 00 24 40 then from 00 00 33 B0 to 00 00 4B E0
*edit*
I was wrong the individual file size was located on 0x5A8