mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Merge branch 'cooker-0.6.3b' of https://github.com/XargonWan/RetroDECK into cooker-0.6.3b
This commit is contained in:
commit
46667fda98
|
@ -869,9 +869,10 @@ xemu_init() {
|
||||||
mkdir -pv $rdhome/saves/xbox/xemu/
|
mkdir -pv $rdhome/saves/xbox/xemu/
|
||||||
# removing config directory to wipe legacy files
|
# removing config directory to wipe legacy files
|
||||||
rm -rf /var/config/xemu
|
rm -rf /var/config/xemu
|
||||||
mkdir -pv /var/data/xemu/
|
rm -rf /var/data/xemu
|
||||||
cp -fv $emuconfigs/xemu.toml /var/data/xemu/xemu.toml
|
dir_prep "/var/config/xemu" "/var/data/xemu" # Creating config folder in /var/config for consistentcy and linking back to original location where emulator will look
|
||||||
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/data/xemu/xemu.toml
|
cp -fv $emuconfigs/xemu.toml /var/config/xemu/xemu.toml
|
||||||
|
sed -i 's#/home/deck/retrodeck#'$rdhome'#g' /var/config/xemu/xemu.toml
|
||||||
# Preparing HD dummy Image if the image is not found
|
# Preparing HD dummy Image if the image is not found
|
||||||
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
if [ ! -f $rdhome/bios/xbox_hdd.qcow2 ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -203,12 +203,18 @@ post_update() {
|
||||||
# In version 0.6.2b, the following changes were made that required config file updates/reset:
|
# In version 0.6.2b, the following changes were made that required config file updates/reset:
|
||||||
# - Put Dolphin and Primehack save states in different folders inside $rd_home/states
|
# - Put Dolphin and Primehack save states in different folders inside $rd_home/states
|
||||||
# - Fix symlink to hard-coded PICO-8 config folder (dir_prep doesn't like ~)
|
# - Fix symlink to hard-coded PICO-8 config folder (dir_prep doesn't like ~)
|
||||||
|
# - Overwrite Citra and Yuzu configs, as controller mapping was broken due to emulator updates.
|
||||||
|
|
||||||
dir_prep "$rdhome/states/dolphin" "/var/data/dolphin-emu/StateSaves"
|
dir_prep "$rdhome/states/dolphin" "/var/data/dolphin-emu/StateSaves"
|
||||||
dir_prep "$rdhome/states/primehack" "/var/data/primehack/StateSaves"
|
dir_prep "$rdhome/states/primehack" "/var/data/primehack/StateSaves"
|
||||||
|
|
||||||
rm -rf "$HOME/~/" # Remove old incorrect location from 0.6.2b
|
rm -rf "$HOME/~/" # Remove old incorrect location from 0.6.2b
|
||||||
dir_prep "$bios_folder/pico-8" "$HOME/.lexaloffle/pico-8" # Store binary and config files together. The .lexaloffle directory is a hard-coded location for the PICO-8 config file, cannot be changed
|
dir_prep "$bios_folder/pico-8" "$HOME/.lexaloffle/pico-8" # Store binary and config files together. The .lexaloffle directory is a hard-coded location for the PICO-8 config file, cannot be changed
|
||||||
|
|
||||||
|
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
|
||||||
|
cp -fvr $emuconfigs/yuzu/* /var/config/yuzu/
|
||||||
|
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/yuzu/qt-config.ini
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# The following commands are run every time.
|
# The following commands are run every time.
|
||||||
|
|
Loading…
Reference in a new issue