diff --git a/retrodeck.sh b/retrodeck.sh index 4edce33f..5b00a034 100755 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -130,6 +130,9 @@ then # RPCS3 mkdir -p /var/config/rpcs3/ cp $emuconfigs/config.yml /var/config/rpcs3/ + + # PICO-8 + mkdir -p $roms_folder/pico-8 # Locking RetroDECK diff --git a/tools/start-splore.sh b/tools/start-splore.sh index 5de224bc..74dd11de 100644 --- a/tools/start-splore.sh +++ b/tools/start-splore.sh @@ -1,3 +1,10 @@ #!/bin/bash -~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -root_path %ROMPATH%/pico-8 -splore \ No newline at end of file +if [ -d ~/retrodeck/roms/pico-8 ]; then + pico_folder=~/retrodeck/roms/pico-8 +elif [ -d /run/media/mmcblk0p1/retrodeck/roms/pico-8 ]; then + pico_folder=/run/media/mmcblk0p1/retrodeck/roms/pico-8 +fi + +echo $pico_folder >> ~/retrodeck/.retrodeck.log +~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -home ~/retrodeck/bios/pico-8 -root_path $pico_folder -splore >> ~/retrodeck/.retrodeck.log