mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
Merge branch 'cooker-0.6.2b' of https://github.com/XargonWan/RetroDECK into cooker-0.6.2b
This commit is contained in:
commit
d6327f0e23
|
@ -1037,16 +1037,14 @@
|
|||
<theme>pcfx</theme>
|
||||
</system>
|
||||
<system>
|
||||
<name>pico8</name>
|
||||
<fullname>PICO-8 Fantasy Console</fullname>
|
||||
<manufacturer>Lexaloffle</manufacturer>
|
||||
<release>2015</release>
|
||||
<hardware>console</hardware>
|
||||
<path>%ROMPATH%/pico8</path>
|
||||
<extension>.p8 .P8 .png .PNG</extension>
|
||||
<command label="PICO-8 (Standalone)">%EMULATOR_PICO-8% -desktop ~/retrodeck/screenshots -windowed 0 -root_path %ROMPATH%/pico8 -run %ROM%</command>
|
||||
<platform>pico8</platform>
|
||||
<theme>pico8</theme>
|
||||
<name>pico8</name>
|
||||
<fullname>PICO-8 Fantasy Console</fullname>
|
||||
<path>%ROMPATH%/pico8</path>
|
||||
<extension>.p8 .P8 .png .PNG</extension>
|
||||
<command label="PICO-8 (Standalone)">%EMULATOR_PICO-8% -desktop_path ~/retrodeck/screenshots -root_path %GAMEDIR% -run %ROM%</command>
|
||||
<command label="PICO-8 Splore (Standalone)">%EMULATOR_PICO-8% -desktop_path ~/retrodeck/screenshots -root_path %GAMEDIR% -splore</command>
|
||||
<platform>pico8</platform>
|
||||
<theme>pico8</theme>
|
||||
</system>
|
||||
<system>
|
||||
<name>pokemini</name>
|
||||
|
|
|
@ -1259,7 +1259,6 @@ finit() {
|
|||
mkdir -pv $saves_folder
|
||||
mkdir -pv $states_folder
|
||||
mkdir -pv $rdhome/screenshots
|
||||
mkdir -pv $rdhome/bios/pico8
|
||||
mkdir -pv $rdhome/.logs
|
||||
|
||||
# XMLSTARLET HERE
|
||||
|
@ -1270,7 +1269,9 @@ finit() {
|
|||
dir_prep "$themes_folder" "/var/config/emulationstation/.emulationstation/themes"
|
||||
|
||||
# PICO-8
|
||||
dir_prep "$roms_folder/pico8" "$rdhome/bios/pico8/bbs/carts" #this is the folder where pico-8 is saving the carts
|
||||
dir_prep "$bios_folder/pico-8" "~/.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 "$roms_folder/pico8" "$bios_folder/pico-8/carts" # Symlink default game location to RD roms for cleanliness (this location is overridden anyway by the --root_path launch argument anyway)
|
||||
dir_prep "$bios_folder/pico-8/cdata" "$saves_folder/pico-8" # PICO-8 saves folder
|
||||
|
||||
(
|
||||
ra_init
|
||||
|
|
|
@ -186,12 +186,18 @@ post_update() {
|
|||
# In version 0.6.2b, the following changes were made that required config file updates/reset:
|
||||
# - Primehack preconfiguration completely redone. "Stop emulation" hotkey set to Start+Select, Xbox and Nintendo keymap profiles were created, Xbox set as default.
|
||||
# - Duckstation save and state locations were dir_prep'd to the rdhome/save and /state folders, which was not previously done. Much safer now!
|
||||
# - Fix PICO-8 folder structure. ROM and save folders are now sane and binary files will go into ~/retrodeck/bios/pico-8/
|
||||
|
||||
rm -rf /var/config/primehack # Purge old Primehack config files. Saves are safe as they are linked into /var/data/primehack.
|
||||
primehack_init
|
||||
|
||||
dir_prep "$rdhome/saves/duckstation" "/var/data/duckstation/memcards"
|
||||
dir_prep "$rdhome/states/duckstation" "/var/data/duckstation/savestates"
|
||||
|
||||
mv "$bios_folder/pico8" "$bios_folder/pico8_olddata" # Move legacy (and incorrect / non-functional ) PICO-8 location for future cleanup / less confusion
|
||||
dir_prep "$bios_folder/pico-8" "~/.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 "$roms_folder/pico8" "$bios_folder/pico-8/carts" # Symlink default game location to RD roms for cleanliness (this location is overridden anyway by the --root_path launch argument anyway)
|
||||
dir_prep "$bios_folder/pico-8/cdata" "$saves_folder/pico-8" # PICO-8 saves folder
|
||||
fi
|
||||
|
||||
# The following commands are run every time.
|
||||
|
|
Loading…
Reference in a new issue