Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"steamCategories": [
"Nintendo Game Boy - mGBA (Standalone)"
],
"executableArgs": "-f \"'${filePath}'\"",
"executableArgs": "-f \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"steamCategories": [
"Nintendo Game Boy Advance - mGBA (Standalone)"
],
"executableArgs": "-f \"'${filePath}'\"",
"executableArgs": "-f \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"steamCategories": [
"Nintendo Game Boy Color - mGBA (Standalone)"
],
"executableArgs": "-f \"'${filePath}'\"",
"executableArgs": "-f \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"configTitle": "Nintendo Switch - Citron",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/switch",
"executableArgs": "vblank_mode=0 %command% \"${filePath}\"",
"executableArgs": "vblank_mode=0 %command% -f -g \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"configTitle": "Nintendo Switch - Yuzu",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/switch",
"executableArgs": "vblank_mode=0 %command% -f -g \"'${filePath}'\"",
"executableArgs": "vblank_mode=0 %command% -f -g \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down
12 changes: 6 additions & 6 deletions configs/steam-rom-manager/userData/userConfigurations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3690,7 +3690,7 @@
"configTitle": "Nintendo Switch - Citron",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/switch",
"executableArgs": "vblank_mode=0 %command% \"${filePath}\"",
"executableArgs": "vblank_mode=0 %command% -f -g \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down Expand Up @@ -3776,7 +3776,7 @@
"configTitle": "Nintendo Switch - Eden",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/switch",
"executableArgs": "vblank_mode=0 %command% \"${filePath}\"",
"executableArgs": "vblank_mode=0 %command% -f -g \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down Expand Up @@ -3862,7 +3862,7 @@
"configTitle": "Nintendo Switch - Ryujinx",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/switch",
"executableArgs": "--fullscreen \"'${filePath}'\"",
"executableArgs": "--fullscreen \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle} (Ryujinx)",
Expand Down Expand Up @@ -6394,7 +6394,7 @@
"configTitle": "Sony PlayStation 2 - PCSX2",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "${romsdirglobal}/ps2",
"executableArgs": "-batch -fullscreen -nogui \"'${filePath}'\"",
"executableArgs": "-batch -fullscreen -nogui \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down Expand Up @@ -6481,7 +6481,7 @@
"steamDirectory": "${steamdirglobal}",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
"executableArgs": "--no-gui \"'${filePath}'\"",
"executableArgs": "--no-gui \"${filePath}\"",
"onlineImageQueries": "${${fuzzyTitle}}",
"imagePool": "${fuzzyTitle}",
"imageProviders": [
Expand Down Expand Up @@ -6562,7 +6562,7 @@
"configTitle": "Sony PlayStation 3 - RPCS3 (Installed PKG)",
"steamDirectory": "${steamdirglobal}",
"romDirectory": "/run/media/mmcblk0p1/Emulation/storage/rpcs3/dev_hdd0/game",
"executableArgs": "--no-gui \"'${filePath}'\"",
"executableArgs": "--no-gui \"${filePath}\"",
"executableModifier": "\"${exePath}\"",
"startInDirectory": "",
"titleModifier": "${fuzzyTitle}",
Expand Down
2 changes: 1 addition & 1 deletion functions/EmuScripts/emuDeckEden.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#variables
Eden_emuName="eden"
Eden_emuType="$emuDeckEmuTypeAppImage"
Eden_emuPath="$emusFolder/eden.AppImage"
Eden_emuPath="$emusFolder/Eden.AppImage"

Eden_configFile="$HOME/.config/eden/qt-config.ini"

Expand Down
34 changes: 15 additions & 19 deletions tools/launchers/citron.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
#!/bin/bash
. "$HOME/.config/EmuDeck/backend/functions/all.sh"
emulatorInit "citron"
emuName="citron" #parameterize me
emufolder="$emusFolder" # has to be applications for ES-DE to find it

#find full path to emu executable
exe=$(find $emufolder -iname "${emuName}*.AppImage" | sort -n | cut -d' ' -f 2- | tail -n 1 2>/dev/null)
. "$HOME/.config/EmuDeck/backend/functions/all.sh"
emulatorInit "$emuName"

echo $exe
# find full path to emulator appimage
appimage=$(find "$emusFolder" -iname "${emuName}*.AppImage" -print -quit 2>/dev/null)

#if appimage doesn't exist fall back to flatpak.
if [[ $exe == '' ]]; then
#flatpak
flatpakApp=$(flatpak list --app --columns=application | grep 'citron')
exe="/usr/bin/flatpak run "$flatpakApp
# if appimage doesn't exist fall back to flatpak
if [[ -z "$appimage" ]]; then
flatpakApp=$(/usr/bin/flatpak list --app --columns=application | grep -im1 "${emuName}")
set -- /usr/bin/flatpak run "$flatpakApp" "$@"
else
#make sure that file is executable
chmod +x $exe
# make sure the appimage is executable
chmod +x "$appimage"
set -- "$appimage" "$@"
fi

#run the executable with the params.
#Fix first '
param="${@}"
param=$(echo $param | sed -e 's/^/"/' -e 's/$/"/')
eval "${exe} -f -g ${param}"
echo "Launching ${emuName} with:" "$@"
"$@"

cloud_sync_uploadForced
rm -rf "$savesPath/.gaming";
rm -rf "$savesPath/.gaming"
36 changes: 16 additions & 20 deletions tools/launchers/eden.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
#!/bin/bash
. "$HOME/.config/EmuDeck/backend/functions/all.sh"
emulatorInit "eden"
emuName="Eden" #parameterize me
emufolder="$emusFolder" # has to be applications for ES-DE to find it
emuName="eden" #parameterize me

#find full path to emu executable
exe=$(find $emufolder -iname "${emuName}*.AppImage" | sort -n | cut -d' ' -f 2- | tail -n 1 2>/dev/null)
. "$HOME/.config/EmuDeck/backend/functions/all.sh"
emulatorInit "$emuName"

echo $exe
# find full path to emulator appimage
appimage=$(find "$emusFolder" -iname "${emuName}*.AppImage" -print -quit 2>/dev/null)

#if appimage doesn't exist fall back to flatpak.
if [[ $exe == '' ]]; then
#flatpak
flatpakApp=$(flatpak list --app --columns=application | grep 'Eden')
exe="/usr/bin/flatpak run "$flatpakApp
# if appimage doesn't exist fall back to flatpak
if [[ -z "$appimage" ]]; then
flatpakApp=$(/usr/bin/flatpak list --app --columns=application | grep -im1 "${emuName}")
set -- /usr/bin/flatpak run "$flatpakApp" "$@"
else
#make sure that file is executable
chmod +x $exe
# make sure the appimage is executable
chmod +x "$appimage"
set -- "$appimage" "$@"
fi

#run the executable with the params.
#Fix first '
param="${@}"
param=$(echo $param | sed -e 's/^/"/' -e 's/$/"/')
eval "${exe} -f -g ${param}"
echo "Launching ${emuName} with:" "$@"
"$@"

cloud_sync_uploadForced
rm -rf "$savesPath/.gaming";
rm -rf "$savesPath/.gaming"
34 changes: 15 additions & 19 deletions tools/launchers/suyu.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
#!/bin/bash
. "$HOME/.config/EmuDeck/backend/functions/all.sh"
emulatorInit "suyu"
emuName="suyu" #parameterize me
emufolder="$emusFolder" # has to be applications for ES-DE to find it

#find full path to emu executable
exe=$(find $emufolder -iname "${emuName}*.AppImage" | sort -n | cut -d' ' -f 2- | tail -n 1 2>/dev/null)
. "$HOME/.config/EmuDeck/backend/functions/all.sh"
emulatorInit "$emuName"

echo $exe
# find full path to emulator appimage
appimage=$(find "$emusFolder" -iname "${emuName}*.AppImage" -print -quit 2>/dev/null)

#if appimage doesn't exist fall back to flatpak.
if [[ $exe == '' ]]; then
#flatpak
flatpakApp=$(flatpak list --app --columns=application | grep 'citra')
exe="/usr/bin/flatpak run "$flatpakApp
# if appimage doesn't exist fall back to flatpak
if [[ -z "$appimage" ]]; then
flatpakApp=$(/usr/bin/flatpak list --app --columns=application | grep -im1 "${emuName}")
set -- /usr/bin/flatpak run "$flatpakApp" "$@"
else
#make sure that file is executable
chmod +x $exe
# make sure the appimage is executable
chmod +x "$appimage"
set -- "$appimage" "$@"
fi

#run the executable with the params.
#Fix first '
param="${@}"
param=$(echo $param | sed -e 's/^/"/' -e 's/$/"/')
eval "${exe} ${param}"
echo "Launching ${emuName} with:" "$@"
"$@"

cloud_sync_uploadForced
rm -rf "$savesPath/.gaming";
rm -rf "$savesPath/.gaming"