From 04428fc0b73716f5deadf997995b5a73b4017b04 Mon Sep 17 00:00:00 2001 From: Karojen <112473677+Karojen@users.noreply.github.com> Date: Mon, 13 Feb 2023 18:19:52 +1100 Subject: [PATCH] Added Cxbx-Reloaded and Xemu Flatpak --- files/presets/Microsoft Xbox.json | 140 +++++++++++++++++++++++++++++- 1 file changed, 137 insertions(+), 3 deletions(-) diff --git a/files/presets/Microsoft Xbox.json b/files/presets/Microsoft Xbox.json index 33a11d32c9..d8724d96f9 100644 --- a/files/presets/Microsoft Xbox.json +++ b/files/presets/Microsoft Xbox.json @@ -1,8 +1,75 @@ { - "Microsoft XBox - Xemu": { + "Microsoft Xbox - Cxbx-Reloaded": { "parserType": "Glob", - "configTitle": "Microsoft XBox - Xemu", - "steamCategory": "${XBox}", + "configTitle": "Microsoft Xbox - Cxbx-Reloaded", + "steamCategory": "${Xbox}", + "executableModifier": "\"${exePath}\"", + "romDirectory": "path-to-roms", + "steamDirectory": "${steamdirglobal}", + "startInDirectory": "", + "titleModifier": "${fuzzyTitle}", + "executableArgs": "\"${filePath}\"", + "onlineImageQueries": "${${fuzzyTitle}}", + "imagePool": "${fuzzyTitle}", + "imageProviders": [ + "SteamGridDB" + ], + "defaultImage": "", + "defaultTallImage": "", + "defaultHeroImage": "", + "defaultLogoImage": "", + "defaultIcon": "", + "localImages": "", + "localTallImages": "", + "localHeroImages": "", + "localLogoImages": "", + "localIcons": "", + "disabled": false, + "advanced": false, + "userAccounts": { + "specifiedAccounts": "", + "skipWithMissingDataDir": true, + "useCredentials": true + }, + "parserInputs": { + "glob": "${title}/@(default.xbe|DEFAULT.XBE)" + }, + "titleFromVariable": { + "limitToGroups": "", + "caseInsensitiveVariables": false, + "skipFileIfVariableWasNotFound": false, + "tryToMatchTitle": false + }, + "fuzzyMatch": { + "use": true, + "replaceDiacritics": true, + "removeCharacters": true, + "removeBrackets": true + }, + "executable": { + "path": "path-to-cxbxr.exe", + "shortcutPassthrough": false, + "appendArgsToExecutable": true + }, + "presetVersion": 3, + "imageProviderAPIs": { + "SteamGridDB": { + "nsfw": false, + "humor": false, + "imageMotionTypes": [ + "static" + ], + "styles": [], + "stylesHero": [], + "stylesLogo": [], + "stylesIcon": [] + } + } + }, + "Microsoft Xbox - Xemu": { + "parserType": "Glob", + "configTitle": "Microsoft Xbox - Xemu", + "steamCategory": "${Xbox}", "executableModifier": "\"${exePath}\"", "romDirectory": "path-to-roms", "steamDirectory": "${steamdirglobal}", @@ -65,5 +132,72 @@ "stylesIcon": [] } } + }, + "Microsoft Xbox - Xemu(Flatpak)": { + "parserType": "Glob", + "configTitle": "Microsoft Xbox - Xemu(Flatpak)", + "steamCategory": "${Xbox}", + "executableModifier": "\"${exePath}\"", + "romDirectory": "path-to-roms", + "steamDirectory": "${steamdirglobal}", + "startInDirectory": "", + "titleModifier": "${fuzzyTitle}", + "executableArgs": "run app.xemu.xemu -full-screen -dvd_path \"${filePath}\"", + "onlineImageQueries": "${${fuzzyTitle}}", + "imagePool": "${fuzzyTitle}", + "imageProviders": [ + "SteamGridDB" + ], + "defaultImage": "", + "defaultTallImage": "", + "defaultHeroImage": "", + "defaultLogoImage": "", + "defaultIcon": "", + "localImages": "", + "localTallImages": "", + "localHeroImages": "", + "localLogoImages": "", + "localIcons": "", + "disabled": false, + "advanced": false, + "userAccounts": { + "specifiedAccounts": "", + "skipWithMissingDataDir": true, + "useCredentials": true + }, + "parserInputs": { + "glob": "${title}@(.iso|.ISO)" + }, + "titleFromVariable": { + "limitToGroups": "", + "caseInsensitiveVariables": false, + "skipFileIfVariableWasNotFound": false, + "tryToMatchTitle": false + }, + "fuzzyMatch": { + "use": true, + "replaceDiacritics": true, + "removeCharacters": true, + "removeBrackets": true + }, + "executable": { + "path": "/usr/bin/flatpak", + "shortcutPassthrough": false, + "appendArgsToExecutable": true + }, + "presetVersion": 3, + "imageProviderAPIs": { + "SteamGridDB": { + "nsfw": false, + "humor": false, + "imageMotionTypes": [ + "static" + ], + "styles": [], + "stylesHero": [], + "stylesLogo": [], + "stylesIcon": [] + } + } } }