Jump to content
LaunchBox Community Forums

Auto-Populate Rules Not Working


Drybonz

Recommended Posts

As requested by faeran... a separate thread regarding auto-populate rules not working.  Rules to not show a particular platform, etc in the playlist does not filter those properly.

As requested, pictured here are an example of the rules that aren't working.  The platforms that should be filtered still show in the playlist.  This happens if you add the rules to an existing playlist or create a new one with those rules already added.

 

Screenshot 12_12_2023 12_30_13 PM.png

Link to comment
Share on other sites

If you have multiple rows for the same field they are joined with an OR. Because of this you're not actually filtering out anything by platform. What you need to do is use: Platform - Has None of the Values - Arcade; LaserDisc and that that should give you the results you are looking for.

Link to comment
Share on other sites

14 hours ago, Retrofrogg said:

The "has none of the values" doesn't seem to work for version?

Version isn't typically a multi-string field so I'd have to look into the code to verify. If you version is "(USA) (Rev1)" (without quotes) and you say "None of the values - (USA)" it wouldn't fire on that because that is a single value. Multiple values need to be separated by a semicolon, so the games version would need to be "(USA);(Rev1)" which it typically isn't.

Link to comment
Share on other sites

So for example, here are the N64 "1080 Snowboarding" roms from the No-Intro set:

Screenshot2023-12-19204230.png.616f3d92aae6b11d76d76f05e20be429.png

And here is the "version" field in Launchbox for one of them:

Screenshot2023-12-19204828.png.ce0e7fb983d28e3e013e4ba24c9dc54e.png

You can see that "version" in this case contains three bracketed entries.

As it stands, I don't think it is possible to make an auto-playlist that looks to exclude more than one of these entries. So in this example, say I wanted a playlist without "Proto" and without "LodgeNet" in the version field, this would not be possible.

Am I correct in this? If so, it would be an extremely useful feature to have, in order to create a playlist that excludes these duplicates. Given that most No-Intro sets are like this, I'm surprised that it's not possible already. Unless I'm missing something? I know you can combine roms with the same title but that's not the path I'm on.

 

Edited by Retrofrogg
Link to comment
Share on other sites

30 minutes ago, Retrofrogg said:

I'm surprised that it's not possible already

It is, but as you stated it's not the path you're going down.

Right now it to work the way you're hoping it'd be work you'd need to split the values in parens with a semicolon, or we'd need to implement a "Doesn't Contain Any of the Values" sorta rule that would check if the strings were there at all or not (which I could see getting REALLY confusing alongside the "Has None of the Values" type).

Link to comment
Share on other sites

You mean I'd need to alter the filenames of the roms to include semicolons? Or use semicolons in the auto-playlist rule? The latter doesn't seem to work.

Obviously messing with filenames is not the most desireable option! Some kind of rule as you mention would probably do it? Yes the phrasing would have to be clear!

Link to comment
Share on other sites

Ah I see, ok. I guess doing that for all games would involve running some kind of "find and replace" rule on the platform xml. Then it would have to be redone every time a new game is imported. It's a workaround - but the ability for Launchbox to recognise blocks of text within the "version" field (that are not separated by semi-colons) would a very helpful feature. 

Link to comment
Share on other sites

  • 3 months later...
On 12/19/2023 at 7:15 PM, C-Beats said:

No, I'm saying you'd alter the Version information on your games to adhere to the multi-value rule of "different values are separated by semicolons". You don't need to touch filenames at all for much of anything in LaunchBox outside of initial scraping/detection.

I'm having the same problem with trying to customize my playlists and my searches led me to this thread.  How does LaunchBox fill in the Version field?  Does it get it from the Games DB or does it fill it on based on whatever is in parentheses in the file name?  Either way, since it sounds like the only way we can easily filter out one type of version from our playlist is if the version field separates each one with a semicolon, it's there any way to automatically do that?  Like I have so many games in LaunchBox that it would be impractical for me to manually add semicolon to every game's entry.  Or maybe can I suggest an improvement where when importing your ROMs, it will recognize the multiple versions and automatically separate them with semicolon?  Thank you. 

Link to comment
Share on other sites

8 hours ago, Clutz450 said:

I'm having the same problem with trying to customize my playlists and my searches led me to this thread.  How does LaunchBox fill in the Version field?  Does it get it from the Games DB or does it fill it on based on whatever is in parentheses in the file name?  Either way, since it sounds like the only way we can easily filter out one type of version from our playlist is if the version field separates each one with a semicolon, it's there any way to automatically do that?  Like I have so many games in LaunchBox that it would be impractical for me to manually add semicolon to every game's entry.  Or maybe can I suggest an improvement where when importing your ROMs, it will recognize the multiple versions and automatically separate them with semicolon?  Thank you. 

Version is basically anything in parens in the filename, that field doesn't get populated any other way automatically.

Link to comment
Share on other sites

Is there any way to achieve what we're trying to do @C-Beats? Basically we have No-Intro sets, need to have the roms separate in Launchbox (rather than combined) and want to create a main playlist that filters out duplicates using strings within the version field (rather than the whole version field). As @Clutz450 said, adding semicolons manually to the version fields isn't really tenable. To my mind, a new rule in the auto-playlist feature that looks within the version field would easily do it. 

Edited by Retrofrogg
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...