its hard to catch ghosts hearing only "he always goes that way!".
get it into a state where it always happens with one specific game youre trying, then close the tool and reopen it to check it is still doing it with that specific game, then close it, send me in dm a copy of your db.sqlite3 and a list of all the folders in you selected exe dir (copy pasting for a "dir" or "ls" in cmd/terminal is fine)
same for
Xakorik
UNLESS, both your cases are exactly as i explain below:
i swear if this is the same exact reason that all of you fools have been complaining, with the same exact mistake... xD
it is not showing the folder for "Long Story Short". it is showing the folder for "Long Story Short - Renpy".
to allow the user to choose to have different folder structures, it tries to find subfolders, in this order:
- the game category (aka "RenPy" for "Black Diamond" from the video)
- the game developer (aka "Deus Actum" for "Black Diamond" from the video)
- the game name, with " collection" removed from the end if present (aka "Black Diamond" for "Black Diamond" from the video)
this is so one can choose to have more structure, and have folders for each category and/or developer
valid structures are for example:
- ExeDir/Category/Developer/Game
- ExeDir/Developer/Game
- ExeDir/Category/Game
- ExeDir/Game
when trying to match a subfolder based on each of these components, it uses the same function. this function first
transforms the component into a clean representation (only letters, numbers and spaces, with "&" replaced by "and"),
then uses this clean representation to try 3 things:
- if a folder exists with that exact clean name, it selects that
- if from all the folders, only one contains that exact clean text, it selects that
- tries to do a fuzzy match against all folders, and if the highest match is above 85% match it uses that
the idea is that a folder with the exact name is the best, slight variations in name are caught by fuzzy matching, but some folks use folders with version numbers in them (theyre fools) and that often means less than 85% fuzzy match, so it uses that if only 1 folder exists containing that clean text.
the problem is that all of you fools have the same exact 1 single folder with "- Renpy" at the end.
the first thing it tries to match is the category name, which is "RenPy", and there is only one folder with it: "Long Story Short - Renpy"
now, i will admit that matching based on containing the clean text regardless of percentage if there is only 1 folder contains it is not super intuitive here.
it makes sense for game names since some like to keep the version in the folder name. but for categories and developers, maybe not so much.
i'll make it so the "only one folder contains the clean text" rule is only tried on game names, not categories or developer names.
EDIT: this is now fixed in latest beta. also im sorry for how this message sounded, i meant fools in a playful manner but didnt manage to make it sound that way.