add a bad PSX dump and change rom status printout a bit

This commit is contained in:
zeromus 2015-08-08 15:57:30 -05:00
parent 6e433ab656
commit 2a8ed31cbf
2 changed files with 7 additions and 15 deletions

View File

@ -286,7 +286,7 @@ namespace BizHawk.Client.Common
sw.WriteLine("Disc could not be identified as known-good. Look for a better rip."); sw.WriteLine("Disc could not be identified as known-good. Look for a better rip.");
else else
{ {
sw.WriteLine("Disc was identified (99.99% confidently) as known good."); sw.WriteLine("Disc was identified (99.99% confidently) as known good with disc id hash CRC32:{0:X8}",discHash);
sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version."); sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version.");
sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh")); sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh"));
sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)"); sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)");
@ -301,7 +301,6 @@ namespace BizHawk.Client.Common
} }
nextEmulator = new Octoshock(nextComm, discs, discNames, null, GetCoreSettings<Octoshock>(), GetCoreSyncSettings<Octoshock>()); nextEmulator = new Octoshock(nextComm, discs, discNames, null, GetCoreSettings<Octoshock>(), GetCoreSyncSettings<Octoshock>());
nextEmulator.CoreComm.RomStatusDetails = "PSX etc.";
nextEmulator.CoreComm.RomStatusDetails = sw.ToString(); nextEmulator.CoreComm.RomStatusDetails = sw.ToString();
game = new GameInfo { Name = Path.GetFileNameWithoutExtension(file.Name) }; game = new GameInfo { Name = Path.GetFileNameWithoutExtension(file.Name) };
game.System = "PSX"; game.System = "PSX";
@ -384,7 +383,7 @@ namespace BizHawk.Client.Common
else else
{ {
StringWriter sw = new StringWriter(); StringWriter sw = new StringWriter();
sw.WriteLine("Disc was identified (99.99% confidently) as known good."); sw.WriteLine("Disc was identified (99.99% confidently) as known good with disc id hash CRC32:{0:X8}", discHash);
sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version."); sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version.");
sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh")); sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh"));
sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)"); sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)");
@ -475,7 +474,7 @@ namespace BizHawk.Client.Common
sw.WriteLine("Disc could not be identified as known-good. Look for a better rip."); sw.WriteLine("Disc could not be identified as known-good. Look for a better rip.");
else else
{ {
sw.WriteLine("Disc was identified (99.99% confidently) as known good."); sw.WriteLine("Disc was identified (99.99% confidently) as known good with disc id hash CRC32:{0:X8}", discHash);
sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version."); sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version.");
sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh")); sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh"));
sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)"); sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)");
@ -491,17 +490,9 @@ namespace BizHawk.Client.Common
// todo: copy pasta from PSX .cue section // todo: copy pasta from PSX .cue section
nextEmulator = new Octoshock(nextComm, discs, discNames, null, GetCoreSettings<Octoshock>(), GetCoreSyncSettings<Octoshock>()); nextEmulator = new Octoshock(nextComm, discs, discNames, null, GetCoreSettings<Octoshock>(), GetCoreSyncSettings<Octoshock>());
if (game.IsRomStatusBad() || game.Status == RomStatus.NotInDatabase)
nextEmulator.CoreComm.RomStatusDetails = "Disc could not be identified as known-good. Look for a better rip.";
else
{
sw.WriteLine("Disc was identified (99.99% confidently) as known good.");
sw.WriteLine("Nonetheless it could be an unrecognized romhack or patched version.");
sw.WriteLine("According to redump.org, the ideal hash for entire disc is: CRC32:{0:X8}", game.GetStringValue("dh"));
sw.WriteLine("The file you loaded hasn't been hashed entirely (it would take too long)");
sw.WriteLine("Compare it with the full hash calculated by the PSX menu's Hash Discs tool");
nextEmulator.CoreComm.RomStatusDetails = sw.ToString(); nextEmulator.CoreComm.RomStatusDetails = sw.ToString();
} game = new GameInfo { Name = Path.GetFileNameWithoutExtension(file.Name) };
game.System = "PSX";
break; break;
default: default:

View File

@ -153,6 +153,7 @@ EDD7A45A7F27E396B6D686F1861642D509863132 Datach - SD Gundam - Gundam Wars NES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bad PSX (not many, so collecting here for now);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;bad PSX (not many, so collecting here for now);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;licensed by sony... string erased: ;licensed by sony... string erased:
C94257E7 B Looney Tunes - Sheep Raider (STATiC Dump) PSX dh=00000000 C94257E7 B Looney Tunes - Sheep Raider (STATiC Dump) PSX dh=00000000
829A295C B Monster Rancher 2 (U) (EXE Patched) PSX dh=00000000
#include gamedb_neshomebrew.txt #include gamedb_neshomebrew.txt
#include gamedb_vs.txt #include gamedb_vs.txt