Cache CRC32 checksum for each game file
Opened this issue · 2 comments
What should happen
Currently the CRC32 checksum for each game has to be recalculated on every boot of PPSSPP.
Doing so takes a lot of time (unless the OS keeps the game cached).
We could store the checksums for each game file (with full path) in an .ini.
If we detect (on game info screen or game crash) that the file size and last modification date (which we could also store) has changed, the cache should be expired, requiring a full recalculation.
Who would this benefit
Everyone? (Although full potential requires the Redump project fixing their DB.)
Platform (if relevant)
None
Games this would be useful in
Other emulators or software with a similar feature
No response
Checklist
- Check the latest git build in case it's already implemented.
- Search for other requests of the same feature.
What's the use case? When do we immediately need to know the CRC?
I guess we could add little warning triangles on games with mismatching CRC, although that would hit the problem with #18387 and that Redump isn't quite complete....
What's the use case? When do we immediately need to know the CRC?
I don't have a specific use case for it. I can use HashMyFiles to compare my ISOs when I need it.
I guess we could add little warning triangles on games with mismatching CRC, although that would hit the problem with #18387 and that Redump isn't quite complete....
Let's leave that discussion for #18387 itself. 😄