PICO-8: some fixes, still not fully working

This commit is contained in:
Xargon 2022-05-17 11:53:12 +09:00
parent aee919af92
commit 7ccd324a24
2 changed files with 11 additions and 1 deletions

View file

@ -131,6 +131,9 @@ then
mkdir -p /var/config/rpcs3/ mkdir -p /var/config/rpcs3/
cp $emuconfigs/config.yml /var/config/rpcs3/ cp $emuconfigs/config.yml /var/config/rpcs3/
# PICO-8
mkdir -p $roms_folder/pico-8
# Locking RetroDECK # Locking RetroDECK
touch ~/retrodeck/.lock touch ~/retrodeck/.lock

View file

@ -1,3 +1,10 @@
#!/bin/bash #!/bin/bash
~/retrodeck/bios/pico-8/pico8 -desktop ~/retrodeck/screenshots -windowed 0 -root_path %ROMPATH%/pico-8 -splore 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