Author Topic: Import romlist but only keep entries I have roms available  (Read 1640 times)

walknight

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Import romlist but only keep entries I have roms available
« on: August 01, 2020, 11:25:23 AM »
For some reason I cannot let AM auto create a romlist (using libretro cores for example).
So I tried to import a hyperlist format romlist.
That went successfully but I found the created romlist has all entries from the original hyperlist xml, not limited to the roms I actually have.
How do I limit the romlist to the roms I have?
Or more preferably, is there a way to keep a "complete" romlist, but when AM starts let it scan the rom directory and only display entries I actually have? That was the behavior of the front-end I used previously. That way I can add/remove roms without having to recreate the romlist.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1271
    • View Profile
Re: Import romlist but only keep entries I have roms available
« Reply #1 on: August 01, 2020, 01:33:17 PM »
When you import a romlist it will import everything unless you provide filters on the import. If you create a romlist in AM it will only have the entries for the roms you have.

If you want to have full romlist and only show entries for what you have you use a Global Filter like this.
Code: [Select]
        global_filter
                rule                 FileIsAvailable equals 1

walknight

  • Full Member
  • ***
  • Posts: 25
    • View Profile
Re: Import romlist but only keep entries I have roms available
« Reply #2 on: August 01, 2020, 05:44:22 PM »
Exactly what I wanted! Thanks!