mvdnes / rboy

A Gameboy Emulator in Rust
MIT License
594 stars 38 forks source link

Cartridge checksum is invalid #26

Closed jcs090218 closed 2 hours ago

jcs090218 commented 2 hours ago

I'm beginner want to learn more about emulator. 🤔

I tried inputting the file Pokemon - Emerald Version (USA, Europe).gba but got the following error:

Cartridge checksum is invalid

I got the file from https://r-roms.github.io/megathread/popular/.

FYI, roms/cpu_instrs.gb does work!

Can you explain what went wrong? Does that mean the ROM isn't compatible with the emulator? Thanks!

mvdnes commented 2 hours ago

Hi, and welcome!

Yes, in this case the game is indeed incompatible. Pokémon Emerald is a Gameboy Advance game, while this emulator only supports the original Gameboy and Gameboy Color games.

The checksum being invalid is generally a good indication something is wrong. (I myself sometimes forget to unzip the ROM for example.) If in some other case you do think the ROM should be compatible, you can always try the emulator with the option --skip-checksum.

jcs090218 commented 2 hours ago

Ah, thank you for your clear explanation! :D