Author Topic: Tagging and filtering games with the same name.  (Read 3359 times)

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Tagging and filtering games with the same name.
« on: July 04, 2021, 05:42:05 AM »
So, I have the three Aladdin games:

Disney's Aladdin by SIMS for the Master System
Aladdin by Virgin games for the Genesis
Disney's Aladdin by Capcom for the SNES

The genesis version is not a problem since it's just called "Aladdin" in thegamesdb instead of its name, "Disney's Aladdin". But there is a conflict between the Master System and the SNES version. Apparently AM can only tag one of the games that have the same name in a Display of a "Collection". That means the other game/s that was not "chosen" by AM is untaggable.

Is there a workaround to this? Like manually including the emulator name in the tag file?

So, something like:

Code: [Select]
2D Side-scrolling Platformer.tag

Disney's Aladdin Master System
Disney's Aladdin SNES

Instead of just:

Code: [Select]
2D Side-scrolling Platformer.tag

Disney's Aladdin
« Last Edit: July 04, 2021, 08:33:45 PM by Leecher »

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: Tagging and filtering games with the same name.
« Reply #1 on: July 04, 2021, 09:29:07 AM »
I would assume that because they are separate systems this would not be a problem. However, are you wanting to combine them into one list of '2D Performers' or something else?

In my roms for those systems it was just called "Aladdin' which might be why it wasn't tagged right (i.e. I have do not have info for it beyond the rom, title, and the system.) That info can be entered manually with caution into your list or you can rename the rom and re-scrape.
People want life easy..then complain about it

zpaolo11x

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • My deviantart page
Re: Tagging and filtering games with the same name.
« Reply #2 on: July 04, 2021, 09:35:22 AM »
This issue is mostly caused by the fact that, in mame, there's no risk of having games with the same rom name, which is the field used to save tags and favourites. I don't think you'll have two games with the same rom name in the same system, but of course this can happen if you create a "collection" of games from different systems.

In my layout I tried to "fix" this issue by completely changing the way collection favs and tags are managed: when a collection is created favs and tags are not taken from the file of the collection, but from the source files of the originating romlist. So if you add a tag to Alladin for SNES it will edit the tag files of the SNES romlist, not the one of the collection. The collection will "collect" the data from each originating romlist. That's in my opinion how things should work: it doesn't make much sense to have a collection where tags, favs etc are completely disconnected from the original romlists.

That said, I think in your case you can use a trick like this: rename the rom file with the same name, so they won't clash in the tags definition. I think there is a way to add some detail toa rom name without interfereing with scraping, not 100% sure though...

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Tagging and filtering games with the same name.
« Reply #3 on: July 04, 2021, 05:29:16 PM »
Thanks akafox. Thanks zpaolo11x. Yes. It is a collection.

I'm using this setup:
http://forum.attractmode.org/index.php?topic=4001.0

Yes, giving the games different names will kind of fix it, but it will also lose its info. And I don't think I should add the info manually. So, no. Surely, there must be a better way.

I'm thinking of using "Exceptions" in the global filters, but I don't understand how it works; how is exception different from filter?
« Last Edit: July 05, 2021, 04:58:04 AM by Leecher »

Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Tagging and filtering games with the same name.
« Reply #4 on: July 05, 2021, 04:31:40 PM »
Is there a way to rename the games but still get the game details; like in MAME games?

Example:
Code: [Select]
File name:
dkong.zip

Game name in AM:
DONKEY KONG (US SET 1)

Maybe I can keep the file name so that AM can still scrape its details and graphics, but displays a different game name, so that it's taggable in AM.

Example (SNES Game):
Code: [Select]
File name:
Disney's Aladdin.sfc

Game name in AM:
Disney's Aladdin (CAPCOM)

Maybe there's a way to create a local file (xml?) that AM can also look at when creating a romlist.


Leecher

  • Full Member
  • ***
  • Posts: 56
    • View Profile
Re: Tagging and filtering games with the same name.
« Reply #5 on: July 06, 2021, 03:49:22 AM »
A miracle just happened. :D

I gave up, and rename the Disney's Aladdin rom for the master system to "Disney's Aladdin (master system).sms"

And it got properly scrapped in thegamesdb.

So, now, there's no more name conflict.

"Aladdin.bin" for the genesis
"Disney's Aladdin.sfc" for the SNES
"Disney's Aladdin (master system).sms" for the Master System
« Last Edit: July 06, 2021, 03:52:54 AM by Leecher »