Author Topic: Merged collection doesn't work  (Read 501 times)

Agent47

  • Global Moderator
  • Full Member
  • *****
  • Posts: 122
  • Karma: +4/-1
    • View Profile
Re: Merged collection doesn't work
« Reply #15 on: January 26, 2019, 08:52:56 PM »
Cool. I've been meaning to take a look at implementing some features but haven't had the time to do so yet due to lack of free time and other stuff.

firewater

  • Full Member
  • ***
  • Posts: 144
  • Karma: +1/-0
    • View Profile
Re: Merged collection doesn't work
« Reply #16 on: January 26, 2019, 08:56:41 PM »
Thanks a lot for your time keeping RetroFE alive Pieter! Hopefully this can get sorted out eventually. In the meantime, here's one I came up with so one can get around the issue. It's all based on using the per-game launcher feature (explained here: http://retrofe.nl/SMF/index.php?topic=51.0). There are 3 ways to go about it, and I'm gonna list them from most cumbersome to least.

1. You set up a game launcher that uses the complete address of the folder.
Code: [Select]
arguments = "M:/Media/Games/System/PlayStation/Tekken/Tekken.chd" -L "cores/mednafen_psx_libretro.dll"This will work for both the PlayStation collection, and the game. The cons is that you will end up having to create dozens of launchers (one for each game), which can get messy.
2. You set up a game launcher that uses the command the merged collection accepts as valid:
Code: [Select]
arguments = "%ITEM_DIRECTORY%\%ITEM_NAME%\%ITEM_NAME%.chd" -L "cores\mednafen_psx_libretro.dll"This will work for only the merged collection. If you were to open the game from the collections it's from, it won't.
3. You set up a new collection made exclusively for use in merged collections. So you create "PlayStation for Merged" with a command that merged collection accepts as valid:
Code: [Select]
arguments = "%ITEM_DIRECTORY%\%ITEM_NAME%\%ITEM_NAME%.chd" -L "cores\mednafen_psx_libretro.dll"This way you have a separate command for your normal PlayStation collection and the merged one (so the game will work on both), without having to create per-game launchers.

Do note that this launcher exception has to be created on the collection the merged one is retrieveing the games from (so on "PlayStation", not on "Fighting Games").

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1080
  • Karma: +18/-0
    • View Profile
    • Towel 42
Re: Merged collection doesn't work
« Reply #17 on: April 07, 2019, 09:33:55 PM »
After extensive testing I'm sure there's a bug with merged collection and recursive search. I'll illustrate it with an example were I'm using the launcher below for a PlayStation collection.

I'm going to need some more information on this one. I think it may have something to do with how your merged collection is setup. I just did a quick test for Neo-Geo CD using the hierarchical search, an empty .sub file (merging the entire collection), and %ITEM_FILEPATH% as argument, and it worked just fine.