mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Initialized savefolders
This commit is contained in:
parent
9cc922b860
commit
d8ae20dfad
|
@ -103,6 +103,7 @@ standalones_init() {
|
||||||
echo "Initializing PCSX2"
|
echo "Initializing PCSX2"
|
||||||
echo "----------------------"
|
echo "----------------------"
|
||||||
mkdir -pv /var/config/PCSX2/inis/
|
mkdir -pv /var/config/PCSX2/inis/
|
||||||
|
mkdir -pv "$rdhome/saves/ps2/pcsx2/memcards"
|
||||||
cp -fvr $emuconfigs/PCSX2/* /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
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/PCSX2/inis/PCSX2.ini
|
||||||
|
@ -116,6 +117,8 @@ standalones_init() {
|
||||||
echo "Initializing MELONDS"
|
echo "Initializing MELONDS"
|
||||||
echo "----------------------"
|
echo "----------------------"
|
||||||
mkdir -pv /var/config/melonDS/
|
mkdir -pv /var/config/melonDS/
|
||||||
|
mkdir -pv "$rdhome/saves/nds/melonds"
|
||||||
|
mkdir -pv "$rdhome/states/nds/melonds"
|
||||||
dir_prep "$rdhome/bios" "/var/config/melonDS/bios"
|
dir_prep "$rdhome/bios" "/var/config/melonDS/bios"
|
||||||
cp -fvr $emuconfigs/melonDS.ini /var/config/melonDS/
|
cp -fvr $emuconfigs/melonDS.ini /var/config/melonDS/
|
||||||
# Replace ~/retrodeck with $rdhome as ~ cannot be understood by MelonDS
|
# Replace ~/retrodeck with $rdhome as ~ cannot be understood by MelonDS
|
||||||
|
@ -126,6 +129,8 @@ standalones_init() {
|
||||||
echo "Initializing CITRA"
|
echo "Initializing CITRA"
|
||||||
echo "------------------------"
|
echo "------------------------"
|
||||||
mkdir -pv /var/config/citra-emu/
|
mkdir -pv /var/config/citra-emu/
|
||||||
|
mkdir -pv "$rdhome/saves/n3ds/citra/nand/"
|
||||||
|
mkdir -pv "$rdhome/saves/n3ds/citra/sdmc/"
|
||||||
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
|
||||||
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
|
||||||
#TODO: do the same with roms folders after new variables is pushed (check even the others qt-emu)
|
#TODO: do the same with roms folders after new variables is pushed (check even the others qt-emu)
|
||||||
|
|
Loading…
Reference in a new issue