PCSX2: sedded configs

This commit is contained in:
XargonWan 2022-09-07 20:52:36 +02:00 committed by GitHub
parent dc04ad1dc3
commit 1513a60d52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View file

@ -296,10 +296,10 @@ Multitap2_Slot4_Filename = Mcd-Multitap2-Slot04.ps2
[Folders] [Folders]
Bios = ../../../../../retrodeck/bios/pcsx2 Bios = ~/retrodeck/bios/pcsx2
Snapshots = ../../../../../retrodeck/screenshots Snapshots = ~/retrodeck/screenshots
SaveStates = ../../../../../retrodeck/states SaveStates = ~/retrodeck/states
MemoryCards = ../../../../../retrodeck/saves/pcsx2 MemoryCards = ~/retrodeck/saves/pcsx2
Logs = logs Logs = logs
Cheats = cheats Cheats = cheats
CheatsWS = cheats_ws CheatsWS = cheats_ws
@ -446,4 +446,4 @@ PressureModifier = 0.500000
[GameList] [GameList]
RecursivePaths = /home/deck/retrodeck/roms/ps2 RecursivePaths = ~/retrodeck/roms/ps2

View file

@ -40,7 +40,7 @@ UseDefaultLangs=enabled
UseDefaultCheats=enabled UseDefaultCheats=enabled
UseDefaultCheatsWS=enabled UseDefaultCheatsWS=enabled
UseDefaultTextures=enabled UseDefaultTextures=enabled
Bios=/run/media/deck/DeckSD/retrodeck/roms/bios Bios=~/retrodeck/roms/bios
Snapshots=/var/config/PCSX2/snaps Snapshots=/var/config/PCSX2/snaps
Savestates=/var/config/PCSX2/sstates Savestates=/var/config/PCSX2/sstates
MemoryCards=/var/config/PCSX2/memcards MemoryCards=/var/config/PCSX2/memcards

View file

@ -98,8 +98,9 @@ standalones_init() {
echo "Initializing PCSX2" echo "Initializing PCSX2"
echo "----------------------" echo "----------------------"
mkdir -pv /var/config/PCSX2/inis/ 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_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/GS.ini /var/config/PCSX2/inis/
cp -fvr $emuconfigs/PCSX2_vm.ini /var/config/PCSX2/inis/ cp -fvr $emuconfigs/PCSX2_vm.ini /var/config/PCSX2/inis/
dir_prep "$rdhome/states" "/var/config/PCSX2/sstates" dir_prep "$rdhome/states" "/var/config/PCSX2/sstates"