mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
feat: bind retrobat sudachi portable folder
Sudachi.Generator.cs:28-30 creates user/ beside sudachi.exe, and sudachi reads it as PORTABLE_DIR (path_util.cpp:92, fs_paths.h:9) in place of %APPDATA%. Its keys now go below emulators/sudachi/user/.
This commit is contained in:
1 parent
24eab97bc7
commit
ada5f01cd1
4 files changed
+16
No files matched your search
@@ -14,6 +14,10 @@ cores:
|
||||
- sudachi
|
||||
systems: [nintendo-switch]
|
||||
mode: standalone
|
||||
standalone_directories:
|
||||
- "$XDG_DATA_HOME/sudachi"
|
||||
- "$HOME/.local/share/sudachi"
|
||||
- "PORTABLE_DIR"
|
||||
|
||||
data_root:
|
||||
windows:
|
||||
|
||||
@@ -4999,6 +4999,14 @@ launchers:
|
||||
passes_to: PORTABLE_DIR, the portable folder beside shadPS4.exe
|
||||
fails_when_missing: false
|
||||
source_ref: "emulatorLauncher/Generators/ShadPS4.Generator.cs:29, 158-160"
|
||||
- emulator: sudachi
|
||||
build: standalone
|
||||
kind: passes_path
|
||||
names: []
|
||||
search_dir: "<AppConfig.GetFullPath(\"sudachi\")>/user"
|
||||
passes_to: PORTABLE_DIR, the portable folder beside sudachi.exe
|
||||
fails_when_missing: false
|
||||
source_ref: "emulatorLauncher/Generators/Sudachi.Generator.cs:20, 29-30"
|
||||
- emulator: yuzu
|
||||
build: standalone
|
||||
kind: passes_path
|
||||
|
||||
@@ -63,6 +63,7 @@ SOURCE_FILES = (
|
||||
f"{GENERATORS}/ScummVm.Generator.cs",
|
||||
f"{GENERATORS}/ShadPS4.Generator.cs",
|
||||
f"{GENERATORS}/Snes9x.Generator.cs",
|
||||
f"{GENERATORS}/Sudachi.Generator.cs",
|
||||
f"{GENERATORS}/Tsugaru.Generator.cs",
|
||||
f"{GENERATORS}/Uae.Generator.cs",
|
||||
f"{GENERATORS}/Xemu.Generator.cs",
|
||||
@@ -2992,6 +2993,7 @@ PORTABLE_USERS = (
|
||||
("Eden.Generator.cs", "eden", "eden.exe", "PORTABLE_DIR"),
|
||||
("Ryujinx.Generator.cs", "ryujinx", "Ryujinx.exe", "DefaultPortableDir"),
|
||||
("ShadPS4.Generator.cs", "shadps4", "shadPS4.exe", "PORTABLE_DIR"),
|
||||
("Sudachi.Generator.cs", "sudachi", "sudachi.exe", "PORTABLE_DIR"),
|
||||
("Yuzu.Generator.cs", "yuzu", "yuzu.exe", "PORTABLE_DIR"),
|
||||
)
|
||||
_EMULATOR_FOLDER = (
|
||||
|
||||
@@ -197,6 +197,7 @@ class APortableUserFolder(unittest.TestCase):
|
||||
f"{rl.GENERATORS}/Eden.Generator.cs": source("e", yuzu_like("eden.exe")),
|
||||
f"{rl.GENERATORS}/Ryujinx.Generator.cs": source("r", self.RYUJINX),
|
||||
f"{rl.GENERATORS}/ShadPS4.Generator.cs": source("s", self.SHADPS4),
|
||||
f"{rl.GENERATORS}/Sudachi.Generator.cs": source("u", yuzu_like("sudachi.exe")),
|
||||
f"{rl.GENERATORS}/Yuzu.Generator.cs": source("y", yuzu_like("yuzu.exe")),
|
||||
}
|
||||
|
||||
@@ -208,6 +209,7 @@ class APortableUserFolder(unittest.TestCase):
|
||||
("eden", '<AppConfig.GetFullPath("eden")>/user', "e:3, 7-8"),
|
||||
("ryujinx", '<AppConfig.GetFullPath("ryujinx")>/portable', "r:3-5"),
|
||||
("shadps4", '<AppConfig.GetFullPath("shadps4")>/user', "s:3, 8-10"),
|
||||
("sudachi", '<AppConfig.GetFullPath("sudachi")>/user', "u:3, 7-8"),
|
||||
("yuzu", '<AppConfig.GetFullPath("yuzu")>/user', "y:3, 7-8")],
|
||||
)
|
||||
ryujinx = found[2]
|
||||
|
||||
Reference in new issue
Block a user