steam-rom-manager icon indicating copy to clipboard operation
steam-rom-manager copied to clipboard

Use path to found glob as "Start in" directory

Open rybandrei2014 opened this issue 1 year ago • 0 comments

Hi,

I would like to create parser for linux games that are run using Steam Runtime. Here is my configuration:

{ "parserType": "Glob", "configTitle": "Steam Runtime - SD", "steamDirectory": "/home/deck/.steam/steam", "steamCategory": "${Linux}", "romDirectory": "/run/media/mmcblk0p1/Steam Runtime", "executableArgs": "./start", "executableModifier": ""${exePath}"", "startInDirectory": "${filePath}", "titleModifier": "${fuzzyTitle}", "imageProviders": [ "SteamGridDB" ], "onlineImageQueries": "${${fuzzyTitle}}", "imagePool": "${fuzzyTitle}", "userAccounts": { "specifiedAccounts": "" }, "executable": { "path": "/home/deck/.steam/bin32/steam-runtime/run.sh", "shortcutPassthrough": false, "appendArgsToExecutable": true }, "parserInputs": { "glob": "${title}/**/start" }, "titleFromVariable": { "limitToGroups": "", "caseInsensitiveVariables": false, "skipFileIfVariableWasNotFound": false, "tryToMatchTitle": false }, "fuzzyMatch": { "replaceDiacritics": true, "removeCharacters": true, "removeBrackets": true }, "controllers": { "ps4": null, "ps5": null, "xbox360": null, "xboxone": null, "switch_joycon_left": null, "switch_joycon_right": null, "switch_pro": null, "neptune": null }, "imageProviderAPIs": { "SteamGridDB": { "nsfw": true, "humor": false, "styles": [], "stylesHero": [], "stylesLogo": [], "stylesIcon": [], "imageMotionTypes": [ "static" ] } }, "defaultImage": { "tall": "", "long": "", "hero": "", "logo": "", "icon": "" }, "localImages": { "tall": "/run/media/mmcblk0p1/SteamGrid/${fuzzyTitle}/grid-tall.@(png|PNG|jpg|JPG|jpeg|JPEG|webp|WEBP)", "long": "/run/media/mmcblk0p1/SteamGrid/${fuzzyTitle}/grid.@(png|PNG|jpg|JPG|jpeg|JPEG|webp|WEBP)", "hero": "/run/media/mmcblk0p1/SteamGrid/${fuzzyTitle}/hero.@(png|PNG|jpg|JPG|jpeg|JPEG|webp|WEBP)", "logo": "/run/media/mmcblk0p1/SteamGrid/${fuzzyTitle}/logo.@(png|PNG|jpg|JPG|jpeg|JPEG|webp|WEBP)", "icon": "/run/media/mmcblk0p1/SteamGrid/${fuzzyTitle}/icon.@(png|PNG|jpg|JPG|jpeg|JPEG|webp|WEBP)" }, "parserId": "16578998189096927", "version": 15 }

The provided configuration is invalid because I use variable filePath for "Start in" directory option. Is it possible to somehow parameterize "Start in" directory with path of found glob?

rybandrei2014 avatar Jan 02 '24 22:01 rybandrei2014