You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2021-01-19 00:30:21

Nohemura
Member
Registered: 2021-01-18
Posts: 3

Cheats Database Checksums not matching

Hello, I have been playing Pokemon Soul Silver and decided to search for some cheats to play with. I downloaded DeadSkullzJr cheat database and decided to use it, but, when I go to Desmume it opens a windows that says "Checksums not matching" and then opens the cheats for Soul Silver Europe version even though I'm using the US version. How can I fix this?

Offline

#2 2021-01-19 01:02:25

AsPoke3172
Member
Registered: 2010-04-21
Posts: 169

Re: Cheats Database Checksums not matching

Download latest Desmume GIT here!

https://ci.appveyor.com/project/zeromus/desmume/history

"Checksum not matching" was fixed right now.

Offline

#3 2021-01-19 01:34:00

Nohemura
Member
Registered: 2021-01-18
Posts: 3

Re: Cheats Database Checksums not matching

I was sure I downloaded that one,  but I still deleted the one I had and downloaded it again and I still get that error. Is there maybe something I'm doing wrong? I have Desmume in my documents folder, does it needs to be in an specific folder? Maybe I unistalled it wrong? I just deleted the files in the folder I made for it.

Offline

#4 2021-01-19 03:28:56

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,452

Re: Cheats Database Checksums not matching

Are you kidding me? There are still bugs in this shitty cheat logic
AsPoke3172, it seems to be choosing the first game from the database whose 4-letter code matches the loaded ROM. It isn't using the CRC at all. Then of course later it checks the CRC and says it doesn't match. See CheatSystem.cpp line 1556. Can you confirm? If so, I'll fix this crap

Offline

#5 2021-01-19 10:38:10

AsPoke3172
Member
Registered: 2010-04-21
Posts: 169

Re: Cheats Database Checksums not matching

Playing Pokemon Soul Silver.... Open Cheat Dialog and then Open Cheat Database, results was nothing happen. Just OK

@Nohemura, are you using latest cheat database from here?

https://gbatemp.net/threads/deadskullzj … es.488711/

Download it and put USRCHEAT.DAT into C:\Desmume\Cheats folder (make it folder if doesn't exist) Change Path Settings.

Under Cheats which choose between CHEAT.DAT and USRCHEAT.DAT, select USRCHEAT.DAT and click OK. Enjoy the games.

Offline

#6 2021-01-19 20:28:29

Nohemura
Member
Registered: 2021-01-18
Posts: 3

Re: Cheats Database Checksums not matching

I am using the latest cheat database, I tried downloading another rom to see if maybe it was my rom that had a different CRC or something but it still gives me error. I'm not sure what is happening but it may be my pc. Thanks for your help

Offline

#7 2021-01-19 22:25:54

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,452

Re: Cheats Database Checksums not matching

Dang it. 100% of time I get checksums not matching
If you can debug to the "Checksums not matching" line, I will see:
gameInfo.crcForCheatsDb = 0x2d5118ca
cheatsExport->CRC = 0xcdbe84d9
And if you look at cheats.xml from that same cheat project you will see 2d5118ca is listed in line 1499268 as USA version
this is AFTER cdbe84d9 which is listed in line 1473243 as EU Rev10. So based on IPGE it always finds the EU version first.
I have NO idea how it works for aspoke sad

Offline

#8 2021-01-20 01:23:40

AsPoke3172
Member
Registered: 2010-04-21
Posts: 169

Re: Cheats Database Checksums not matching

Playing Pokemon Heart Gold USA and got....

CHEATS DATABASE CHECKSUM NOT MATCHING....

While EUROPE version was OK.... Sound likes something strange about between USA and EUROPE version..... sad

Better ask DeadSkullzJr about this....

Offline

#9 2021-01-20 01:39:18

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 5,452

Re: Cheats Database Checksums not matching

I am quite confident it's a bug in our code.
europe version works because europe version is first in cheat database, and our code only loads the first one
I am going to fix it. Wait for the next commit.

EDIT: done

Offline

#10 2021-01-20 14:49:47

AsPoke3172
Member
Registered: 2010-04-21
Posts: 169

Re: Cheats Database Checksums not matching

Testing 1-2-3..... Using latest GIT and.... YES!!!!! Say bye-bye to "Cheat Database Checksum not matching"!! big_smile

Is now OK for Pokemon Heart Gold and Soul Silver in USA version! Mission was completed! Just waiting for next release soon. smile

Offline

Board footer

Powered by FluxBB