libretro / Ishiiruka

GNU General Public License v2.0
4 stars 10 forks source link

Memory card file strange glitch #6

Open jmfergeau opened 4 years ago

jmfergeau commented 4 years ago

I'm using Retroarch on 2 OSes in the same machine: Windows 10 and Manjaro Linux. Both are using the same files for roms, thumbnails, saves and savestates while, of course, the rest (like the main config and the cores) stays dependent of the OS used.

Everything works pretty well everywhere, except for some very strange glitch regarding memory card files generated by the Dolphin core.

On Windows, everything is fine and the memorycard file is saved at D:\roms\TOOLS\retroarch\saves\User\GC\MemoryCardA.EUR.raw

But on Linux, strangely, it doesn't find it and, instead, saves a new memory card file called D:\roms\TOOLS\retroarch\saves\User\GC\MemoryCardA.EUR.raw (yes, that's the name) in my home folder.

Honestly, it made me chuckle but, well, not really what I expected. I'm not even sure of how I can correct this in my end. I don't even understand how retroarch could fetch that path when i explicitly set the saves path the right way in the config (since all the other saves for the other cores are found like expected)

OS: Windows 10 and Linux Manjaro 5.4.28-1 Retroarch 1.8.5

Note: this glitch is also in the Dolphin core

jmfergeau commented 4 years ago

After investigation, I found out that the path of the memorycard is written in retroarch/saves/User/Config/Dolphin.ini in the variable MemcardAPath. It is an absolute path and it shouldn't be one. Or this config file (or even all this User folder) shouldn't be written in the saves folder but more like in the config folder.