libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.22k stars 1.82k forks source link

The latest versions of RetroArch do not create MAME playlists #10441

Open xavierocampos opened 4 years ago

xavierocampos commented 4 years ago

This is not a post asking for help to generate a playlist because this can be done using an old version of Retroarch like version 1.7.5. This post is intended to make known a bug that has already been complained about by several people in the community and that for some reason is still dragging the latest versions of RetroArch: No MAME playlists are generated, for whatever reason.

I hope you can review it and fix it as I consider this a major bug, especially by order purists like me for whom manual scanning is not very helpful.

Greetings and thanks for your attention.

Sanaki commented 4 years ago

Enable "Scan without core match" in Playlists settings and they'll scan. That said, manual scan is still the best route, so long as you feed it a dat.

marcecj commented 3 years ago

I see this bug, too, in the Flatpak version. Enabling "Scan without core match" as mentioned above helps, but shouldn't be necessary, as I have appropriate MAME cores installed already. I do not recall seeing this behavior with other systems. EDIT: And by "systems" I mean in the RetroArch sense, e.g., Sega Genesis.

markwkidd commented 3 years ago

I have successfully scanned MAME playlists on more recent builds. Is this still an issue or can it be closed?

marcecj commented 3 years ago

I still see this in the Flatpak version from 2021-05-23, which is RetroArch version 1.9.3.

Sanaki commented 3 years ago

Given that arcade is based on a name match (and potentially stored hash matches), it'd require a completely new method added to the scanner to work properly. It's not going to magically resolve itself, because it's not a bug in the first place, rather a missing feature. It's also not in high demand since the manual scanner works well for the task, and adding it would slow down all -other- scanning.

markwkidd commented 3 years ago

Arcade matching is fully implemented in retroarch, and there are databases for each of the libretro mame cores. A name plus dat matching mode is also available through the manual scanner. There's no way to better support arcade scanning, it's very fully supported as is.

There is evidently a bug with the flatpack version. Are you sure you have downloaded the playlist scanning databases and that they're accessible locally? Totally sure you not only have MAME ROMs, but also that they're torrentzipped?

On Tue, Jun 1, 2021, 3:44 PM Sanaki @.***> wrote:

Given that arcade is based on a name match (and potentially stored hash matches), it'd require a completely new method added to the scanner to work properly. It's not going to magically resolve itself, because it's not a bug in the first place, rather a missing feature. It's also not in high demand since the manual scanner works well for the task, and adding it would slow down all -other- scanning.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/10441#issuecomment-852398916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVGC5X47Z2Z567JYKZ7W73TQU2CVANCNFSM4MGIXPTA .

Sanaki commented 3 years ago

There's no way to better support arcade scanning, it's very fully supported as is.

I disagree with this statement, but I also don't believe it's worth implementing better arcade scanning considering the overall effort required for minimal gain and the inevitable requirement that it be locked behind a setting to keep from slowing down the scans of everyone other than the extremely limited target audience.

markwkidd commented 3 years ago

Arcade scanning is already implemented. It took a lot of effort, but it's been done.

On Tue, Jun 1, 2021, 7:15 PM Sanaki @.***> wrote:

There's no way to better support arcade scanning, it's very fully supported as is.

I disagree with this statement, but I also don't believe it's worth implementing better arcade scanning considering the overall effort required for minimal gain and the inevitable requirement that it be locked behind a setting to keep from slowing down the scans of everyone other than the extremely limited target audience.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/10441#issuecomment-852549245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVGC5VJENFX56LANZ7FOC3TQVSYTANCNFSM4MGIXPTA .

marcecj commented 3 years ago

I had forgotten to update the cores, databases, etc., but that didn't change anything. To be clear: scanning for new content does work, but only when I enable "Scan without core match". I tested this by deleting the "MAME" playlist, which does not get created when "Scan without core match" is off, but then does after I turn it back on again. I also tried it after installing all MAME variants from the core downloader, but that didn't help.

I am open to the idea that my files are in an unexpected format, I'm not too clear on what RetroArch expects here. I thought, based also on the visual feedback the program gives, that it unpacks the files and checks their contents, so it should be the content that matters, no?

markwkidd commented 3 years ago

Could you download Alien Arena from the Arcade section of the retroarch online updater, then scan that romset? It's known to match the database.

I should have started by asking this.

On Wed, Jun 2, 2021, 11:49 AM Marc Joliet @.***> wrote:

I had forgotten to update the cores, databases, etc., but that didn't change anything. To be clear: scanning for new content does work, but only when I enable "Scan without core match". I tested this by deleting the "MAME" playlist, which does not get created when "Scan without core match" is off, but then does after I turn it back on again. I also tried it after installing all MAME variants from the core downloader, but that didn't help.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/10441#issuecomment-853141311, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVGC5X6DFNMM4UIRPXXIVDTQZHIXANCNFSM4MGIXPTA .

marcecj commented 3 years ago

Could you download Alien Arena from the Arcade section of the retroarch online updater, then scan that romset? It's known to match the database.

That worked, the game was added to the "Arcade Games" playlist.

markwkidd commented 3 years ago

Based on the fact that a known good Alien Arena romset does scan correctly, I believe your issue is most likely that you do not have romsets that are built and processed correctly for the versions of MAME that RetroArch supports. For example, you may have romsets in the 7z file format as opposed to zip, or they are built for a different version of MAME.

Can you check out these docs? https://docs.libretro.com/guides/arcade-getting-started/

I am pretty confident that if you start off with a different collection of romsets than you are using, you will be able to scan them with RetroArch.

On Thu, Jun 3, 2021, 8:30 AM Marc Joliet @.***> wrote:

Could you download Alien Arena from the Arcade section of the retroarch online updater, then scan that romset? It's known to match the database.

That worked, the game was added to the "Arcade Games" playlist.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/libretro/RetroArch/issues/10441#issuecomment-853831495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVGC5X3LCR2EX6W7ZLVYNTTQ5YVZANCNFSM4MGIXPTA .

OENIGMA commented 8 months ago

Enable "Scan without core match" in Playlists settings and they'll scan. That said, manual scan is still the best route, so long as you feed it a dat.

This Actually works. Thanks man!