From 1513a60d52583557b8b7511decb9c23b9c715dfd Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 7 Sep 2022 20:52:36 +0200 Subject: [PATCH] PCSX2: sedded configs --- emu-configs/PCSX2/PCSX2.ini | 10 +++++----- emu-configs/PCSX2/PCSX2_ui.ini | 2 +- retrodeck.sh | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/emu-configs/PCSX2/PCSX2.ini b/emu-configs/PCSX2/PCSX2.ini index 26bb2f01..6a820bf6 100644 --- a/emu-configs/PCSX2/PCSX2.ini +++ b/emu-configs/PCSX2/PCSX2.ini @@ -296,10 +296,10 @@ Multitap2_Slot4_Filename = Mcd-Multitap2-Slot04.ps2 [Folders] -Bios = ../../../../../retrodeck/bios/pcsx2 -Snapshots = ../../../../../retrodeck/screenshots -SaveStates = ../../../../../retrodeck/states -MemoryCards = ../../../../../retrodeck/saves/pcsx2 +Bios = ~/retrodeck/bios/pcsx2 +Snapshots = ~/retrodeck/screenshots +SaveStates = ~/retrodeck/states +MemoryCards = ~/retrodeck/saves/pcsx2 Logs = logs Cheats = cheats CheatsWS = cheats_ws @@ -446,4 +446,4 @@ PressureModifier = 0.500000 [GameList] -RecursivePaths = /home/deck/retrodeck/roms/ps2 +RecursivePaths = ~/retrodeck/roms/ps2 diff --git a/emu-configs/PCSX2/PCSX2_ui.ini b/emu-configs/PCSX2/PCSX2_ui.ini index 891b6cab..72e94628 100644 --- a/emu-configs/PCSX2/PCSX2_ui.ini +++ b/emu-configs/PCSX2/PCSX2_ui.ini @@ -40,7 +40,7 @@ UseDefaultLangs=enabled UseDefaultCheats=enabled UseDefaultCheatsWS=enabled UseDefaultTextures=enabled -Bios=/run/media/deck/DeckSD/retrodeck/roms/bios +Bios=~/retrodeck/roms/bios Snapshots=/var/config/PCSX2/snaps Savestates=/var/config/PCSX2/sstates MemoryCards=/var/config/PCSX2/memcards diff --git a/retrodeck.sh b/retrodeck.sh index f5ba4071..e5b7e580 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -98,8 +98,9 @@ standalones_init() { echo "Initializing PCSX2" echo "----------------------" mkdir -pv /var/config/PCSX2/inis/ - cp -fvr $emuconfigs/PCSX2_ui.ini /var/config/PCSX2/inis/ + cp -fvr $emuconfigs/PCSX2/* /var/config/PCSX2/inis/ sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2_ui.ini + sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2.ini cp -fvr $emuconfigs/GS.ini /var/config/PCSX2/inis/ cp -fvr $emuconfigs/PCSX2_vm.ini /var/config/PCSX2/inis/ dir_prep "$rdhome/states" "/var/config/PCSX2/sstates"