Kodewerx
https://www.kodewerx.org/forum/

NDS Game IDs
https://www.kodewerx.org/forum/viewtopic.php?f=2&t=6375
Page 1 of 1

Author:  Hextator [ Sat Nov 29, 2008 11:28 am ]
Post subject:  NDS Game IDs

What region of a DS game is the checksum after the game code in a game ID of?

I was led to believe it was the whole ROM, but that's clearly not the case...

Author:  Narin [ Sat Nov 29, 2008 12:42 pm ]
Post subject:  Re: NDS Game IDs

Zeld wrote:
What region of a DS game is the checksum after the game code in a game ID of?

I was led to believe it was the whole ROM, but that's clearly not the case...


The first 4 characters is the game's interal region ID. The first three of which are the game's ID and the ID of the company who made the game. The last digit is the region identifier. E=USA, P=Palenstine/European, X=Multilanguage, J=Japanese, F=France, K=Korea, etc. The last 8 digits are a CRC check of the games headers, not the entire game itself.

Author:  Hextator [ Sat Nov 29, 2008 3:16 pm ]
Post subject: 

I knew how to FIND the first 4 characters, but I didn't know what it consisted of.

Narin wrote:
The last 8 digits are a CRC check of the games headers, not the entire game itself.

This is the part I didn't know about.

Can you be more specific on what entails the header(s) that are being hashed? I'd like to be able to calculate it myself should I find a need. If it's a complex process to do by hand then I guess I'm stuck using existing applications. If it's a single area that's easily located (or perhaps always in the same spot!) then I'd like to know (my hex editor can do CRC32s of specific regions).

Interestingly enough, doing a CRC32 of an entire game in particular yields a checksum with the top 16 bits equal to the bottom 16. This in tandem with the fact that the checksum I got didn't match the one my Action Replay Code Manager was displaying gave me a surprise.

Author:  Helder [ Sat May 09, 2009 2:54 pm ]
Post subject:  Re: NDS Game IDs

Using NDS Header Tool 2.0 I get the first 4 characters easily, but it has a CRC16 of the header which is only 4 characters long, how can I extract the header and then CRC32 the header for the correct 8 character string? and does it matter if the secure area is decrypted? how long is the header as well so I know exactly how many characters to CRC32 for the hash.

Author:  Helder [ Sat May 09, 2009 3:20 pm ]
Post subject:  Re: NDS Game IDs

Sorry for the double post but using R4CCE and encrypting the secure area of the rom using eNDryptS I was able to get all the info for the Game ID. Just found out that you can use decrypted secure are rom as well.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/