maxton/GameArchives

Not all files listed in pfs_images

luxox8 opened this issue · 4 comments

if the index section of the pfs_image have some extra 00's between names, the tool will ignore all files that are after this block.

empty

not all 00 sections have the same size that the showed in the image.

Yup, there are definitely some issues with PFS. Unfortunately I only own two games for testing, so I couldn't catch all the possible variations the first time.

I understand you a lot :P

is there a way for obtain a start address manually meanwhile? based on the index section?

You could probably figure it out by following the documentation I wrote here, the start address is calculated by the block size times the first direct block value of the file's inode. If the file is fragmented then things are trickier... the library doesn't even handle that case yet.

thanks for the info, is a little bit difficult figure out manually hahaha