mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 22:15:39 +00:00
- Added tools section but needs fixing
This commit is contained in:
parent
aeb477e1af
commit
1946df5fab
|
@ -496,8 +496,10 @@ modules:
|
||||||
- rm -f /app/share/emulationstation/resources/graphics/splash.svg
|
- rm -f /app/share/emulationstation/resources/graphics/splash.svg
|
||||||
- cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg
|
- cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg
|
||||||
|
|
||||||
#- find / -iname es_settings.xml #debug
|
# Tools
|
||||||
#- BREAK #debug
|
- mkdir -p ${FLATPAK_DEST}/retrodeck/tools/
|
||||||
|
- cp start-retroarch.sh ${FLATPAK_DEST}/retrodeck/tools/
|
||||||
|
- cp tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/
|
||||||
|
|
||||||
- cp retrodeck.sh /app/bin/retrodeck.sh
|
- cp retrodeck.sh /app/bin/retrodeck.sh
|
||||||
- chmod +x /app/bin/retrodeck.sh
|
- chmod +x /app/bin/retrodeck.sh
|
||||||
|
@ -518,6 +520,10 @@ modules:
|
||||||
path: retrodeck.sh
|
path: retrodeck.sh
|
||||||
- type: file
|
- type: file
|
||||||
path: retrodeck-retroarch.cfg
|
path: retrodeck-retroarch.cfg
|
||||||
|
- type: file
|
||||||
|
path: tools-gamelist.xml
|
||||||
- type: file
|
- type: file
|
||||||
path: res/splash.svg
|
path: res/splash.svg
|
||||||
|
- type: dir
|
||||||
|
path: tools
|
||||||
# create desktop entry
|
# create desktop entry
|
|
@ -92,7 +92,7 @@
|
||||||
<int name="SoundVolumeNavigation" value="70" />
|
<int name="SoundVolumeNavigation" value="70" />
|
||||||
<int name="SoundVolumeVideos" value="80" />
|
<int name="SoundVolumeVideos" value="80" />
|
||||||
<string name="ApplicationVersion" value="1.2.0" />
|
<string name="ApplicationVersion" value="1.2.0" />
|
||||||
<string name="CollectionSystemsAuto" value="" />
|
<string name="CollectionSystemsAuto" value="all" />
|
||||||
<string name="CollectionSystemsCustom" value="" />
|
<string name="CollectionSystemsCustom" value="" />
|
||||||
<string name="DefaultSortOrder" value="filename, ascending" />
|
<string name="DefaultSortOrder" value="filename, ascending" />
|
||||||
<string name="ExitButtonCombo" value="F4" />
|
<string name="ExitButtonCombo" value="F4" />
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<string name="MenuOpeningEffect" value="scale-up" />
|
<string name="MenuOpeningEffect" value="scale-up" />
|
||||||
<string name="MiximageBoxSize" value="medium" />
|
<string name="MiximageBoxSize" value="medium" />
|
||||||
<string name="MiximagePhysicalMediaSize" value="medium" />
|
<string name="MiximagePhysicalMediaSize" value="medium" />
|
||||||
<string name="MiximageResolution" value="1280x960" />
|
<string name="MiximageResolution" value="1280x800" />
|
||||||
<string name="MiximageScreenshotScaling" value="sharp" />
|
<string name="MiximageScreenshotScaling" value="sharp" />
|
||||||
<string name="ROMDirectory" value="~/roms" />
|
<string name="ROMDirectory" value="~/roms" />
|
||||||
<string name="SaveGamelistsMode" value="always" />
|
<string name="SaveGamelistsMode" value="always" />
|
||||||
|
|
|
@ -1418,4 +1418,13 @@
|
||||||
<platform>zxspectrum</platform>
|
<platform>zxspectrum</platform>
|
||||||
<theme>zxspectrum</theme>
|
<theme>zxspectrum</theme>
|
||||||
</system>
|
</system>
|
||||||
|
<system>
|
||||||
|
<name>tools</name>
|
||||||
|
<fullname>RetroDECK Tools</fullname>
|
||||||
|
<path>%ROMPATH%/../tools/</path>
|
||||||
|
<extension>.sh .SH</extension>
|
||||||
|
<command>./%ROM%</command>
|
||||||
|
<platform>tools</platform>
|
||||||
|
<theme>tools</theme>
|
||||||
|
</system>
|
||||||
</systemList>
|
</systemList>
|
|
@ -7,13 +7,20 @@ then
|
||||||
mkdir -p ~/retrodeck/saves
|
mkdir -p ~/retrodeck/saves
|
||||||
mkdir -p ~/retrodeck/states
|
mkdir -p ~/retrodeck/states
|
||||||
mkdir -p ~/retrodeck/screenshots
|
mkdir -p ~/retrodeck/screenshots
|
||||||
|
mkdir -p ~/retrodeck/tools
|
||||||
mkdir -p /var/config/retroarch/system
|
mkdir -p /var/config/retroarch/system
|
||||||
|
|
||||||
ln -s ~/.var/app/com.xargon.retrodeck/config/retroarch/system/ ~/retrodeck/bios
|
ln -s ~/.var/app/com.xargon.retrodeck/config/retroarch/system/ ~/retrodeck/bios
|
||||||
rm -rf ~/retrodeck/.emulationstation/es_settings.xml
|
rm -rf ~/retrodeck/.emulationstation/es_settings.xml
|
||||||
rm -rf ~/retrodeck/.emulationstation/es_input.xml
|
rm -rf ~/retrodeck/.emulationstation/es_input.xml
|
||||||
cp /app/retrodeck/es_settings.xml ~/retrodeck/.emulationstation/es_settings.xml
|
cp /app/retrodeck/es_settings.xml ~/retrodeck/.emulationstation/es_settings.xml
|
||||||
cp /app/retrodeck/es_settings.xml ~/retrodeck/.emulationstation/es_input.xml
|
cp /app/retrodeck/es_settings.xml ~/retrodeck/.emulationstation/es_input.xml
|
||||||
cp /app/retrodeck/retrodeck-retroarch.cfg /var/config/retroarch/retroarch.cfg
|
cp /app/retrodeck/retrodeck-retroarch.cfg /var/config/retroarch/retroarch.cfg
|
||||||
|
cp -r /app/retrodeck/tools/* ~/retrodeck/tools/
|
||||||
|
|
||||||
|
mkdir -p ~/retrodeck/.emulationstation/gamelists/tools/
|
||||||
|
cp /app/retrodeck/tools-gamelist.xml ~/retrodeck/.emulationstation/gamelists/tools/gamelist.xml
|
||||||
|
|
||||||
touch ~/retrodeck/.lock
|
touch ~/retrodeck/.lock
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
21
tools-gamelist.xml
Normal file
21
tools-gamelist.xml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<gameList>
|
||||||
|
<game>
|
||||||
|
<path>./start-retroarch.sh</path>
|
||||||
|
<name>Start RetroArch</name>
|
||||||
|
<sortname>RetroArch</sortname>
|
||||||
|
<desc>RetroArch is a frontend for emulators, game engines and media players.
|
||||||
|
|
||||||
|
It enables you to run classic games on a wide range of computers and consoles through its slick graphical interface. Settings are also unified so configuration is done once and for all.
|
||||||
|
|
||||||
|
In addition to this, you are able to run original game discs (CDs) from RetroArch.
|
||||||
|
|
||||||
|
RetroArch has advanced features like shaders, netplay, rewinding, next-frame response times, runahead, machine translation, blind accessibility features, and more!</desc>
|
||||||
|
<releasedate>19990101T000000</releasedate>
|
||||||
|
<developer>Libretro</developer>
|
||||||
|
<publisher>Libretro</publisher>
|
||||||
|
<genre>Emulator</genre>
|
||||||
|
<nogamecount>true</nogamecount>
|
||||||
|
<nomultiscrape>true</nomultiscrape>
|
||||||
|
</game>
|
||||||
|
</gameList>
|
3
tools/start-retroarch.sh
Normal file
3
tools/start-retroarch.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
retroarch
|
Loading…
Reference in a new issue