Rosalie241 / RMG

Rosalie's Mupen GUI
GNU General Public License v3.0
611 stars 52 forks source link

Rom list cache doesn't work on Windows version. #46

Closed McCloud1710 closed 1 year ago

McCloud1710 commented 2 years ago

Greetings.

Every time I open RMG on Windows the rom list reload from scratch, like it was a first open after pointed the rom folder, turning every start slower. The cache on linux version works fine and the list shows up instantaneously even after a system restart.

Xii-Nyth commented 2 years ago

hmm its fine for me, is the folder its in set to read only?

McCloud1710 commented 2 years ago

Yep, the roms folder was set as read only. But I have changed permissions and the issue persists. I had tried both versions (installer and portable) and no difference.

Xii-Nyth commented 2 years ago

huh weird. where is you roms folder located?

McCloud1710 commented 2 years ago

I keep all my roms on a second HDD(not a external one), so I can use my emulators in both systems(I have W10 and Opensuse installed). The path is something like G:\Games\Emul\Roms\Nintendo\N64 .

Fun thing is that the emulator remember the rom path and load the roms without issues. It just don't keep the list cache.

Xii-Nyth commented 2 years ago

Oh ok then, was just making sure it wasnt on the first directory of the drive like C:\the roms or it sometimes has issues with permissions. That being said sometimes permissions get corrupted and will ahve to delete them and re add them.

Tasosgemah commented 1 year ago

I have the same issue. I have the roms in G:\Emulators\N64\Roms and it's not a read only folder.

Rosalie241 commented 1 year ago

Can you try again with v0.1.9?

Tasosgemah commented 1 year ago

Can you try again with v0.1.9?

Works now for me. Though, at the end of some "internal name" entries i'm seeing a question mark inside a square shape . Not a big deal though.

Rosalie241 commented 1 year ago

Can you show me a screenshot?

Tasosgemah commented 1 year ago

Can you show me a screenshot?

Untitled

It's random, sometimes when i open the emulator the names are shown correctly, other times they show this. It's about 50/50 chance.

Rosalie241 commented 1 year ago

Does https://github.com/Rosalie241/RMG/actions/runs/3508221216 fix it? (it'll take 20 mins to build from now so no rush in testing)

NOTE: you'll need to remove the cache before this, so remove the Cache/RomHeaderAndSettingsCache.cache file before testing that build

Tasosgemah commented 1 year ago

Yeah, looks like it's fixed, couldn't reproduce those artifacts so far.

Rosalie241 commented 1 year ago

it's been pushed as https://github.com/Rosalie241/RMG/commit/878f79e0477aab29d0a1a1d086a04ea6b8c57584, will be included in the next release :heart:, thank you for the report & help!

McCloud1710 commented 1 year ago

Greetings. And the issue is gone.

I have installed the new 0,1,9 and now the cache works fine on Windows too.

Thanks for fixing it :) .