Willy-JL / F95Checker

GNU General Public License v3.0
101 stars 16 forks source link

Auto select exe folder by game name if it exists #102

Open RoxxxySin opened 7 months ago

RoxxxySin commented 7 months ago

The "Set exe dir" folder could be searched for an executable by matching folder name against the name of the game (possibly taking the game type into account too, e.g. renpy) when the "Add Exe" button is pushed.

I think this will save a lot of time adding games on a "game hoarders" machine (guilty as charged), when most of the time there's almost a 1-1 mapping between the game name and the game install folder.

Willy-JL commented 5 months ago

for now, this simply pre-selects the game folder if it exists. it expects a folder name with just letters, numbers, and spaces. "&" character is converted to "and". for example "Lorem & Ipsum - An example game" becomes "Lorem and Ipsum An example game". if this folder exists directly inside your set exe dir, then it will be shown by default.

Willy-JL commented 5 months ago

might expand on it in the future with showing a list of detected executables, but considering how many different kinds of executables ther could be, not fully set on it yet