Structural adjustments

This commit is contained in:
Xargon 2022-05-19 12:08:47 +09:00
parent a62ac23da7
commit bffa33ca81
5 changed files with 1947 additions and 11 deletions

View file

@ -0,0 +1,318 @@
<?xml version="1.0"?>
<!-- This is the ES-DE find rules configuration file for Unix -->
<ruleList>
<emulator name="OS-SHELL">
<!-- Operating system shell -->
<rule type="systempath">
<entry>bash</entry>
<entry>sh</entry>
</rule>
</emulator>
<emulator name="RETROARCH">
<rule type="systempath">
<entry>retroarch</entry>
<entry>org.libretro.RetroArch</entry>
<entry>RetroArch-Linux-x86_64.AppImage</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.libretro.RetroArch</entry>
<entry>~/.local/share/flatpak/exports/bin/org.libretro.RetroArch</entry>
<entry>~/Applications/RetroArch-Linux-x86_64.AppImage</entry>
<entry>~/.local/bin/RetroArch-Linux-x86_64.AppImage</entry>
<entry>~/bin/RetroArch-Linux-x86_64.AppImage</entry>
</rule>
</emulator>
<core name="RETROARCH">
<rule type="corepath">
<!-- Snap package -->
<entry>~/snap/retroarch/current/.config/retroarch/cores</entry>
<!-- Flatpak package -->
<entry>~/.var/app/org.libretro.RetroArch/config/retroarch/cores</entry>
<!-- AppImage and compiled from source -->
<entry>~/.config/retroarch/cores</entry>
<!-- Ubuntu and Linux Mint repository -->
<entry>/usr/lib/x86_64-linux-gnu/libretro</entry>
<!-- Fedora repository -->
<entry>/usr/lib64/libretro</entry>
<!-- Manjaro repository -->
<entry>/usr/lib/libretro</entry>
<!-- FreeBSD and OpenBSD repository -->
<entry>/usr/local/lib/libretro</entry>
<!-- NetBSD repository -->
<entry>/usr/pkg/lib/libretro</entry>
<!-- FlatPak RetroDECK -->
<entry>/app/share/libretro/cores</entry>
</rule>
</core>
<emulator name="CITRA">
<!-- Nintendo 3DS emulator Citra -->
<rule type="systempath">
<entry>citra-emu.citra-nightly</entry>
<entry>org.citra_emu.citra</entry>
<entry>citra-qt</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry>
<entry>~/.local/share/flatpak/exports/bin/org.citra_emu.citra</entry>
</rule>
</emulator>
<emulator name="DOLPHIN">
<!-- Nintendo GameCube and Wii emulator Dolphin -->
<rule type="systempath">
<entry>dolphin-emu</entry>
<entry>org.DolphinEmu.dolphin-emu</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry>
<entry>~/.local/share/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry>
<entry>~/Applications/Dolphin_Emulator.AppImage</entry>
<entry>~/.local/bin/Dolphin_Emulator.AppImage</entry>
<entry>~/bin/Dolphin_Emulator.AppImage</entry>
</rule>
</emulator>
<emulator name="DOSBOX-STAGING">
<!-- DOS emulator DOSBox Staging -->
<rule type="systempath">
<entry>dosbox-staging</entry>
<entry>io.github.dosbox-staging</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.github.dosbox-staging</entry>
<entry>~/.local/share/flatpak/exports/bin/io.github.dosbox-staging</entry>
</rule>
</emulator>
<emulator name="DOSBOX-X">
<!-- DOS emulator DOSBox-X -->
<rule type="systempath">
<entry>dosbox-x</entry>
<entry>com.dosbox_x.DOSBox-X</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/com.dosbox_x.DOSBox-X</entry>
<entry>~/.local/share/flatpak/exports/bin/com.dosbox_x.DOSBox-X</entry>
</rule>
</emulator>
<emulator name="DUCKSTATION">
<!-- Sony PlayStation 1 emulator DuckStation -->
<rule type="systempath">
<entry>duckstation-nogui</entry>
<entry>duckstation-qt</entry>
<entry>org.duckstation.DuckStation</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.duckstation.DuckStation</entry>
<entry>~/.local/share/flatpak/exports/bin/org.duckstation.DuckStation</entry>
<entry>~/Applications/duckstation-nogui-x64.AppImage</entry>
<entry>~/.local/bin/duckstation-nogui-x64.AppImage</entry>
<entry>~/bin/duckstation-nogui-x64.AppImage</entry>
<entry>~/Applications/duckstation-qt-x64.AppImage</entry>
<entry>~/.local/bin/duckstation-qt-x64.AppImage</entry>
<entry>~/bin/duckstation-qt-x64.AppImage</entry>
</rule>
</emulator>
<emulator name="FLYCAST">
<!-- Sega Dreamcast emulator Flycast -->
<rule type="systempath">
<entry>flycast</entry>
<entry>org.flycast.Flycast</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.flycast.Flycast</entry>
<entry>~/.local/share/flatpak/exports/bin/org.flycast.Flycast</entry>
</rule>
</emulator>
<emulator name="FS-UAE">
<!-- Commodore Amiga emulator FS-UAE -->
<rule type="systempath">
<entry>fs-uae</entry>
<entry>fsuae.fs-uae</entry>
<entry>net.fsuae.FS-UAE</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.fsuae.FS-UAE</entry>
<entry>~/.local/share/flatpak/exports/bin/net.fsuae.FS-UAE</entry>
</rule>
</emulator>
<emulator name="MAME">
<!-- Arcade emulator MAME -->
<rule type="systempath">
<entry>mame</entry>
</rule>
</emulator>
<emulator name="MELONDS">
<!-- Nintendo DS and DSi emulator melonDS -->
<rule type="systempath">
<entry>melonds</entry>
<entry>melonDS</entry>
<entry>net.kuribo64.melonDS</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.kuribo64.melonDS</entry>
<entry>~/.local/share/flatpak/exports/bin/net.kuribo64.melonDS</entry>
</rule>
</emulator>
<emulator name="MGBA">
<!-- Nintendo Game Boy Advance emulator mGBA -->
<rule type="systempath">
<entry>mgba</entry>
<entry>io.mgba.mGBA</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/.local/share/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/Applications/mGBA.AppImage</entry>
<entry>~/.local/bin/mGBA.AppImage</entry>
<entry>~/bin/mGBA.AppImage</entry>
</rule>
</emulator>
<emulator name="MUPEN64PLUS">
<!-- Nintendo 64 emulator Mupen64Plus -->
<rule type="systempath">
<entry>m64p</entry>
<entry>io.github.m64p.m64p</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.github.m64p.m64p</entry>
<entry>~/.local/share/flatpak/exports/bin/io.github.m64p.m64p</entry>
</rule>
</emulator>
<emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 -->
<rule type="systempath">
<entry>PCSX2</entry>
<entry>pcsx2</entry>
<entry>net.pcsx2.PCSX2</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
<entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
</rule>
</emulator>
<emulator name="PLAY!">
<!-- Sony PlayStation 2 emulator Play! -->
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.purei.Play</entry>
<entry>~/.local/share/flatpak/exports/bin/org.purei.Play</entry>
<entry>~/Applications/Play!.AppImage</entry>
<entry>~/.local/bin/Play!.AppImage</entry>
<entry>~/bin/Play!.AppImage</entry>
</rule>
</emulator>
<emulator name="PPSSPP">
<!-- Sony PlayStation Portable emulator PPSSPP -->
<rule type="systempath">
<entry>ppsspp-emu.ppsspp-sdl</entry>
<entry>org.ppsspp.PPSSPP</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.ppsspp.PPSSPP</entry>
<entry>~/.local/share/flatpak/exports/bin/org.ppsspp.PPSSPP</entry>
</rule>
</emulator>
<emulator name="PRIMEHACK">
<!-- PrimeHack, fork of Nintendo GameCube and Wii emulator Dolphin -->
<rule type="systempath">
<entry>primehack</entry>
<entry>io.github.shiiion.primehack</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.github.shiiion.primehack</entry>
<entry>~/.local/share/flatpak/exports/bin/io.github.shiiion.primehack</entry>
</rule>
</emulator>
<emulator name="REDREAM">
<!-- Sega Dreamcast emulator Redream -->
<rule type="systempath">
<entry>redream</entry>
</rule>
<rule type="staticpath">
<entry>~/Applications/redream</entry>
<entry>~/.local/bin/redream</entry>
<entry>~/bin/redream</entry>
</rule>
</emulator>
<emulator name="RPCS3">
<!-- Sony PlayStation 3 emulator RPCS3 -->
<rule type="systempath">
<entry>rpcs3</entry>
<entry>rpcs3-emu.rpcs3</entry>
<entry>net.rpcs3.RPCS3</entry>
<entry>rpcs3.AppImage</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
<entry>~/.local/share/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
<entry>~/Applications/rpcs3.AppImage</entry>
<entry>~/.local/bin/rpcs3.AppImage</entry>
<entry>~/bin/rpcs3.AppImage</entry>
</rule>
</emulator>
<emulator name="SNES9X">
<!-- Super Nintendo emulator Snes9x -->
<rule type="systempath">
<entry>snes9x</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/com.snes9x.Snes9x</entry>
<entry>~/.local/share/flatpak/exports/bin/com.snes9x.Snes9x</entry>
</rule>
</emulator>
<emulator name="RYUJINX">
<!-- Nintendo Switch emulator Ryujinx -->
<rule type="systempath">
<entry>Ryujinx</entry>
<entry>org.ryujinx.Ryujinx</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.ryujinx.Ryujinx</entry>
<entry>~/.local/share/flatpak/exports/bin/org.ryujinx.Ryujinx</entry>
<entry>~/Applications/publish/Ryujinx</entry>
<entry>~/.local/bin/publish/Ryujinx</entry>
<entry>~/bin/publish/Ryujinx</entry>
</rule>
</emulator>
<emulator name="VBA-M">
<!-- Nintendo Game Boy Advance emulator VBA-M -->
<rule type="systempath">
<entry>visualboyadvance-m</entry>
</rule>
</emulator>
<emulator name="XEMU">
<!-- Microsoft Xbox emulator xemu -->
<rule type="systempath">
<entry>xemu</entry>
<entry>app.xemu.xemu</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/app.xemu.xemu</entry>
<entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry>
<entry>~/Applications/Xemu.AppImage</entry>
<entry>~/.local/bin/Xemu.AppImage</entry>
<entry>~/bin/Xemu.AppImage</entry>
</rule>
</emulator>
<emulator name="YUZU">
<!-- Nintendo Switch emulator Yuzu -->
<rule type="systempath">
<entry>yuzu</entry>
<entry>org.yuzu_emu.yuzu</entry>
<entry>yuzu.AppImage</entry>
</rule>
<rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.yuzu_emu.yuzu</entry>
<entry>~/.local/share/flatpak/exports/bin/org.yuzu_emu.yuzu</entry>
<entry>~/Applications/yuzu.AppImage</entry>
<entry>~/.local/bin/yuzu.AppImage</entry>
<entry>~/bin/yuzu.AppImage</entry>
</rule>
</emulator>
<emulator name="PICO-8">
<rule type="systempath">
<entry>pico8</entry>
</rule>
<rule type="staticpath">
<entry>~/retrodeck/bios/pico-8/pico8</entry>
</rule>
</emulator>
</ruleList>

121
es_configs/es_settings.xml Normal file
View file

@ -0,0 +1,121 @@
<?xml version="1.0"?>
<bool name="AlternativeEmulatorPerGame" value="true" />
<bool name="CollectionShowSystemInfo" value="true" />
<bool name="CustomEventScripts" value="false" />
<bool name="DebugSkipInputLogging" value="false" />
<bool name="DisableComposition" value="true" />
<bool name="DisplayGPUStatistics" value="false" />
<bool name="EnableMenuKidMode" value="false" />
<bool name="FavFirstCustom" value="false" />
<bool name="FavStarCustom" value="false" />
<bool name="FavoritesAddButton" value="true" />
<bool name="FavoritesFirst" value="true" />
<bool name="FavoritesStar" value="true" />
<bool name="FoldersOnTop" value="true" />
<bool name="GamelistFilters" value="true" />
<bool name="GamelistVideoAudio" value="true" />
<bool name="GamelistVideoPillarbox" value="true" />
<bool name="GamelistVideoScanlines" value="false" />
<bool name="IgnoreGamelist" value="false" />
<bool name="InputOnlyFirstController" value="false" />
<bool name="ListScrollOverlay" value="false" />
<bool name="MediaViewerKeepVideoRunning" value="true" />
<bool name="MediaViewerScreenshotScanlines" value="true" />
<bool name="MediaViewerStretchVideos" value="false" />
<bool name="MediaViewerVideoAudio" value="true" />
<bool name="MediaViewerVideoBlur" value="false" />
<bool name="MediaViewerVideoScanlines" value="true" />
<bool name="MenuBlurBackground" value="true" />
<bool name="MiximageCoverFallback" value="true" />
<bool name="MiximageGenerate" value="true" />
<bool name="MiximageIncludeBox" value="true" />
<bool name="MiximageIncludeMarquee" value="true" />
<bool name="MiximageIncludePhysicalMedia" value="true" />
<bool name="MiximageOverwrite" value="true" />
<bool name="MiximageRemoveLetterboxes" value="true" />
<bool name="MiximageRemovePillarboxes" value="true" />
<bool name="MiximageRotateHorizontalBoxes" value="true" />
<bool name="NavigationSounds" value="true" />
<bool name="ParseGamelistOnly" value="false" />
<bool name="PlayVideosImmediately" value="false" />
<bool name="PreloadGamelists" value="true" />
<bool name="QuickSystemSelect" value="true" />
<bool name="RandomAddButton" value="false" />
<bool name="RunInBackground" value="false" />
<bool name="Scrape3DBoxes" value="true" />
<bool name="ScrapeBackCovers" value="true" />
<bool name="ScrapeControllers" value="true" />
<bool name="ScrapeCovers" value="true" />
<bool name="ScrapeGameNames" value="true" />
<bool name="ScrapeMarquees" value="true" />
<bool name="ScrapeMetadata" value="true" />
<bool name="ScrapePhysicalMedia" value="true" />
<bool name="ScrapeRatings" value="true" />
<bool name="ScrapeScreenshots" value="true" />
<bool name="ScrapeTitleScreens" value="true" />
<bool name="ScrapeVideos" value="true" />
<bool name="ScraperExcludeRecursively" value="true" />
<bool name="ScraperHaltOnInvalidMedia" value="true" />
<bool name="ScraperIncludeFolders" value="false" />
<bool name="ScraperInteractive" value="false" />
<bool name="ScraperOverwriteData" value="false" />
<bool name="ScraperRespectExclusions" value="true" />
<bool name="ScraperRetryPeerVerification" value="false" />
<bool name="ScraperSearchMetadataName" value="true" />
<bool name="ScraperSemiautomatic" value="true" />
<bool name="ScraperUseAccountScreenScraper" value="true" />
<bool name="ScreensaverControls" value="true" />
<bool name="ScreensaverSlideshowCustomImages" value="false" />
<bool name="ScreensaverSlideshowGameInfo" value="true" />
<bool name="ScreensaverSlideshowRecurse" value="false" />
<bool name="ScreensaverSlideshowScanlines" value="true" />
<bool name="ScreensaverStretchImages" value="false" />
<bool name="ScreensaverStretchVideos" value="false" />
<bool name="ScreensaverVideoAudio" value="false" />
<bool name="ScreensaverVideoBlur" value="false" />
<bool name="ScreensaverVideoGameInfo" value="true" />
<bool name="ScreensaverVideoScanlines" value="true" />
<bool name="ScrollIndicators" value="true" />
<bool name="ShowHelpPrompts" value="true" />
<bool name="ShowHiddenFiles" value="true" />
<bool name="ShowHiddenGames" value="true" />
<bool name="ShowQuitMenu" value="false" />
<bool name="SpecialCharsASCII" value="false" />
<bool name="UseCustomCollectionsSystem" value="true" />
<bool name="VideoUpscaleFrameRate" value="false" />
<bool name="VirtualKeyboard" value="true" />
<int name="DisplayIndex" value="1" />
<int name="MaxVRAM" value="256" />
<int name="ScreensaverSwapImageTimeout" value="10000" />
<int name="ScreensaverSwapVideoTimeout" value="0" />
<int name="ScreensaverTimer" value="300000" />
<int name="SoundVolumeNavigation" value="70" />
<int name="SoundVolumeVideos" value="80" />
<string name="ApplicationVersion" value="1.2.1" />
<string name="CollectionSystemsAuto" value="all" />
<string name="CollectionSystemsCustom" value="" />
<string name="DefaultSortOrder" value="filename, ascending" />
<string name="ExitButtonCombo" value="F4" />
<string name="GamelistViewStyle" value="automatic" />
<string name="InputControllerType" value="xbox" />
<string name="LaunchScreenDuration" value="normal" />
<string name="MediaDirectory" value="" />
<string name="MenuOpeningEffect" value="scale-up" />
<string name="MiximageBoxSize" value="medium" />
<string name="MiximagePhysicalMediaSize" value="medium" />
<string name="MiximageResolution" value="1280x800" />
<string name="MiximageScreenshotScaling" value="sharp" />
<string name="ROMDirectory" value="~/ROMs" />
<string name="SaveGamelistsMode" value="always" />
<string name="Scraper" value="screenscraper" />
<string name="ScraperLanguage" value="en" />
<string name="ScraperPasswordScreenScraper" value="" />
<string name="ScraperRegion" value="eu" />
<string name="ScraperUsernameScreenScraper" value="" />
<string name="ScreensaverSlideshowImageDir" value="~/.emulationstation/slideshow/custom_images" />
<string name="ScreensaverType" value="video" />
<string name="StartupSystem" value="" />
<string name="ThemeSet" value="art-book-next-de" />
<string name="TransitionStyle" value="slide" />
<string name="UIMode" value="full" />
<string name="UIMode_passkey" value="uuddlrlrba" />

1430
es_configs/es_systems.xml Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,73 @@
<?xml version="1.0"?>
<gameList>
<game>
<path>./start-retroarch.sh</path>
<name>Start RetroArch</name>
<desc>Start RetroArch to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-yuzu.sh</path>
<name>Start Yuzu</name>
<desc>Start Yuzu to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-pcsx2.sh</path>
<name>Start PCSX2 (Standalone)</name>
<desc>Start PCSX2 to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-ppsspp.sh</path>
<name>Start PPSSPP (Standalone)</name>
<desc>Start PPSSPP to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-dolphin.sh</path>
<name>Start Dolphin (Standalone)</name>
<desc>Start Dolphin to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-melonds.sh</path>
<name>Start MelonDS (Standalone)</name>
<desc>Start MelonDS to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-citra.sh</path>
<name>Start CITRA (Standalone)</name>
<desc>Start CITRA to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-rpcs3.sh</path>
<name>Start RPCS3 (Standalone)</name>
<desc>Start RPCS3 to manually tweak your settings.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./start-splore.sh</path>
<name>Start Splore</name>
<desc>Start PICO-8's splore</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
<game>
<path>./move-roms.sh</path>
<name>Move roms folder</name>
<desc>Move roms folder from internal to external and vice versa.</desc>
<nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape>
</game>
</gameList>

View file

@ -957,12 +957,12 @@ modules:
buildsystem: simple
build-commands:
# Prep the ES-DE and RetroArch config files
# Prep the ES-DE and RetroArch config files - I will have to SED/XMLSTARLET them soon
- rm -rf /app/share/emulationstation/resources/systems/unix/es_find_rules.xml
- cp es_find_rules.xml /app/share/emulationstation/resources/systems/unix/
- rm -rf /app/share/emulationstation/resources/systems/unix/es_systems.xml
- cp es_systems.xml /app/share/emulationstation/resources/systems/unix/
# These must be put in home folder, managed by retrodeck.sh
# These must be put in home folder, managed by retrodeck.sh - Same as above
- mkdir -p ${FLATPAK_DEST}/retrodeck/
- cp es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
@ -983,7 +983,7 @@ modules:
# Desktop entry
- cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop
# Steam Grids
# Steam Grids - When BoilR comes it will be deprecated
- mkdir -p ${FLATPAK_DEST}/retrodeck/steam/
- cp banner_main.png ${FLATPAK_DEST}/retrodeck/steam/
- cp poster_main.png ${FLATPAK_DEST}/retrodeck/steam/
@ -1013,18 +1013,12 @@ modules:
#cleanup: ['*']
sources:
- type: file
path: es_find_rules.xml
- type: file
path: es_settings.xml
- type: file
path: es_systems.xml
- type: dir
path: es_configs
- type: file
path: retrodeck.sh
- type: dir
path: emu-configs
- type: file
path: tools-gamelist.xml
- type: dir
path: res
- type: dir