Skip to content

niemasd/GameDB-N64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameDB-N64

Nintendo 64, part of GameDB.

Structured Downloads

Notes

Uniquely Identifying Games

The game folders in games have the structure NUS-NXXY-RRR, where XXY is the game code (also known as game ID), and RRR is the region code. The game code is stored directly within the ROM and can be used to uniquely identify the game:

  • The first 2 characters of the game code (XX in my notation above) are the Cartridge ID, which is at offsets 0x3C through 0x3D (inclusive) of the ROM header
  • The 3rd character of the game code (Y in my notation above) is the Country Code, which is at offset 0x3E of the ROM header

Note that the ROM header documentation assumes big-endian byte ordering, whereas some ROMs are little-endian. Before attempting to parse the game code from a ROM header, you first need to check the ROM's endianness, and if it is little-endian, you need to convert to big-endian. See the GameID N64 identification code for implementation details.

Sources

About

Nintendo 64

Resources

License

Stars

Watchers

Forks

Contributors

Languages