mika76 / mamesaver

Mamesaver is a mame emulated screensaver - get all the good ol' games playing their demo modes while you procrastinate and enjoy!
https://mika76.github.io/mamesaver/
MIT License
37 stars 10 forks source link

Not finding games #60

Closed rodneylives closed 2 years ago

rodneylives commented 2 years ago

The screensaver doesn't seem to be finding available roms. Its list of games in setting is empty. It might have to do with them being stored outside of MAME's internal roms folder, but shouldn't the screensaver be able to find the rom collection from MAME's config?

I'm using Mamesaver 3.0, and MAME 244, on Windows 10.

I have tried it with MAME 200, with no difference.

Copying the files to MAME's roms folder, on the other hand, seems like it works. (It doesn't fail immediately, but puts its progress bar up for a while. I'll supply more information once its done building.)

mika76 commented 2 years ago

Can you post your config file? Mamesaver get's the rom path from the config file so theoretically it should work fine... (https://github.com/mika76/mamesaver/blob/8cc835cfa2de4852321dc6a8a8c323fc28c54a7a/Mamesaver/Services/Mame/GameListBuilder.cs#L277)

rodneylives commented 2 years ago

Hmm... this might be part of it, I can't find the config file that MAME uses to save the ROMs directory. I thought it would be in ui.ini, but I can't find it there. And in fact, when I launch MAME and set the directory, test a game to make sure it works, then exit, when I restart it, it's back to using its default folder. Odd.

In case it matters: my MAME directory is C:\Games\mame200, and my roms directory is in a user directory, under C:\Users(my account name)\ROMs\Arcade

mika76 commented 2 years ago

Strange.

Mamesaver basically uses Mame itself to tell us the rom path (using the -showconfig argument https://docs.mamedev.org/commandline/commandline-all.html). Maybe try recreate the mame.ini file and see what happens.

rodneylives commented 2 years ago

Ah, I think I've discovered the problem, it was on my end. Thanks for your assistance!

mika76 commented 2 years ago

@rodneylives glad you've sorted it - hope you enjoy Mamesaver 😊