PCSX2: new logic

This commit is contained in:
XargonWan 2022-04-23 15:14:56 +09:00
parent 8ec08c80b0
commit 43860e4ced
2 changed files with 7 additions and 4 deletions

View file

@ -988,10 +988,9 @@ modules:
# Desktop entry
- cp com.xargon.retrodeck.desktop /app/share/applications/com.xargon.retrodeck.desktop
# Setup pcsx2
- mkdir -p /var/config/PCSX2/inis/
- ls -l /var/config/PCSX2/ #debug
- cp PCSX2_ui.ini /var/config/PCSX2/inis/
# Pcsx2
- mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs
- cp PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/PCSX2_ui.ini
#cleanup: ['*']
sources:

View file

@ -72,6 +72,10 @@ then
mkdir -p /var/config/retroarch/cores/
cp /app/share/libretro/cores/* /var/config/retroarch/cores/
# pcsx2
mkdir -p /var/config/PCSX2/inis/
cp /var/config/retroarch/emu-configs/PCSX2_ui.ini /var/config/PCSX2/inis/PCSX2_ui.ini
touch ~/retrodeck/.lock
kdialog --title "RetroDECK" --msgbox "Initialization completed.\nplease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n~/retrodeck/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIt's suggested to add RetroDECK to your Steam Library for a quick access."