BlackFireBR
Content Creator
- Joined
- Sep 2, 2013
Indeed, TOTAL_FILE_BLOCKS indicates there there should be 362758 file blocks next, but there are only 318759 blocks:Trying to figure out what is wrong with my file offsets.
math TMP = 9231156 # Pos after the file blocks ends
OFFSET AFTER FILE BLOCK=9455156
That's why the offset is wrong, it has less file blocks than it says it should have.
You are getting the script error after the file 318,759 because after this file block, in the next loop, it runs the command:
Code:
get HASH long
get FOLDER_NUM long
But when it runs
Code:
get FOLDER_NUM long
FOLDER_NAME has now the value 2387232502 (8E 4A 46 F8)
and then when it does:
Code:
getarray NAME 1 FOLDER_NUM
It access the position 2387232502 of the array NAME (which has the folder names), and this position is bigger then the maximum size of the array (because it's nonsense and it shouldn't be used to access the array's position)
So that's why you get the script error.
It's still a mystery those 256,000 bytes. Even if they were file blocks, there are 7791 files missing, and 7791 * 28 = 218,148 which leaves us with 256,000 - 218,148 = 37,852 bytes that we don't know what they are for.
Keep it up with the digging, maybe we can make sense out of something if we put our heads together.