[Scummvm-tracker] [ScummVM :: Bugs] #14875: COMMON: Fallback detection of games happen even when there are exact matches
ScummVM :: Bugs
trac at scummvm.org
Mon Aug 4 15:14:38 UTC 2025
#14875: COMMON: Fallback detection of games happen even when there are exact
matches
-------------------------+---------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Common
Version: | Resolution:
Keywords: | Game:
-------------------------+---------------------
Comment (by i30817):
If I'm understanding the issue correctly, you can use the command line
options -a and -p to add multiple games with much fewer false positives
and without having to choose.
The reason is that the command line interface is forced to choose a item,
and when the first item is already chosen (for a not aleatory example,
'unknown director game') it will almost always chose the next one (which
is usually the one where at least the filename being checked exists even
if the checksums isn't exactly right).
This saves a LOT of trouble with 'unknown ags' or 'unknown director'
games, even before you realize it's much faster (it isn't recurring over
the whole directory tree. Most people have their games intended to be at
the same level or in a few separate theme dirs and you can scan this way
way way faster than the gui).
I use (Linux):
rm -f add.log;find /absolutepathtonext/ScummVM
/absolutepathtonext/ScummVM_Text/ /absolutepathtonext/ScummVM_AGS/
-mindepth 1 -maxdepth 1 -type d -exec echo "{}" >> add.log \; -exec
scummvm -a -p"{}" >> add.log \;
saving the log is to search for dirs inside the base dirs (the three dirs
called /absolutepathtonext/ScummVM that scan no games, you can search for
'added 0').
This is usually because you messed up setting up the files and they're
more nested inside the dir than you need to scan it in a single pass
without recursion.
Note that avoiding recursion saves a lot of time with false positives
because some engines can add some false positives for subdirs for the same
game (which don't work). Ultima, toonstruck, Crusader engines are some of
them.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14875#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list