Skip to content

Commit

Permalink
custom rules ESDE
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 26, 2024
1 parent cacf06f commit e26508a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
<entry>/usr/pkg/lib/libretro</entry>
</rule>
</core>
<emulator name="SHADPS4">
<!-- PS4 emulator ShadPS4 -->
<rule type="staticpath">
<entry>/run/media/mmcblk0p1/Emulation/tools/launchers/shadps4.sh</entry>
</rule>
</emulator>
<emulator name="YUZU">
<!-- Nintendo Switch emulator Yuzu -->
<rule type="systempath">
Expand Down
1 change: 1 addition & 0 deletions functions/ToolScripts/emuDeckESDE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ ESDE_init(){
rsync -avhp --mkpath "$EMUDECKGIT/chimeraOS/configs/emulationstation/custom_systems/es_find_rules.xml" "$(dirname "$es_rulesFile")" --backup --suffix=.bak
# This duplicates ESDE_addCustomSystemsFile but this line only applies only if you are resetting ES-DE and not the emulators themselves.
rsync -avhp --mkpath "$EMUDECKGIT/configs/emulationstation/custom_systems/es_systems.xml" "$(dirname "$es_systemsFile")" --backup --suffix=.bak
sed -i "s|/run/media/mmcblk0p1/Emulation|${emulationPath}|g" "$es_rulesFile"

ESDE_createLauncher
ESDE_addCustomSystems
Expand Down

0 comments on commit e26508a

Please sign in to comment.