-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to verify ISOs against redump.org? #12469
Comments
I have all the games in ISO, so if I would be interested in that new option. |
What purpose would this serve? Display a warning on top of the screen if the ISO failed the verification or refuse to launch it? Either way, I doubt there's a complete database anywhere so this would be very likely to cause some confusion in the future. |
It's more about stopping people from blaming emulation while abusing broken pirated copy or otherwise corrupted disc and wasting people's time, not doing anything at launch. We could add an requirement of validating users copy before posting issues here and also display at reporting site which copies are good/broken as PPSSPP is collecting hashes for a while already. In theory ISO should not exactly be the most popular container, I for example use PBP for pretty much everything simply for it's best compression, psstore games as well as pre-patched ones or just an umd backups. CSO are also extremely popular and some of them can modify/remove content for better compression which is awful, but used historically by many desperates with small memsticks. |
Well, some PBPs simply just have the UMD image (aka ISO) inside them, as I recall. Not certain how we calculate CRCs today, but we may already do those correctly. Could you compare the CRC of one of your games (as recorded on report.ppsspp.org when you report compatibility) with the ISO's expected CRC? We already have a database of each game id and version based on reports. So we could just import verified CRCs into this database for cross referencing. On the downloads page, we can get an XML export of that database, but it lacks IDs. Better would be to scrape it, probably. Not sure we would expect a lot of updates in the future anyway. Of note, we do already have reported CRCs. For more popular games, it's already pretty obvious / easily detectable which CRC is right: In fact, we do that already, although the heuristics aren't perfect: Lines 434 to 435 in c77af18
Of note: because of PSN releases, I'm pretty sure there are games with the same ID, but multiple perfectly valid and correct CRCs. I'm not sure how often this happens, though. -[Unknown] |
It looks like they offer mass .txt Datfile downloads, displaying all of their information by platform and game title (size, crc, md5, sha1) |
Attached is an export of the redump PSP DB with the relevant information to help improve PPSPP. Thanks for all the work on PPSSPP! Final note: redump.org does not contain ISOs, this information is purely to help verify ISOs that you dump yourself :) |
That is great as mentioned, and now that it has game serials / IDs, we can easily do lookups into it to verify ISOs. I plan to add support for ISO verification in the near future. I think I'll just bundle the csv as a file in /assets. I can also think of a bunch of different uses for this, such as specifying compat.ini options by game name instead of by ID, showing the international name on Japanese ISOs in the game listing, etc. |
The "Disc Serials" column is the printed serial on the UMD itself. |
Printed is fine as it's generally gonna match the internal one, if there are one or two misprints or mistakes it won't take away much from the usefulness. We use the ID found in PARAM.SFO on the ISO file for lookups into our compatibility settings file etc. |
Yes, the ID inside PARAM.SFO is the internal serial I am referencing. e.g. one entry is "ULUS-10266, ULUS-17008" |
Yeah, that's fine, doesn't look hard. |
This is now implemented, checks happen on the game info screen only currently, not during game startup. Let me know how it works for you. |
redump.org provides metadata for most of the PSP discs, but of course don't host any downloads.
I didn't actually know that redump.org had a PSP database because it's not visible from the main website's list of platforms, but it's really there:
http://redump.org/discs/system/psp
So if we can get our hands on the actual database, or find an easy way to query it, it should be easy to add a way to check that an ISO has not been modified from its original form.
The text was updated successfully, but these errors were encountered: