mgba icon indicating copy to clipboard operation
mgba copied to clipboard

Directory problem when using mGBA in portable mode with a front end.

Open TomTurbine opened this issue 3 years ago • 8 comments

Noticed when using EmulationStation Desktop edition.

When you launch it in portable mode from the front end, it tries to create directories in the folder with the EmulationStation executable instead of with the mGBA executable.

Can just move the bios, saves and all to that directory, but does make it less organized which can drive someones OCD nuts.

TomTurbine avatar Apr 11 '22 05:04 TomTurbine

Windows, I presume?

endrift avatar Apr 11 '22 05:04 endrift

Yes sir, using Windows 10. Sorry for the delayed response.

But yeah, been setting up EmulationStation on it and actually setting up a USB drive with a portable setup for the kids to be able to use too. Noticed it while looking over stuff.

TomTurbine avatar Apr 11 '22 08:04 TomTurbine

I'm having trouble reproducing this. Can you pull up the bug report dialog and generate a report while a game is running from EmulationStation having launched it?

endrift avatar Apr 17 '22 08:04 endrift

Just attempted it, had to turn on more things to log before anything showed up. With all but game errors turned on, this was all that turned up. To test it, all I did was boot Final Fantasy 6 Advance and select a new game option.

I had it output to "mGBA.Log" and it put that in the EmulationStation home directory as well instead of the mGBA folder. mGBA Log

Didn't show anything of interest in it from what I could tell.

For full information, I am using Windows 10 64 bit version. I am using EmulationStation Desktop Edition, using the newest mGBA with the portable file and its config setup as config.txt Had to rename it to txt otherwise github wouldn't let me upload it.

And here are my EmulationStation config files, also renamed to txt to send. es_find_rules.xml.txt es_systems.xml.txt

Not sure what else I can send. But the emulator itself works fine, it seems it just wants to treat the directory of the emulationstation launching it as its home directory instead of its actual directory.

TomTurbine avatar Apr 19 '22 15:04 TomTurbine

I was talking about the report generated by File > Report Bug

endrift avatar Apr 19 '22 17:04 endrift

Ah, my bad. I launched mGBA from EmulationStation and hit the Report Bug while it was running from it. Hopefully this helps.

Bug_Report.zip

TomTurbine avatar Apr 19 '22 20:04 TomTurbine

According to this bug report, the config file should be located in F:/EmulationStation-DE/Emulators/mGBA. It claims this is the same directory as the executable. And that's not the config file it uses?

endrift avatar Jul 14 '22 04:07 endrift

Haven't been playing GBA for a bit but the issue was that when you launched it from a front end, it no longer saved the stuff in the home directory of the emulator but instead it saved stuff to the home directory of the front end that launched it.

TomTurbine avatar Jul 15 '22 16:07 TomTurbine

The directory issue seems to be fixed with the newest update, much appreciated.

Tested it with Save games and Save states configured into relative directories inside the mGBA folder and worked perfectly with nothing left in the front ends folder.

TomTurbine avatar Oct 12 '22 23:10 TomTurbine