PC Engine ROM CRC checking issues #329
PsyK0p4T
started this conversation in
Coding Corner
Replies: 1 comment 2 replies
-
Maybe because the CRC file has wrong new line code. Try to convert new line code to different one. Good luck. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello people
I finally took the time to build a PCE to SNES slot adapter
Then tried to dump a HuCard with it : "Naxat Open".
Dumping process ran perfectly fine and I got the expected CRC for it "60ECAE22". So no problem with dumping.
But then the CRC is checked and compared with SD txt file entries. Here comes the issue :
The just dumped ROM is opened, its CRC is calculated (and displayed) fine, but then something goes wrong with compare process.
I'm not really at ease with FS but something is maybe failing around this point :
get_line(gamename, &script, 96);
get_line(crc_search, &script, 9);
gamename var seems to store more than a line of the txt, and crc_search var looks empty when I try to display them on screen.
So... i guess the strcmp function always fails, and it leads to the Chksum Error message whereas I got the expected one.
If someone can investigate... it would be cool ;)
Beta Was this translation helpful? Give feedback.
All reactions