melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

GBA cartridge/save not being detected

Open Jaizu opened this issue 7 months ago • 14 comments

Setup: DS HeartGold rom + save that allows to transfer Pokémon from older generations Pokémon Fire Red ROM + save that allows to send Pokémon Nintendo DS Firmware + dios setup

Expected behavior:

  • Have the MIGRATE FROM FIRERED option in the main menu

Current behavior:

  • Option doesn't appear.

I made sure that:

  • ROMs and saves are working as intended, currently can't test on real hardware because my ds died and only have 2 dsi, but I tested on desmume with the same roms and saves and it shows there.

Melonds: image

Desmume: image

The gba save is in the same path as the gba rom, with the same name and .sav format, working fine with mGBA and properly detected with desmume.

Jaizu avatar Dec 03 '23 09:12 Jaizu

The gba save is in the same path as the gba rom, with the same name and .sav format, working fine with mGBA and properly detected with desmume.

I think that is the issue, try putting the .sav file of the GBA game on the same path that you have the DS .sav files

KostaSaizo7 avatar Dec 03 '23 09:12 KostaSaizo7

That didn't change a thing.

Jaizu avatar Dec 03 '23 09:12 Jaizu

Welp, I can't reproduce the issue.

Make sure you have the latest build, from here: https://github.com/melonDS-emu/melonDS/actions?query=branch%3Amaster

Also make sure you are in DS mode, you insert the GBA cart before booting the DS cart and that you are using external bios and firmware files. MIGRATEMIGRATE2MIGRATE3

KostaSaizo7 avatar Dec 03 '23 09:12 KostaSaizo7

image image image image

GBA save in both folders with the correct name and file extension

What I did:

  • Open melonDS
  • Insert GBA cart
  • Insert ds cart
  • Boot firmware
  • Select my ds game
  • Same issue

I tried using the latest builds that you linked instead of latest release but that build doesn't allow me to edit the settings for some reason image

Jaizu avatar Dec 03 '23 10:12 Jaizu

Oh also check the gba sav file size. It should be 128kb.

If it is 129kb, then you should use mgba to convert it without the appended rtc info.

KostaSaizo7 avatar Dec 03 '23 10:12 KostaSaizo7

My save is fine, its 128kb, used with mgba and desmume without any problems.

Jaizu avatar Dec 03 '23 11:12 Jaizu

wait?recharged-yellow.gba?Why rom hack?

ashgx avatar Dec 04 '23 14:12 ashgx

wait?recharged-yellow.gba?Why rom hack?

I'm a dev, I was testing my game. Tested with other games to confirm that it wasn't a me issue. My game and vanilla games work fine in desmume, none worked for me in melonds. I'm giving up with this tho, I feel like there is very little interest into having it fixed or figuring it out why it doesnt happen to everybody, I will just use desmume for my needs, good luck with future bug reports related to this.

Jaizu avatar Dec 14 '23 11:12 Jaizu

if the issue persists, the issue can stay open.

RSDuck avatar Dec 14 '23 11:12 RSDuck

I tried using the latest builds that you linked instead of latest release but that build doesn't allow me to edit the settings for some reason

That's because you have multiple windows of melonDS open - you need to close one of them

patataofcourse avatar Dec 14 '23 11:12 patataofcourse

You can also upload your save files so someone else can try to reproduce the issue.

KostaSaizo7 avatar Dec 14 '23 12:12 KostaSaizo7

On melonDS I haven't been able to get that button to show up with LeafGreen and Platinum. LeafGreen save life was saved on mGBA Pokemon migration has these perquisites: "Unlock national dex in Platinum" and "have at least 6 pokemon on PC in LeafGreen .sav file"

Steps I did in melonDS Both roms and .sav files are in same folder as "Save files path:"

  1. Insert Rom Cart LeafGreen,GBA
  2. Open Rom PokemonPlatinum.nds
  3. Start emulation No migrate button

I wasn't able to find if out melonDS 0.9.5 has any console for debugging so I have no logs to share image

How I got migrate button to show up in DeSmuME 0.9.13

  1. place LeafGreen.gba LeafGreen.sav PokemonPlatinum.nds to [DeSmuME]/Roms
  2. convert platinum .sav to .dsv using this site https://www.save-editor.com/tools/wse_ds_save_converter.html
  3. place the 513kb .dsv file to desmume [DeSmuME]/Battery folder
  4. launch DeSmuME
  5. Config -> slot 2 -> LeafGreen.gba
  6. File ->Open ROM -> PokemonPlatinum.nds image

The save files Pokemon_Platinum_LeafGreen_save_files.zip

LeafGreen.sav 131 072 bytes PokemonPlatinum.sav 524 288 bytes PokemonPlatinum.dsv 524 410 bytes

Kaelygon avatar Feb 07 '24 17:02 Kaelygon

Never mind! I switched to external bios and firmware and finally the migration button shows even in melonDS 0.9.5

Kaelygon avatar Feb 07 '24 18:02 Kaelygon