mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Emulator configs code cleanup
This commit is contained in:
parent
74a7549104
commit
3370734643
|
@ -748,7 +748,6 @@ modules:
|
|||
# These must be put in home folder, managed by retrodeck.sh
|
||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/
|
||||
- cp es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
|
||||
- cp retrodeck-retroarch.cfg ${FLATPAK_DEST}/retrodeck/retrodeck-retroarch.cfg
|
||||
|
||||
# Logo, res
|
||||
- rm -f /app/share/emulationstation/resources/graphics/splash.svg
|
||||
|
@ -769,11 +768,13 @@ modules:
|
|||
- cp com.xargon.retrodeck.desktop /app/share/applications/com.xargon.retrodeck.desktop
|
||||
|
||||
# Configuring emulators:
|
||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs
|
||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||
# RetroArch
|
||||
- cp retroarch.cfg ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||
# Dolphin
|
||||
- cp Dolphin.ini ${FLATPAK_DEST}/retrodeck/emu-configs
|
||||
- cp Dolphin.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||
# Yuzu
|
||||
- cp qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs
|
||||
- cp qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
|
||||
|
||||
#cleanup: ['*']
|
||||
sources:
|
||||
|
|
25
retrodeck.sh
25
retrodeck.sh
|
@ -58,23 +58,20 @@ then
|
|||
mkdir -p ~/retrodeck/states
|
||||
mkdir -p ~/retrodeck/screenshots
|
||||
mkdir -p ~/retrodeck/bios
|
||||
mkdir -p /var/config/retroarch/
|
||||
|
||||
# ES-DE
|
||||
cp -r /app/retrodeck/tools/* /var/config/retrodeck/tools/
|
||||
|
||||
rm -rf /var/config/retroarch/system
|
||||
ln -s ~/retrodeck/bios /var/config/retroarch/system
|
||||
|
||||
# This should become a sed in the future
|
||||
cp /app/retrodeck/retrodeck-retroarch.cfg /var/config/retroarch/retroarch.cfg
|
||||
|
||||
mkdir -p /var/config/emulationstation/.emulationstation/custom_systems/tools/
|
||||
cp /app/retrodeck/tools-gamelist.xml /var/config/retrodeck/tools/gamelist.xml
|
||||
|
||||
mkdir -p /var/config/retroarch/cores/
|
||||
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
|
||||
# Initializing emulators configs
|
||||
emuconfigs=/app/retrodeck/emu-configs/
|
||||
|
||||
# Initializing standalone emulators configs
|
||||
# RetroArch
|
||||
mkdir -p /var/config/retroarch/cores/
|
||||
rm -rf /var/config/retroarch/system
|
||||
ln -s ~/retrodeck/bios /var/config/retroarch/system
|
||||
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
|
||||
cp $emuconfigs/retroarch.cfg /var/config/retroarch/
|
||||
|
||||
# Yuzu
|
||||
mkdir -p ~/retrodeck/bios/switch/
|
||||
|
@ -82,11 +79,11 @@ then
|
|||
mkdir -p /var/data/yuzu/registered
|
||||
ln -s ~/retrodeck/bios/switch/keys /var/data/yuzu/keys
|
||||
ln -s /var/data/yuzu/registered ~/retrodeck/bios/switch/registered
|
||||
cp /var/config/retroarch/emu-configs/qt-config.ini /var/config/yuzu/qt-config.ini
|
||||
cp $emuconfigs/qt-config.ini /var/config/yuzu/
|
||||
|
||||
# Dolphin
|
||||
mkdir -p /var/config/dolphin-emu/
|
||||
cp /var/config/retroarch/emu-configs/Dolphin.ini /var/config/dolphin-emu/Dolphin.ini
|
||||
cp $emuconfigs/Dolphin.ini /var/config/dolphin-emu/
|
||||
|
||||
# Locking RetroDECK
|
||||
touch ~/retrodeck/.lock
|
||||
|
|
Loading…
Reference in a new issue