Swordfish90 / Lemuroid

All in one emulator on Android!
GNU General Public License v3.0
2.69k stars 167 forks source link

Communication error on melonDS core #151

Open gabe-otter opened 3 years ago

gabe-otter commented 3 years ago

I'm running into an error when loading a pokemon platinum ROM, for example. It seems to work fine on the Desmume core, but I switched to MelonDS because it looked better. The save states work fine in loading and saving (which is my current work around), but for some reason loading the game through the actual save file (clicking restart on the ROM, and loading through the platinum menu) gives me the "communication error" attached, followed by a white screen that never goes away. I can then only restart the game and get the same issue. Loading a save state seems to work fine, though. Deleting my saves and starting a brand new file also gave me the same communication error.

I am running the 1.8.0 version on a OnePlus 7t, if that is important.

Screenshot_20201222-172909

Swordfish90 commented 3 years ago

Thank you for reporting this. Are you able to reproduce the issue only with Pokemon Platinum or is the issue widespread with your setup?

gabe-otter commented 3 years ago

Hi, I've just tried with Pokemon White version and was not able to reproduce the communication error, it seems to be only with the Platinum. I haven't tried other games yet but it seems like the problem might be coming from some nintendo wi-fi settings. I have not enabled them in either game (in fact, I'm not even able to load the menus screen before I get the error in Platinum). I'll see if I can find other games to reproduce the error with.

I've also downloaded MelonDS for Desktop on Windows, transferred my Platinum save file from the Lemuroid files location with the same ROM and I can actually load everything fine, so I doubt it is the ROM or a corrupt save file. And again the save states work on Lemuroid just fine.

Ashiix commented 3 years ago

I have some more info about this, it can be fixed by disabling audio syncing in libretro frontends that support this option. If you can add the option to disable it in Lemuroid it can be fixed very easily.

Ashiix commented 3 years ago

If, at some point, a config file is added, adding "audio_sync = false" to it will make it work.

shabbirmahmud commented 3 years ago

I get this communication error in every ds games like pokemon soul silver,white 2 etc.My core is melonds.I dont get this error on DeSmuMe.But DeSmuMe core is too laggy and the sound is also laggy too.I like melonds core bt I get this error in my save file from pc melonds.I think this is a wifi related issu.You can see(in the video below) that the wifi indicator of the game became full and showed this communication error. Its for very short time.So u have to see it very quickly.

Screenshot_2021-03-04-08-39-09-24_21f12b1316663fbd369c35432dda51b0 Screenshot_2021-03-04-08-39-43-60_21f12b1316663fbd369c35432dda51b0

https://user-images.githubusercontent.com/47573399/110050182-98a0ef80-7d7d-11eb-90ce-7c301286c14a.mp4

Turning on screen recorder make the game laggy.Please fix this too.

pokegamer5547 commented 3 years ago

Im having same issue with all of my DS pokemon games when using melon ds core

D4NH commented 3 years ago

I don't know if this will help, but I got the game running again by renaming the rom.

Dasnap commented 3 years ago

I'll add that I am also having this issue with Pokémon Soul Silver. The very first play session will be fine, but the first save, quit, and relaunch causes the communication error.

Dasnap commented 3 years ago

I've tested with HeartGold also and the same occurs.

shabbirmahmud commented 3 years ago

I get this all games which has wifi support and try to connect to the wifi after entering the game.

max-las commented 3 years ago

This is because firmware and/or BIOS are missing. The same issue occurs in Retroarch when you don't set up BIOS and firmware, and it's gone when they are present.

Caiuz89 commented 3 years ago

I'm having the same issue with pokemon soul silver, so im using the save states to continue.

Larichan commented 3 years ago

@max-las is right. I was having the same problem, and although my firmware and BIOS archives are in the right place, they weren't named correctly. Renamed them and worked properly on Pokémon Platinum.

Jevitate commented 3 years ago

How would you go about changing the file names on Android phone to fix this error for the pokemon games?

Dasnap commented 2 years ago

I oddly enough can't seem to get firmware.bin to be picked up on both my A52 and Chromecast, even though it is in an available directory. Screenshot_20220114-133155_Lemuroid Screenshot_20220114-133231_My Files

MyFilippo94 commented 2 years ago

Having the same issues, I also have this error loading saves with HeartGold, and can't seem to get firmware.bin recognized by Lemuroid.

Rodeeo commented 2 years ago

Same issue remains, Heartgold using melonds. Beat the elite 4 and get the game over screen and cant go back into the save file.

mia-riezebos commented 1 year ago

I encountered this error in platinum only after entering the underground on desmume, i read that it needs true wifi in platinum and only desmume supports that so far.

after saving my game in desmume AFTER getting items from the underground and having put them in my bag, melonds is unable to load the save file from the rom

kingsick96 commented 1 year ago

So Iv been digging around all day unfortunately I made the mistake of a saving in game and would get the communication error using the emulator on RetroArch Plus for android. I found out that you haft to delete the save file in order to solve this. I opened Google files and searched for Pokemon heartgold save and found the 300kb save file and deleted it. You won't be able to recover any game time but you can now play!! I hope this helps everyone and please spread the word

Geezgus commented 1 year ago

There's no need for deleting your data AFAIK, but when using melonDS, make sure to provide firmware files (usually called nds_firmware.bin or firmware.bin). that's basically it. just put this file wherever your roms are and choose it on BIOS settings. should be good to go