2022-06-30 18:30:49 +00:00
#!/bin/bash
zenity --title "RetroDECK" --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text="Doing some changes in the emulator's configuration may create serious issues,\nplease continue only if you know what you're doing.\n\nDo you want to continue?"
if [ $? == 1 ] #no
then
exit 0
fi
2022-07-04 20:49:58 +00:00
emulator="$(zenity --list \
2022-09-04 19:52:56 +00:00
--width=600 \
--height=350 \
2022-06-30 18:30:49 +00:00
--title "RetroDECK" \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--text="Which emulator do you want to configure?" \
--hide-header \
2022-07-04 20:49:58 +00:00
--column=emulator \
2022-06-30 18:30:49 +00:00
"RetroArch" \
"Citra" \
"Dolphin" \
2022-09-04 19:52:56 +00:00
"Duckstation" \
2022-06-30 18:30:49 +00:00
"MelonDS" \
2022-09-04 19:52:56 +00:00
"PCSX2-QT" \
2022-09-07 18:57:49 +00:00
"PCSX2-Legacy" \
2022-06-30 18:30:49 +00:00
"PPSSPP" \
"RPCS3" \
2022-07-18 08:47:51 +00:00
"XEMU" \
2022-06-30 18:30:49 +00:00
"Yuzu")"
2022-07-04 20:49:58 +00:00
if [ $emulator == "RetroArch" ]
2022-06-30 18:30:49 +00:00
then
retroarch
2022-07-04 20:49:58 +00:00
elif [ $emulator == "Citra" ]
2022-06-30 18:30:49 +00:00
then
citra-qt
2022-07-04 20:49:58 +00:00
elif [ $emulator == "Dolphin" ]
2022-06-30 18:30:49 +00:00
then
dolphin-emu
2022-09-04 19:52:56 +00:00
elif [ $emulator == "Duckstation" ]
then
duckstation-qt
2022-07-04 20:49:58 +00:00
elif [ $emulator == "MelonDS" ]
2022-06-30 18:30:49 +00:00
then
melonDS
2022-09-07 18:57:49 +00:00
elif [ $emulator == "PCSX2-Legacy" ]
2022-06-30 18:30:49 +00:00
then
pcsx2
2022-09-07 18:57:49 +00:00
elif [ $emulator == "PCSX2-QT" ]
2022-09-04 19:52:56 +00:00
then
pcsx2-qt
2022-07-04 20:49:58 +00:00
elif [ $emulator == "PPSSPP" ]
2022-06-30 18:30:49 +00:00
then
PPSSPPSDL
2022-07-04 20:49:58 +00:00
elif [ $emulator == "RPCS3" ]
2022-06-30 18:30:49 +00:00
then
rpcs3
2022-07-04 20:49:58 +00:00
elif [ $emulator == "Yuzu" ]
2022-06-30 18:30:49 +00:00
then
yuzu
2022-07-18 08:47:51 +00:00
elif [ $emulator == "XEMU" ]
then
xemu
2022-06-30 18:30:49 +00:00
fi