Info Gathering Request: Are Filenames Ordered?
I strongly suspect the order of filenames and the order of files in the archive line up, this at least appears to be the case in No Mans Sky (pre-HGPAK) and Ratchet & Clank, but I need a bigger sample size than 2. If true we can omit the whole hashing step.
Has anyone encountered PSARCs that have unordered filenames? Would it be possible to create a special build that verifies if the filenames are in the same order and then tells people to leave a reply here with the result?
I'll be testing various PSARCs later next month.
UnPSARC was extracting based on filename orders but after I saw some reports for last of us (I can't remember which one) I changed the method. I can completely confirm that there are some games that their filenames are not ordered but I never investigated that is there a way to order it or fix it.
I have both the original ps3 version and part 1 on steam, so I'll check those. Hopefully it's something that can be deterministically solved rather than just something random that's lost like based on file time.
Sorting the array somehow would be faster (and more consistent) than MD5ing a bunch of strings for small psarcs, but it probably becomes faster to hash on large files.