Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can one detect corrupted ISO?
08-05-2013, 12:12 AM
Post: #1
Can one detect corrupted ISO?
I have seen many bug reports in which the problem is in the corrupted ISO.
An example: https://github.com/hrydgard/ppsspp/issues/3034

I wonder if algorithms like MD5 or SHA can detect corrupted ISO by checking uncompressed files. CSO files would have to be uncompressed by an intermediate way.

The question is: If no error happens, will the ISO files produced with any UMD of the game on any PSP always be exactly the same?
Find all posts by this user
Quote this message in a reply
08-05-2013, 12:25 AM (This post was last modified: 08-05-2013 12:26 AM by solarmystic.)
Post: #2
RE: Can one detect corrupted ISO?
(08-05-2013 12:12 AM)Squall Wrote:  I have seen many bug reports in which the problem is in the corrupted ISO.
An example: https://github.com/hrydgard/ppsspp/issues/3034

I wonder if algorithms like MD5 or SHA can detect corrupted ISO by checking uncompressed files. CSO files would have to be uncompressed by an intermediate way.

The question is: If no error happens, will the ISO files produced with any UMD of the game on any PSP always be exactly the same?

You don't even need to decompress the files from the ISO. Just run a MD5 or SHA-1 check on the ISO itself.

A reference library of correct SHA-1 or MD5 values for each title in a certain region could be theoretically constructed and used as a reference to indicate whether or not the ISO is corrupted.

They should all match one another with the following caveats:-

1. They're from the same region, with the same region id.

2. They were dumped correctly (truncated dumps don't count)

3. They're at the same patch/update level.

4. They're also not "fixed" (fixing in this instance means modified to use with Prometheus and other loaders) or cleaned and are pristine.

The precise size (down to the byte level) could also be used, but it is way more inaccurate to determine these things.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
09-03-2013, 05:51 PM
Post: #3
RE: Can one detect corrupted ISO?
I think we can use the no-intro dat as reference:
http://datomatic.no-intro.org/?page=download

And Quick Hash GUI to get SHA-1 and MD5:
http://sourceforge.net/projects/quickhash/
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: