Merge pull request #51 from XargonWan/cooker-0.4.2b

Cooker 0.4.2b
This commit is contained in:
XargonWan 2022-07-02 17:43:44 +02:00 committed by GitHub
commit 8fe445cee6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 320 additions and 291 deletions

View file

@ -38,17 +38,16 @@ jobs:
git submodule init
git submodule update
sudo apt install -y flatpak flatpak-builder p7zip-full
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13 org.freedesktop.Platform.ffmpeg-full/x86_64/21.08
# for main remember to change ${HOME} into ${GITHUB_WORKSPACE}
- name: Build flatpak
run: |
flatpak-builder --build-only --user --force-clean --repo=${HOME}/local ${HOME}/retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
flatpak-builder --user --force-clean --install-deps-from=flathub --install-deps-from=flathub-beta --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
- name: Create Bundle
run: |
flatpak-builder --user --force-clean --repo=${HOME}/local ${HOME}/retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
flatpak-builder --user --force-clean --repo=${GITHUB_WORKSPACE}/local ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
flatpak build-bundle $GITHUB_WORKSPACE/local RetroDECK.flatpak net.retrodeck.retrodeck
- name: Read version from version file
@ -81,4 +80,4 @@ jobs:
with:
name: retrodeck-flatpak
path: RetroDECK.flatpak
continue-on-error: true
continue-on-error: true

View file

@ -39,43 +39,43 @@ camera_outer_right_name\default=true
[Controls]
profile=0
profile\default=true
profiles\1\button_a="button:1,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_a="button:0,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_a\default=false
profiles\1\button_b="button:0,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_b="button:1,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_b\default=false
profiles\1\button_debug="code:79,engine:keyboard"
profiles\1\button_debug\default=true
profiles\1\button_down="direction:down,engine:sdl,guid:030000005e040000120b000005050000,hat:0,port:0"
profiles\1\button_down="direction:down,engine:sdl,guid:03000000de280000ff11000001000000,hat:0,port:0"
profiles\1\button_down\default=false
profiles\1\button_gpio14="code:80,engine:keyboard"
profiles\1\button_gpio14\default=true
profiles\1\button_home="button:8,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_home="button:8,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_home\default=false
profiles\1\button_l="button:4,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_l="button:4,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_l\default=false
profiles\1\button_left="direction:left,engine:sdl,guid:030000005e040000120b000005050000,hat:0,port:0"
profiles\1\button_left="direction:left,engine:sdl,guid:03000000de280000ff11000001000000,hat:0,port:0"
profiles\1\button_left\default=false
profiles\1\button_r="button:5,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_r="button:5,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_r\default=false
profiles\1\button_right="direction:right,engine:sdl,guid:030000005e040000120b000005050000,hat:0,port:0"
profiles\1\button_right="direction:right,engine:sdl,guid:03000000de280000ff11000001000000,hat:0,port:0"
profiles\1\button_right\default=false
profiles\1\button_select="button:6,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_select="button:6,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_select\default=false
profiles\1\button_start="button:7,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_start="button:7,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_start\default=false
profiles\1\button_up="direction:up,engine:sdl,guid:030000005e040000120b000005050000,hat:0,port:0"
profiles\1\button_up="direction:up,engine:sdl,guid:03000000de280000ff11000001000000,hat:0,port:0"
profiles\1\button_up\default=false
profiles\1\button_x="button:3,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_x="button:2,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_x\default=false
profiles\1\button_y="button:2,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\button_y="button:3,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\button_y\default=false
profiles\1\button_zl="axis:2,direction:-,engine:sdl,guid:030000005e040000120b000005050000,port:0,threshold:0.000015"
profiles\1\button_zl="axis:3,direction:-,engine:sdl,guid:03000000de280000ff11000001000000,port:0,threshold:-0.5"
profiles\1\button_zl\default=false
profiles\1\button_zr="axis:5,direction:-,engine:sdl,guid:030000005e040000120b000005050000,port:0,threshold:0.000015"
profiles\1\button_zr="axis:5,direction:+,engine:sdl,guid:03000000de280000ff11000001000000,port:0,threshold:0.5"
profiles\1\button_zr\default=false
profiles\1\c_stick="axis_x:3,axis_y:4,deadzone:0.100000,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\c_stick="axis_x:3,axis_y:4,deadzone:0.100000,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\c_stick\default=false
profiles\1\circle_pad="axis_x:0,axis_y:1,deadzone:0.100000,engine:sdl,guid:030000005e040000120b000005050000,port:0"
profiles\1\circle_pad="axis_x:0,axis_y:1,deadzone:0.100000,engine:sdl,guid:03000000de280000ff11000001000000,port:0"
profiles\1\circle_pad\default=false
profiles\1\motion_device="engine:motion_emu,update_period:100,sensitivity:0.01,tilt_clamp:90.0"
profiles\1\motion_device\default=true
@ -106,10 +106,10 @@ use_cpu_jit=true
use_cpu_jit\default=true
[Data%20Storage]
nand_directory=/home/steamos/.var/app/net.retrodeck.retrodeck/data/citra-emu/nand/
nand_directory\default=true
sdmc_directory=/home/steamos/.var/app/net.retrodeck.retrodeck/data/citra-emu/sdmc/
sdmc_directory\default=true
nand_directory=~/retrodeck/saves/Citra/nand/
nand_directory\default=false
sdmc_directory=~/retrodeck/saves/Citra/sdmc/
sdmc_directory\default=false
use_virtual_sd=true
use_virtual_sd\default=true
@ -330,8 +330,8 @@ Paths\language=en
Paths\language\default=false
Paths\moviePlaybackPath=
Paths\movieRecordPath=
Paths\recentFiles=/var/config/emulationstation/ROMs/n3ds/Gyakuten Saiban 123 - Naruhodo Selection (Japan) Decrypted.3ds
Paths\romsPath=
Paths\recentFiles=
Paths\romsPath=/home/deck/retrodeck/roms/n3ds
Paths\screenshotPath=
Paths\symbolsPath=
Paths\videoDumpingPath=
@ -353,8 +353,8 @@ Shortcuts\Main%20Window\Decrease%20Speed%20Limit\KeySeq=-
Shortcuts\Main%20Window\Decrease%20Speed%20Limit\KeySeq\default=true
Shortcuts\Main%20Window\Exit%20Citra\Context=1
Shortcuts\Main%20Window\Exit%20Citra\Context\default=true
Shortcuts\Main%20Window\Exit%20Citra\KeySeq=Ctrl+Q
Shortcuts\Main%20Window\Exit%20Citra\KeySeq\default=true
Shortcuts\Main%20Window\Exit%20Citra\KeySeq=T
Shortcuts\Main%20Window\Exit%20Citra\KeySeq\default=false
Shortcuts\Main%20Window\Exit%20Fullscreen\Context=1
Shortcuts\Main%20Window\Exit%20Fullscreen\Context\default=true
Shortcuts\Main%20Window\Exit%20Fullscreen\KeySeq=Esc
@ -377,8 +377,8 @@ Shortcuts\Main%20Window\Load%20File\KeySeq=Ctrl+O
Shortcuts\Main%20Window\Load%20File\KeySeq\default=true
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\Context=1
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\Context\default=true
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq=Ctrl+V
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq\default=true
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq=R
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq\default=false
Shortcuts\Main%20Window\Remove%20Amiibo\Context=2
Shortcuts\Main%20Window\Remove%20Amiibo\Context\default=true
Shortcuts\Main%20Window\Remove%20Amiibo\KeySeq=F3
@ -393,16 +393,16 @@ Shortcuts\Main%20Window\Rotate%20Screens%20Upright\KeySeq=F8
Shortcuts\Main%20Window\Rotate%20Screens%20Upright\KeySeq\default=true
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\Context=1
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\Context\default=true
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq=Ctrl+C
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq\default=true
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq=L
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq\default=false
Shortcuts\Main%20Window\Stop%20Emulation\Context=1
Shortcuts\Main%20Window\Stop%20Emulation\Context\default=true
Shortcuts\Main%20Window\Stop%20Emulation\KeySeq=F5
Shortcuts\Main%20Window\Stop%20Emulation\KeySeq\default=true
Shortcuts\Main%20Window\Swap%20Screens\Context=1
Shortcuts\Main%20Window\Swap%20Screens\Context\default=true
Shortcuts\Main%20Window\Swap%20Screens\KeySeq=F9
Shortcuts\Main%20Window\Swap%20Screens\KeySeq\default=true
Shortcuts\Main%20Window\Swap%20Screens\KeySeq=Y
Shortcuts\Main%20Window\Swap%20Screens\KeySeq\default=false
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context=2
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context\default=true
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\KeySeq=Ctrl+Z
@ -452,7 +452,7 @@ fullscreen=true
fullscreen\default=true
hideInactiveMouse=false
hideInactiveMouse\default=true
pauseWhenInBackground=false
pauseWhenInBackground=true
pauseWhenInBackground\default=true
screenshot_resolution_factor=0
screenshot_resolution_factor\default=true

View file

@ -24,30 +24,30 @@ Joy_X=2
Joy_Y=3
HKKey_Lid=-1
HKKey_Mic=-1
HKKey_Pause=-1
HKKey_Pause=82
HKKey_Reset=-1
HKKey_FastForward=-1
HKKey_FastForward=76
HKKey_FastForwardToggle=-1
HKKey_FullscreenToggle=-1
HKKey_SwapScreens=-1
HKKey_SwapScreens=89
HKKey_SolarSensorDecrease=-1
HKKey_SolarSensorIncrease=-1
HKKey_FrameStep=-1
HKJoy_Lid=-1
HKJoy_Mic=-1
HKJoy_Pause=10
HKJoy_Pause=-1
HKJoy_Reset=-1
HKJoy_FastForward=85065727
HKJoy_FastForward=-1
HKJoy_FastForwardToggle=-1
HKJoy_FullscreenToggle=-1
HKJoy_SwapScreens=9
HKJoy_SwapScreens=-1
HKJoy_SolarSensorDecrease=-1
HKJoy_SolarSensorIncrease=-1
HKJoy_FrameStep=-1
JoystickID=0
WindowWidth=768
WindowHeight=414
WindowMax=0
WindowHeight=418
WindowMax=1
ScreenRotation=0
ScreenGap=0
ScreenLayout=3
@ -129,7 +129,7 @@ CheatFilePath=
EnableCheats=0
MouseHide=0
MouseHideSeconds=5
PauseLostFocus=0
PauseLostFocus=1
DSBatteryLevelOkay=1
DSiBatteryLevel=15
DSiBatteryCharging=1
DSiBatteryCharging=1

View file

@ -148,7 +148,7 @@ dolphin_wiimote_continuous_scanning = "disabled"
gambatte_audio_resampler = "sinc"
gambatte_dark_filter_level = "0"
gambatte_gb_bootloader = "enabled"
gambatte_gb_colorization = "disabled"
gambatte_gb_colorization = "internal"
gambatte_gb_hwmode = "Auto"
gambatte_gb_internal_palette = "GB - DMG"
gambatte_gb_link_mode = "Not Connected"

View file

@ -227,7 +227,7 @@ input_exit_emulator_btn = "nul"
input_exit_emulator_mbtn = "nul"
input_fps_toggle = "f3"
input_fps_toggle_axis = "nul"
input_fps_toggle_btn = "3"
input_fps_toggle_btn = "nul"
input_fps_toggle_mbtn = "nul"
input_frame_advance = "k"
input_frame_advance_axis = "nul"
@ -296,10 +296,10 @@ input_overlay_aspect_adjust_landscape = "0.000000"
input_overlay_aspect_adjust_portrait = "0.000000"
input_overlay_auto_rotate = "false"
input_overlay_auto_scale = "false"
input_overlay_behind_menu = "false"
input_overlay_behind_menu = "true"
input_overlay_enable = "true"
input_overlay_enable_autopreferred = "true"
input_overlay_hide_in_menu = "true"
input_overlay_hide_in_menu = "false"
input_overlay_hide_when_gamepad_connected = "false"
input_overlay_next = "nul"
input_overlay_next_axis = "nul"
@ -2944,7 +2944,7 @@ notification_show_screenshot_duration = "0"
notification_show_screenshot_flash = "0"
notification_show_set_initial_disk = "true"
notification_show_when_menu_is_alive = "false"
overlay_directory = "/app/share/libretro/overlays"
overlay_directory = "/app/retrodeck/overlays/borders"
ozone_collapse_sidebar = "false"
ozone_menu_color_theme = "1"
ozone_scroll_content_metadata = "false"
@ -3147,7 +3147,7 @@ video_scale = "3.000000"
video_scale_integer = "false"
video_scale_integer_overscale = "false"
video_shader_delay = "0"
video_shader_dir = "/app/share/libretro/shaders"
video_shader_dir = "/app/retrodeck/overlays/shaders"
video_shader_enable = "true"
video_shader_preset_save_reference_enable = "true"
video_shader_remember_last_dir = "false"

View file

@ -24,6 +24,8 @@
</emulator>
<core name="RETROARCH">
<rule type="corepath">
<!-- FlatPak RetroDECK -->
<entry>/app/share/libretro/cores</entry>
<!-- Snap package -->
<entry>~/snap/retroarch/current/.config/retroarch/cores</entry>
<!-- Flatpak package -->
@ -40,8 +42,6 @@
<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="ATARI800">
@ -78,7 +78,6 @@
<entry>citra</entry>
<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>
@ -105,9 +104,9 @@
<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>
<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">
@ -211,9 +210,9 @@
<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>
<entry>~/Applications/mGBA*.AppImage</entry>
<entry>~/.local/bin/mGBA*.AppImage</entry>
<entry>~/bin/mGBA*.AppImage</entry>
</rule>
</emulator>
<emulator name="MUPEN64PLUS">
@ -237,6 +236,17 @@
<entry>~/.local/share/flatpak/exports/bin/ca._0ldsk00l.Nestopia</entry>
</rule>
</emulator>
<emulator name="ORICUTRON">
<!-- Tangerine Computer Systems emulator Oricutron -->
<rule type="systempath">
<entry>Oricutron</entry>
</rule>
<rule type="staticpath">
<entry>~/Applications/oricutron/Oricutron</entry>
<entry>~/.local/bin/oricutron/Oricutron</entry>
<entry>~/bin/oricutron/Oricutron</entry>
</rule>
</emulator>
<emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 -->
<rule type="systempath">
@ -249,19 +259,32 @@
<entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
</rule>
</emulator>
<emulator name="PICO-8">
<!-- PICO-8 Fantasy Console (game engine) -->
<rule type="systempath">
<entry>pico8</entry>
</rule>
<rule type="staticpath">
<entry>~/retrodeck/bios/pico-8/pico8</entry>
<entry>~/Applications/pico-8/pico8</entry>
<entry>~/.local/bin/pico-8/pico8</entry>
<entry>~/bin/pico-8/pico8</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>
<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>PPSSPPSDL</entry>
<entry>ppsspp-emu.ppsspp-sdl</entry>
<entry>org.ppsspp.PPSSPP</entry>
</rule>
@ -287,9 +310,9 @@
<entry>redream</entry>
</rule>
<rule type="staticpath">
<entry>~/Applications/redream</entry>
<entry>~/.local/bin/redream</entry>
<entry>~/bin/redream</entry>
<entry>~/Applications/redream/redream</entry>
<entry>~/.local/bin/redream/redream</entry>
<entry>~/bin/redream/redream</entry>
</rule>
</emulator>
<emulator name="RPCS3">
@ -298,14 +321,13 @@
<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>
<entry>~/Applications/rpcs3*.AppImage</entry>
<entry>~/.local/bin/rpcs3*.AppImage</entry>
<entry>~/bin/rpcs3*.AppImage</entry>
</rule>
</emulator>
<emulator name="SNES9X">
@ -347,9 +369,9 @@
<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>
<entry>~/Applications/Xemu*.AppImage</entry>
<entry>~/.local/bin/Xemu*.AppImage</entry>
<entry>~/bin/Xemu*.AppImage</entry>
</rule>
</emulator>
<emulator name="YUZU">
@ -357,22 +379,13 @@
<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>
<entry>~/Applications/yuzu*.AppImage</entry>
<entry>~/.local/bin/yuzu*.AppImage</entry>
<entry>~/bin/yuzu*.AppImage</entry>
</rule>
</emulator>
</ruleList>

View file

@ -118,4 +118,4 @@
<string name="ThemeSet" value="art-book-next-de" />
<string name="TransitionStyle" value="slide" />
<string name="UIMode" value="full" />
<string name="UIMode_passkey" value="uuddlrlrba" />
<string name="UIMode_passkey" value="uuddlrlrba" />

View file

@ -318,6 +318,24 @@
<platform>colecovision</platform>
<theme>colecovision</theme>
</system>
<system>
<name>cps</name>
<fullname>Capcom Play System</fullname>
<path>%ROMPATH%/cps</path>
<extension>.7z .7Z .zip .ZIP</extension>
<command label="MAME - Current">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mame_libretro.so %ROM%</command>
<command label="MAME 2010">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mame2010_libretro.so %ROM%</command>
<command label="MAME 2003-Plus">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mame2003_plus_libretro.so %ROM%</command>
<command label="MAME 2000">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/mame2000_libretro.so %ROM%</command>
<command label="MAME (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %ROMPATH%/arcade %BASENAME%</command>
<command label="FinalBurn Neo">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/fbneo_libretro.so %ROM%</command>
<command label="FB Alpha 2012">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/fbalpha2012_libretro.so %ROM%</command>
<command label="FB Alpha 2012 CPS-1">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/fbalpha2012_cps1_libretro.so %ROM%</command>
<command label="FB Alpha 2012 CPS-2">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/fbalpha2012_cps2_libretro.so %ROM%</command>
<command label="FB Alpha 2012 CPS-3">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/fbalpha2012_cps3_libretro.so %ROM%</command>
<platform>arcade</platform>
<theme>cps</theme>
</system>
<system>
<name>daphne</name>
<fullname>Daphne Arcade LaserDisc Emulator</fullname>
@ -341,7 +359,7 @@
<name>dos</name>
<fullname>DOS (PC)</fullname>
<path>%ROMPATH%/dos</path>
<extension>.bat .BAT .com .COM .conf .CONF .cue .CUE .dosz .DOSZ .exe .EXE .iso .ISO .7z .7Z .zip .ZIP</extension>
<extension>.bat .BAT .com .COM .conf .CONF .cue .CUE .dosz .DOSZ .exe .EXE .iso .ISO .7z .7Z</extension>
<command label="DOSBox-Pure">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_pure_libretro.so %ROM%</command>
<command label="DOSBox-Core">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_core_libretro.so %ROM%</command>
<command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_svn_libretro.so %ROM%</command>
@ -640,6 +658,24 @@
<platform>mess</platform>
<theme>mess</theme>
</system>
<system>
<name>model2</name>
<fullname>Sega Model 2</fullname>
<path>%ROMPATH%/model2</path>
<extension>.7z .7Z .zip .ZIP</extension>
<command>PLACEHOLDER %ROM%</command>
<platform>arcade</platform>
<theme>model2</theme>
</system>
<system>
<name>model3</name>
<fullname>Sega Model 3</fullname>
<path>%ROMPATH%/model3</path>
<extension>.7z .7Z .zip .ZIP</extension>
<command>PLACEHOLDER %ROM%</command>
<platform>arcade</platform>
<theme>model3</theme>
</system>
<system>
<name>moonlight</name>
<fullname>Moonlight Game Streaming</fullname>
@ -843,8 +879,8 @@
<name>oric</name>
<fullname>Tangerine Computer Systems Oric</fullname>
<path>%ROMPATH%/oric</path>
<extension>.7z .7Z .zip .ZIP</extension>
<command>PLACEHOLDER %ROM%</command>
<extension>.dsk .DSK .ort .ORT .tap .TAP .wav .WAV</extension>
<command label="Oricutron (Standalone)">%EMULATOR_ORICUTRON% %STARTDIR%=%EMUDIR% %ROM%</command>
<platform>oric</platform>
<theme>oric</theme>
</system>
@ -905,6 +941,18 @@
<platform>pcfx</platform>
<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>
</system>
<system>
<name>pokemini</name>
<fullname>Nintendo Pokémon Mini</fullname>
@ -939,7 +987,8 @@
<fullname>Sony PlayStation 3</fullname>
<path>%ROMPATH%/ps3</path>
<extension>.ps3 .PS3 .ps3dir .PS3DIR</extension>
<command label="RPCS3 (Standalone)">%EMULATOR_RPCS3% --no-gui %ROM%</command>
<command label="RPCS3 Shortcut (Standalone)">%ENABLESHORTCUTS% %EMULATOR_OS-SHELL% %ROM%</command>
<command label="RPCS3 Directory (Standalone)">%EMULATOR_RPCS3% --no-gui %ROM%</command>
<platform>ps3</platform>
<theme>ps3</theme>
</system>
@ -1247,8 +1296,8 @@
<name>ti99</name>
<fullname>Texas Instruments TI-99</fullname>
<path>%ROMPATH%/ti99</path>
<extension>.7z .7Z .zip .ZIP</extension>
<command>PLACEHOLDER %ROM%</command>
<extension>.rpk .RPK .7z .7Z .zip .ZIP</extension>
<command label="MAME (Standalone)">%STARTDIR%=~/.mame %EMULATOR_MAME% -rompath %ROMPATH%/ti99 ti99_4a -ioport peb -ioport:peb:slot3 speech -cart %BASENAME%</command>
<platform>ti99</platform>
<theme>ti99</theme>
</system>
@ -1434,16 +1483,4 @@
<platform>tools</platform>
<theme>tools</theme>
</system>
<system>
<name>pico-8</name>
<fullname>Pico-8</fullname>
<manufacturer>Lexaloffle</manufacturer>
<release>2015</release>
<hardware>console</hardware>
<path>%ROMPATH%/pico-8</path>
<extension>.p8 .png</extension>
<command>%EMULATOR_PICO-8% -desktop ~/retrodeck/screenshots -windowed 0 -root_path %ROMPATH%/pico-8 -run %ROM%</command>
<platform>pico-8</platform>
<theme>pico-8</theme>
</system>
</systemList>

View file

@ -63,11 +63,4 @@
<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>
</gameList>

View file

@ -7,10 +7,26 @@ cd ~/RetroDECK
git checkout main
git submodule init
git submodule update
rsync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
# NOTE: the only linked submodules are: rd-submodules/retroarch
# these must be included in the exclusion list as they must be redownloaded
#sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/
sync -rav --progress { \
'overlays', \
'rd-submodules', \
'flathub.json', \
'LICENSE', \
'net.retrodeck.retrodeck.appdata.xml', \
'net.retrodeck.retrodeck.desktop', \
'net.retrodeck.retrodeck.yml', \
'README.md', \
} ~/flathub/
cd ~/flathub
rm -rf shared-submodules
rm -rf rd-submodules
git rm -r *
# NOTE: be careful to remove the REAL (linked) submodules only
rm -rf shared-modules
rm -rf rd-submodules/retroarch
# rebuilding submodules
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' |
@ -40,7 +56,6 @@ git submodule sync;
# Now actually pull all the modules. I used to use this...
git submodule foreach --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)';
rm flathub-pr.sh
git submodule update
git add *
git commit -m "Updating flathub"

View file

@ -36,6 +36,8 @@
<p>
Powered by EmulationStation Desktop Edition, which uses RetroArch and other standalone emulators to allow you to import and play your favorite retro (and even not-so-retro) games in a tidy environment without flooding your Steam library.
No other software is needed as everything it's already included!</p>
<p>
NOTE: Albeit RetroDECK could possibily work on every distro, it's supported only on Steam Deck.</p>
</description>
<project_license>GPL-3.0</project_license>
<metadata_license>CC0-1.0</metadata_license>
@ -46,19 +48,25 @@
<description>
<p><b>Emulators:</b></p>
<ul>
<li>Updated all the emulators at the latest available version.</li>
<li>DOLPHIN (SA): Fixed a bug where Dolphin couldn't be properly configured. If it's still misconfigured please run `flatpak run net.retrodeck.retrodeck --reset-sa` in order to reset all the standalone emulators, including Dolphin. </li>
<li>CITRA (SA): Reconfigured controls and hotkeys. </li>
<li>MELONDS (SA): Reconfigured controls. </li>
<li>GAMBATTE (LIBRETRO): Added GB colorization. </li>
<li>RETROARCH (LIBRETRO): Tweaked some configs and fixed some overlapping hotkeys (FPS was same as Show Menu action). </li>
</ul>
<p><b>Backend:</b></p>
<ul>
<li>Started manifest trimming, now it's shorten but it may be improved</li>
<li>Removed some broken tools that will be reintroduced once fixed, including the roms moving tool. </li>
<li>Updated ES-DE configs (es_find_rules, es_settings, es_systems). </li>
<li>Manifest trimmend and general code cleanup. </li>
</ul>
<p><b>Known Issues:</b></p>
<ul>
<li>PCSX2: due to its limitation, the standalone PCSX2 doesn't have any way to set the hotkeys, so no save and load state, no quit button. In order to quit press: STEAM -> PCSX2 -> (X) CLOSE WINDOW, be aware that the state is not automatically saved</li>
<li>External controllers and keyboard seems not to be working, expecially in the desktop mode</li>
<li>Yuzu makes RetroDECK freeze in some situations, like if the rom is a bad dump</li>
<li>Due to a Steam limitation, external controllers and keyboard seems not to be working, expecially in the desktop mode</li>
</ul>
<p><b>IMPORTANT NOTE:</b>
@ -237,4 +245,4 @@
</release>
</releases>
</component>
</component>

View file

@ -68,6 +68,7 @@ modules:
# UPDATE STEPS FOR MAIN:
# [X] Update the VERSION variable
# [X] Update the appdata.xml with the version number and notes
# [X] change branch into main in retrodeck module (last one)
#
- name: version-initialization
buildsystem: simple
@ -146,7 +147,8 @@ modules:
url: https://ftp.osuosl.org/pub/blfs/conglomeration/libgudev/libgudev-237.tar.xz
sha256: 0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa
# ES-DE
# ES-DE - START
# https://gitlab.com/es-de/emulationstation-de
- name: ffmpeg
config-opts:
@ -219,7 +221,8 @@ modules:
# External manifests start
# RetroArch - https://github.com/flathub/org.libretro.RetroArch
# RetroArch - START
# https://github.com/flathub/org.libretro.RetroArch
- name: retroarch
config-opts:
@ -229,29 +232,28 @@ modules:
sources:
- type: git
url: https://github.com/libretro/RetroArch.git
branch: de4e56ecf28a09057734f8624af6d62f3088734f
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
- type: file
path: rd-submodules/retroarch/retroarch.cfg
post-install:
- mkdir -p ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
- >-
mv ${FLATPAK_DEST}/share/pixmaps/retroarch.svg
${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
- mv ${FLATPAK_DEST}/share/pixmaps/retroarch.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/
- rmdir --ignore-fail-on-non-empty ${FLATPAK_DEST}/share/pixmaps/
- mkdir -p ${FLATPAK_DEST}/etc
- >-
sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg >
${FLATPAK_DEST}/etc/retroarch.cfg
- sed s:@prefix@:${FLATPAK_DEST}:g retroarch.cfg > ${FLATPAK_DEST}/etc/retroarch.cfg
modules:
- rd-submodules/retroarch/nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
- rd-submodules/retroarch/libpng/libpng-1.6.35.json
#nvidia-cg-toolkit/nvidia-cg-toolkit-3.1.0013.json
- shared-modules/SDL/SDL-1.2.15.json
- shared-modules/SDL/SDL_image-1.2.12.json
- shared-modules/SDL/SDL_mixer-1.2.12.json
- shared-modules/SDL/SDL_net-1.2.8.json
- shared-modules/SDL/SDL_ttf-2.0.11.json
- shared-modules/libusb/libusb.json
# certificate glu issue
#- shared-modules/gudev/gudev.json
- rd-submodules/retroarch/libbz2/libbz2-1.0.8.json
- rd-submodules/retroarch/xrandr/xrandr-1.5.1.json
- rd-submodules/retroarch/libaio/libaio-0.3.112.json
# certificate issue, check libglu module for more info
#- shared-modules/glu/glu-9.json
@ -263,7 +265,7 @@ modules:
sources:
- type: git
url: https://github.com/libretro/RetroArch.git
branch: de4e56ecf28a09057734f8624af6d62f3088734f
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
- name: retroarch-filers-audio
subdir: libretro-common/audio/dsp_filters
make-install-args:
@ -271,7 +273,7 @@ modules:
sources:
- type: git
url: https://github.com/libretro/RetroArch.git
branch: de4e56ecf28a09057734f8624af6d62f3088734f
branch: 9b282aa742b6c3d2f2925ae5a12e2cd7c6b6ad38
- name: retroarch-assets
make-install-args:
- PREFIX=${FLATPAK_DEST}
@ -285,49 +287,49 @@ modules:
sources:
- type: git
url: https://github.com/libretro/libretro-database.git
commit: 1754130f72d8c00a512797bf85442576258279e8
commit: f3b10ec262fcbd78da3473f46d244270d12a327e
- name: libretro-core-info
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/libretro-core-info.git
commit: 1b2472eca14a5a187ff298ace1b614fd3d47bc7c
commit: 06dac6318c067a6a40e2ea1e1260e74681ada844
- name: retroarch-joypad-autoconfig
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/retroarch-joypad-autoconfig.git
commit: 0eb3ad2666e6bdc2de2cde4c5d4af29b8c7f2c67
- name: common-shaders
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/common-shaders.git
commit: 55e401834b732e62c34411321c4ffd82524345d4
- name: slang-shaders
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/slang-shaders.git
commit: 77558d5f2ac807b27201fb888cbf2caee8e289fa
- name: glsl-shaders
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/glsl-shaders.git
commit: 20801b38aa2c89a2beb9f57ffbbbcea7256e2523
- name: common-overlays
make-install-args:
- PREFIX=${FLATPAK_DEST}
sources:
- type: git
url: https://github.com/libretro/common-overlays.git
commit: db9744f4e58a740f0f10b04b62af347cd6f01928
commit: 760b057f1865a827762a54a8a32afda2cdd9e170
# - name: common-shaders
# make-install-args:
# - PREFIX=${FLATPAK_DEST}
# sources:
# - type: git
# url: https://github.com/libretro/common-shaders.git
# commit: 55e401834b732e62c34411321c4ffd82524345d4
# - name: slang-shaders
# make-install-args:
# - PREFIX=${FLATPAK_DEST}
# sources:
# - type: git
# url: https://github.com/libretro/slang-shaders.git
# commit: 148c57d9747f5db124135501ac280b5ca129a83f
# - name: glsl-shaders
# make-install-args:
# - PREFIX=${FLATPAK_DEST}
# sources:
# - type: git
# url: https://github.com/libretro/glsl-shaders.git
# commit: 8f6b2649489760caea8f36ec6099998854059569
# - name: common-overlays
# make-install-args:
# - PREFIX=${FLATPAK_DEST}
# sources:
# - type: git
# url: https://github.com/libretro/common-overlays.git
# commit: db9744f4e58a740f0f10b04b62af347cd6f01928
# RetroArch - END
@ -339,14 +341,17 @@ modules:
- mv ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/cores/* /app/share/libretro/cores/
sources:
- type: archive
url: https://buildbot.libretro.com/stable/1.10.2/linux/x86_64/RetroArch_cores.7z
sha256: 0c59f99534a1ae3a2d34b1747c40398325e53db69acfab35b99c8fa8d76430e5
url: https://buildbot.libretro.com/stable/1.10.3/linux/x86_64/RetroArch_cores.7z
sha256: 33abf39839687f8faba202ed5dcf3a54c06266a49fad35f0521fa445523d009f
# Yuzu - https://github.com/flathub/org.yuzu_emu.yuzu
# Yuzu - START
# https://github.com/flathub/org.yuzu_emu.yuzu
# WHEN UPADTING: remember to update rd-submodules/yuzu contents
- name: libzip
buildsystem: cmake-ninja
config-opts:
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON'
- '-DCMAKE_BUILD_TYPE=RelWithDebInfo'
sources:
- type: archive
@ -374,6 +379,7 @@ modules:
- name: fmt
buildsystem: cmake-ninja
config-opts:
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON'
- '-DFMT_TEST=OFF'
sources:
- type: archive
@ -390,8 +396,8 @@ modules:
- '-DCMAKE_BUILD_TYPE=Release'
sources:
- type: archive
url: https://github.com/KhronosGroup/glslang/archive/11.8.0.tar.gz
sha256: 9e5fbe5b844d203da5e61bcd84eda76326e0ff5dc696cb862147bbe01d2febb0
url: https://github.com/KhronosGroup/glslang/archive/11.9.0.tar.gz
sha256: d5744adba19eef9ad3d73f524226b39fec559d94cb582cd442e3c5de930004b2
x-checker-data:
type: anitya
stable-only: true
@ -401,12 +407,13 @@ modules:
buildsystem: cmake-ninja
config-opts:
- '-DCMAKE_BUILD_TYPE=Release'
- '-DCATCH_INSTALL_EXTRAS=ON'
- '-DCATCH_BUILD_TESTING=OFF'
builddir: true
sources:
- type: archive
url: https://github.com/catchorg/Catch2/archive/v2.13.8.tar.gz
sha256: b9b592bd743c09f13ee4bf35fc30eeee2748963184f6bea836b146e6cc2a585a
url: https://github.com/catchorg/Catch2/archive/v2.13.9.tar.gz
sha256: 06dbc7620e3b96c2b69d57bf337028bf245a211b3cddb843835bfe258f427a52
x-checker-data:
type: anitya
stable-only: true
@ -416,6 +423,7 @@ modules:
buildsystem: cmake-ninja
config-opts:
- '-DCMAKE_BUILD_TYPE=Release'
- '-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON'
- '-DJSON_BuildTests=OFF'
sources:
- type: archive
@ -423,7 +431,7 @@ modules:
sha256: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4
x-checker-data:
type: anitya
project-id: 141453
project-id: 11152
url-template: https://github.com/nlohmann/json/archive/v$version.tar.gz
- name: boost
buildsystem: simple
@ -433,13 +441,13 @@ modules:
sources:
- type: archive
url: >-
https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2
sha256: 8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc
https://boostorg.jfrog.io/artifactory/main/release/1.79.0/source/boost_1_79_0.tar.bz2
sha256: 475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39
x-checker-data:
type: anitya
project-id: 6845
url-template: >-
https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_1_78_0.tar.bz2
https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_1_79_0.tar.bz2
- name: nv-codec-headers
make-install-args:
- PREFIX=/app
@ -465,8 +473,8 @@ modules:
- '-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON'
- '-DYUZU_USE_QT_WEB_ENGINE=ON'
- '-DYUZU_USE_BUNDLED_FFMPEG=ON'
- '-DDISPLAY_VERSION=969'
- '-DBUILD_TAG=mainline-969'
- '-DDISPLAY_VERSION=1039'
- '-DBUILD_TAG=mainline-1039'
- '-DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline'
build-options:
env:
@ -478,24 +486,14 @@ modules:
- /share/pixmaps
post-install:
- install -Dm755 ../yuzu-launcher.sh /app/bin/yuzu-launcher
- desktop-file-install --dir=/app/share/applications ../dist/yuzu.desktop
- >-
desktop-file-edit --set-key StartupWMClass --set-value yuzu --set-key
Exec --set-value yuzu-launcher /app/share/applications/yuzu.desktop
- >-
install -Dm644 ../dist/yuzu.svg
/app/share/icons/hicolor/scalable/apps/yuzu.svg
- >-
mv /app/share/mime/packages/yuzu.xml
/app/share/mime/packages/org.yuzu_emu.yuzu.xml
- >-
sed 's/yuzu/org.yuzu_emu.yuzu/g' -i
/app/share/mime/packages/org.yuzu_emu.yuzu.xml
sources:
- type: git
url: https://github.com/yuzu-emu/yuzu-mainline.git
tag: mainline-0-969
commit: d179e12137cd8ff88b0eade7d13de801661f869b
tag: mainline-0-1039
commit: 983afc5328725109a1cf13c61103b8a553c005d0
disable-shallow-clone: true
x-checker-data:
type: git
@ -507,7 +505,8 @@ modules:
# Yuzu - END
# pcsx2 - https://github.com/flathub/net.pcsx2.PCSX2
# PCSX2 - START
# https://github.com/flathub/net.pcsx2.PCSX2
- name: wxWidgets
buildsystem: cmake-ninja
@ -520,8 +519,8 @@ modules:
sources:
- type: git
url: https://github.com/wxWidgets/wxWidgets.git
tag: v3.1.5
commit: 9c0a8be1dc32063d91ed1901fd5fcd54f4f955a1
tag: v3.1.6
commit: 19907924842a9152b8ee5f03f117aed65193b964
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
@ -533,8 +532,8 @@ modules:
sources:
- type: git
url: https://pagure.io/libaio.git
tag: libaio-0.3.112
commit: d025927efa75a0d1b46ca3a5ef331caa2f46ee0e
tag: libaio-0.3.113
commit: 1b18bfafc6a2f7b9fa2c6be77a95afed8b7be448
x-checker-data:
type: git
tag-pattern: ^libaio-([\d.]+)$
@ -621,13 +620,14 @@ modules:
sources:
- type: git
url: https://github.com/PCSX2/pcsx2.git
tag: v1.7.2554
commit: 0d1675fbaa0d40874df98eed6270efc55620271b
tag: v1.7.2889
commit: a6649b2d6b558806fbe7cbaf6296014e3c5c192e
# pcsx2 - END
# PCSX2 - END
# Dolphin - START
# https://github.com/flathub/org.DolphinEmu.dolphin-emu
# WHEN UPADTING: remember to update rd-submodules/yuzu contents
# needed for the emulate bluetooth adapter feature to work
- name: bluez
@ -696,7 +696,7 @@ modules:
sources:
- type: git
url: https://github.com/dolphin-emu/dolphin.git
commit: 8ecfa537a242de74d2e372e30d9d79b14584b2fb
commit: 8335ec70e5fe253eb21509408ca6b5736ed57dfc
# detects whether dolphin is running in a flatpak sandbox
# and makes it use xdg directories if it is.
# prevents dolphin from attempting to write conf files
@ -712,12 +712,20 @@ modules:
- for i in {0..9}; do
- test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i;
- done
- dolphin-emu "$@"
# use gtk3 filechooser on steamdeck
- bv=`cat /sys/devices/virtual/dmi/id/board_vendor`
- bv=$bv`cat /sys/devices/virtual/dmi/id/board_name`
- if [[ $bv == "ValveJupiter" ]]; then
- QT_QPA_PLATFORMTHEME=gtk3 dolphin-emu "$@"
- else
- dolphin-emu "$@"
- fi
dest-filename: dolphin-emu-wrapper
# Dolphin - END
# XEMU - START
# https://github.com/flathub/app.xemu.xemu
# certificate issue, check libglu module for more info
# - name: libglu
@ -737,6 +745,15 @@ modules:
# stable-only: true
# url-template: http://mesa.freedesktop.org/archive/glu/glu-$version.tar.xz
- name: PyYAML
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/yaml/pyyaml/archive/refs/tags/6.0.tar.gz
sha256: f33eaba25d8e0c1a959bbf00655198c287dfc5868f5b7b01e401eaa1796cc778
- name: xemu
buildsystem: autotools
builddir: true
@ -755,23 +772,20 @@ modules:
install -Dm644 ../ui/icons/xemu_${px}x${px}.png /app/share/icons/hicolor/${px}x${px}/apps/app.xemu.xemu.png
done
- install -Dm644 ../ui/icons/xemu.svg /app/share/icons/hicolor/scalable/apps/app.xemu.xemu.svg
- desktop-file-install ../ui/xemu.desktop --dir /app/share/applications
- sed -i 's/^Icon=xemu/Icon=app.xemu.xemu/' /app/share/applications/xemu.desktop
- mv qemu-system-i386 /app/bin/xemu
- mkdir -p /app/share/licenses/xemu
- cd .. && python3 scripts/gen-license.py > /app/share/licenses/xemu/LICENSE.txt
sources:
- type: git
url: https://github.com/mborgerson/xemu.git
tag: gh-release/0.6.2-90-g6f507c80af
commit: 6f507c80af546e0f5d316622d20f78820423ce6e
tag: v0.7.29
commit: 69dcbe9b3081ee51d1468b1b7777b8b930bfba6c
x-checker-data:
type: json
url: https://api.github.com/repos/mborgerson/xemu/releases/latest
tag-query: .tag_name
version-query: $tag | sub("^gh-release/"; "")
timestamp-query: .published_at
is-main-source: true
# XEMU - END
@ -827,13 +841,12 @@ modules:
sources:
- type: git
url: https://github.com/citra-emu/citra-nightly.git
tag: nightly-1762
commit: 1382035d4de5ada310c7f4fd00f1836b16ab74fb
tag: nightly-1770
commit: 88a475970240e1dbade1720b02f9e5338647b1b8
disable-shallow-clone: true
x-checker-data:
type: git
tag-pattern: ^(nightly-\d+)$
is-main-source: true
# CITRA - END
@ -922,11 +935,9 @@ modules:
post-install:
- |
set -eux;
sed -i 's|<id>RPCS3</id>|<id>net.rpcs3.RPCS3</id>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.metainfo.xml;
COMM_TAG="$(awk -F'[\{,]' '/version{.*}/{printf "%d.%d.%d", $2, $3, $4}' ../rpcs3/rpcs3_version.cpp)";
COMM_COUNT="$(git rev-list --count HEAD)";
COMM_HASH="$(git rev-parse --short=8 HEAD)";
sed -i 's|</component>|<content_rating type="oars-1.1"/><releases><release date="'$(git show -s --format=%cs)'" version="'"${COMM_TAG}"'-'"${COMM_COUNT}"'-'"${COMM_HASH}"'"/></releases></component>|' ${FLATPAK_DEST}/share/metainfo/rpcs3.metainfo.xml;
sources:
- type: git
url: https://github.com/RPCS3/rpcs3.git
@ -1000,7 +1011,6 @@ modules:
x-checker-data:
type: git
tag-pattern: "^v([\\d.]+)$"
is-main-source: true
# PPSSPP - END
@ -1013,23 +1023,21 @@ modules:
# 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/
- cp es-configs/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/
- cp es-configs/es_systems.xml /app/share/emulationstation/resources/systems/unix/
# These must be put in home folder, managed by retrodeck.sh
- cp es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
- cp es-configs/es_settings.xml ${FLATPAK_DEST}/retrodeck/es_settings.xml
# Logo, res
- rm -f /app/share/emulationstation/resources/graphics/splash.svg
- cp splash.svg /app/share/emulationstation/resources/graphics/splash.svg
- cp icon.svg /app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg
- cp res/splash.svg /app/share/emulationstation/resources/graphics/splash.svg
- cp res/icon.svg /app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg
# Tools
- mkdir -p ${FLATPAK_DEST}/retrodeck/tools/
- cp start-*.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp move-roms.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp start-yuzu.sh ${FLATPAK_DEST}/retrodeck/tools/
- cp tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/
- cp tools/* ${FLATPAK_DEST}/retrodeck/tools/
- mv -f es-configs/tools-gamelist.xml ${FLATPAK_DEST}/retrodeck/
- cp retrodeck.sh /app/bin/retrodeck.sh
- chmod +x /app/bin/retrodeck.sh
@ -1037,55 +1045,35 @@ modules:
# Desktop entry
- cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop
# 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/
- cp poster_main_nodecklogo.png ${FLATPAK_DEST}/retrodeck/steam/
# TODO: group the configs per-emu and optimize the following cps, like already done with Dolphin. Please not that some files may be renamed, check retrodeck.sh to know how (and fix it after the edit)
# Configuring emulators:
- mkdir -p ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin
# RetroArch
- cp retroarch* ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/retroarch* ${FLATPAK_DEST}/retrodeck/emu-configs/
# Dolphin
- cp Dolphin.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp Hotkeys.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp GCPadNew.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp GFX.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp Qt.ini ${FLATPAK_DEST}/retrodeck/emu-configs/Dolphin/
- cp emu-configs/Dolphin/* ${FLATPAK_DEST}/retrodeck/emu-configs/
# Yuzu
- cp yuzu-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/yuzu-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# Pcsx2
- cp PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp GS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp PCSX2_vm.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/PCSX2_ui.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/GS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/PCSX2_vm.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# MelonDS
- cp melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/melonDS.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# CITRA
- cp citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/citra-qt-config.ini ${FLATPAK_DEST}/retrodeck/emu-configs/
# RPCS3
- cp config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/
- cp emu-configs/config.yml ${FLATPAK_DEST}/retrodeck/emu-configs/
# Overlays
#- cp -r overlays ${FLATPAK_DEST}/retrodeck/overlays Disabled in 0.4.2b as it will be introduced in 0.5.0b
# Placing appdata
- mkdir -p ${FLATPAK_DEST}/share/appdata
- cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata
sources:
- type: dir
path: es-configs
- type: file
path: retrodeck.sh
- type: dir
path: emu-configs
- type: dir
path: emu-configs/Dolphin
- type: dir
path: res
- type: dir
path: res/steam
- type: dir
path: tools
- type: file
path: net.retrodeck.retrodeck.desktop
- type: file
path: net.retrodeck.retrodeck.appdata.xml
- type: git
url: https://github.com/XargonWan/RetroDECK.git
branch: main

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

View file

@ -139,7 +139,11 @@ standalones_init() {
echo "Initializing CITRA"
echo "----------------------"
mkdir -pv /var/config/citra-emu/
cp -fvr $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
cp -fv $emuconfigs/citra-qt-config.ini /var/config/citra-emu/qt-config.ini
sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
#TODO: do the same with roms folders after new variables is pushed (check even the others qt-emu)
#But actually everything is always symlinked to retrodeck/roms so it might be not needed
#sed -i 's#~/retrodeck#'$rdhome'#g' /var/config/citra-emu/qt-config.ini
# RPCS3
echo "----------------------"
@ -176,6 +180,7 @@ post_update() {
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes"
mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml #this is resetting es_systems, now we need it but in the future I should think a better solution
ra_init
standalones_init
tools_init
@ -256,25 +261,25 @@ finit() {
mkdir -pv $rdhome/saves
mkdir -pv $rdhome/states
mkdir -pv $rdhome/screenshots
mkdir -pv $rdhome/bios/pico-8
mkdir -pv $rdhome/bios/pico8
mkdir -pv $rdhome/.logs
# XMLSTARLET HERE
cp -f /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
# ES-DE preparing themes and scraped folders
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes"
# PICO-8
dir_prep "$roms_folder/pico-8" "$rdhome/bios/pico-8/bbs/carts" #this is the folder where pico-8 is saving the carts
dir_prep "$roms_folder/pico8" "$rdhome/bios/pico8/bbs/carts" #this is the folder where pico-8 is saving the carts
ra_init
standalones_init
tools_init
create_lock
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="Initialization completed.\nplease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n$rdhome/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIt's suggested to add RetroDECK to your Steam Library for a quick access."
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --title "RetroDECK" --text="Initialization completed.\nplease put your roms in:\n\n$roms_folder\n\nand your bioses in\n\n$rdhome/bios\n\nThen start the program again.\nIf you wish to change the roms location, you may use the tool located the tools section of RetroDECK.\n\nIMPORTANT NOTE:\nRetroDECK must be manually added and launched from your Steam Library in order to work correctly.\nMoreover is suggested to use BoilR to automatically add the SteamGridDB images to Steam (this will be automated soon).\nhttps://github.com/PhilipK/BoilR"
# TODO: Replace the stuff above with BoilR code when ready
}

View file

@ -1,29 +0,0 @@
#!/bin/bash
if [ -d ~/retrodeck/roms ] && [ -d /run/media/mmcblk0p1/retrodeck/roms ]
then # found both internal and sd folders
zenity --title "RetroDECK" --warning --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text="I found a roms folder both in internal and SD Card,\nin order to make this tool useful you should remove one of the two or merge them."
exit 0
fi
if [ -d ~/retrodeck/roms ] && [ ! -d /run/media/mmcblk0p1/retrodeck/roms ]
then # found internal folder and not the external
roms_path=~/retrodeck
new_roms_path=/run/media/mmcblk0p1/retrodeck
fi
if [ ! -d ~/retrodeck/roms ] && [ -d /run/media/mmcblk0p1/retrodeck/roms ]
then # found external folder and not the internal
roms_path=/run/media/mmcblk0p1/retrodeck
new_roms_path=~/retrodeck
fi
zenity --title "RetroDECK" --question --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --text="Should I move the roms from\n\n$roms_path/roms\n\nto\n\n$new_roms_path/roms?"
if [ $? == 0 ] #yes
then
mkdir -p $new_roms_path
mv -f $roms_path/roms $new_roms_path/roms
rm -f /var/config/emulationstation/ROMs
ln -s $new_roms_path/roms /var/config/emulationstation/ROMs
rm -f $roms_path/roms
fi