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 9fd620cef2
19 changed files with 320 additions and 291 deletions

View file

@ -38,17 +38,16 @@ jobs:
git submodule init git submodule init
git submodule update git submodule update
sudo apt install -y flatpak flatpak-builder p7zip-full sudo apt install -y flatpak flatpak-builder p7zip-full
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 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 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 - name: Build flatpak
run: | 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 - name: Create Bundle
run: | 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 flatpak build-bundle $GITHUB_WORKSPACE/local RetroDECK.flatpak net.retrodeck.retrodeck
- name: Read version from version file - name: Read version from version file

View file

@ -39,43 +39,43 @@ camera_outer_right_name\default=true
[Controls] [Controls]
profile=0 profile=0
profile\default=true 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_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_b\default=false
profiles\1\button_debug="code:79,engine:keyboard" profiles\1\button_debug="code:79,engine:keyboard"
profiles\1\button_debug\default=true 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_down\default=false
profiles\1\button_gpio14="code:80,engine:keyboard" profiles\1\button_gpio14="code:80,engine:keyboard"
profiles\1\button_gpio14\default=true 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_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_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_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_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_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_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_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_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_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_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_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\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\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\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="engine:motion_emu,update_period:100,sensitivity:0.01,tilt_clamp:90.0"
profiles\1\motion_device\default=true profiles\1\motion_device\default=true
@ -106,10 +106,10 @@ use_cpu_jit=true
use_cpu_jit\default=true use_cpu_jit\default=true
[Data%20Storage] [Data%20Storage]
nand_directory=/home/steamos/.var/app/net.retrodeck.retrodeck/data/citra-emu/nand/ nand_directory=~/retrodeck/saves/Citra/nand/
nand_directory\default=true nand_directory\default=false
sdmc_directory=/home/steamos/.var/app/net.retrodeck.retrodeck/data/citra-emu/sdmc/ sdmc_directory=~/retrodeck/saves/Citra/sdmc/
sdmc_directory\default=true sdmc_directory\default=false
use_virtual_sd=true use_virtual_sd=true
use_virtual_sd\default=true use_virtual_sd\default=true
@ -330,8 +330,8 @@ Paths\language=en
Paths\language\default=false Paths\language\default=false
Paths\moviePlaybackPath= Paths\moviePlaybackPath=
Paths\movieRecordPath= Paths\movieRecordPath=
Paths\recentFiles=/var/config/emulationstation/ROMs/n3ds/Gyakuten Saiban 123 - Naruhodo Selection (Japan) Decrypted.3ds Paths\recentFiles=
Paths\romsPath= Paths\romsPath=/home/deck/retrodeck/roms/n3ds
Paths\screenshotPath= Paths\screenshotPath=
Paths\symbolsPath= Paths\symbolsPath=
Paths\videoDumpingPath= 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\Decrease%20Speed%20Limit\KeySeq\default=true
Shortcuts\Main%20Window\Exit%20Citra\Context=1 Shortcuts\Main%20Window\Exit%20Citra\Context=1
Shortcuts\Main%20Window\Exit%20Citra\Context\default=true Shortcuts\Main%20Window\Exit%20Citra\Context\default=true
Shortcuts\Main%20Window\Exit%20Citra\KeySeq=Ctrl+Q Shortcuts\Main%20Window\Exit%20Citra\KeySeq=T
Shortcuts\Main%20Window\Exit%20Citra\KeySeq\default=true Shortcuts\Main%20Window\Exit%20Citra\KeySeq\default=false
Shortcuts\Main%20Window\Exit%20Fullscreen\Context=1 Shortcuts\Main%20Window\Exit%20Fullscreen\Context=1
Shortcuts\Main%20Window\Exit%20Fullscreen\Context\default=true Shortcuts\Main%20Window\Exit%20Fullscreen\Context\default=true
Shortcuts\Main%20Window\Exit%20Fullscreen\KeySeq=Esc 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%20File\KeySeq\default=true
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\Context=1 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\Context\default=true
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq=Ctrl+V Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq=R
Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq\default=true Shortcuts\Main%20Window\Load%20from%20Newest%20Slot\KeySeq\default=false
Shortcuts\Main%20Window\Remove%20Amiibo\Context=2 Shortcuts\Main%20Window\Remove%20Amiibo\Context=2
Shortcuts\Main%20Window\Remove%20Amiibo\Context\default=true Shortcuts\Main%20Window\Remove%20Amiibo\Context\default=true
Shortcuts\Main%20Window\Remove%20Amiibo\KeySeq=F3 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\Rotate%20Screens%20Upright\KeySeq\default=true
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\Context=1 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\Context\default=true
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq=Ctrl+C Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq=L
Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq\default=true Shortcuts\Main%20Window\Save%20to%20Oldest%20Slot\KeySeq\default=false
Shortcuts\Main%20Window\Stop%20Emulation\Context=1 Shortcuts\Main%20Window\Stop%20Emulation\Context=1
Shortcuts\Main%20Window\Stop%20Emulation\Context\default=true Shortcuts\Main%20Window\Stop%20Emulation\Context\default=true
Shortcuts\Main%20Window\Stop%20Emulation\KeySeq=F5 Shortcuts\Main%20Window\Stop%20Emulation\KeySeq=F5
Shortcuts\Main%20Window\Stop%20Emulation\KeySeq\default=true Shortcuts\Main%20Window\Stop%20Emulation\KeySeq\default=true
Shortcuts\Main%20Window\Swap%20Screens\Context=1 Shortcuts\Main%20Window\Swap%20Screens\Context=1
Shortcuts\Main%20Window\Swap%20Screens\Context\default=true Shortcuts\Main%20Window\Swap%20Screens\Context\default=true
Shortcuts\Main%20Window\Swap%20Screens\KeySeq=F9 Shortcuts\Main%20Window\Swap%20Screens\KeySeq=Y
Shortcuts\Main%20Window\Swap%20Screens\KeySeq\default=true Shortcuts\Main%20Window\Swap%20Screens\KeySeq\default=false
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context=2 Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context=2
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context\default=true Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\Context\default=true
Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\KeySeq=Ctrl+Z Shortcuts\Main%20Window\Toggle%20Alternate%20Speed\KeySeq=Ctrl+Z
@ -452,7 +452,7 @@ fullscreen=true
fullscreen\default=true fullscreen\default=true
hideInactiveMouse=false hideInactiveMouse=false
hideInactiveMouse\default=true hideInactiveMouse\default=true
pauseWhenInBackground=false pauseWhenInBackground=true
pauseWhenInBackground\default=true pauseWhenInBackground\default=true
screenshot_resolution_factor=0 screenshot_resolution_factor=0
screenshot_resolution_factor\default=true screenshot_resolution_factor\default=true

View file

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

View file

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

View file

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

View file

@ -24,6 +24,8 @@
</emulator> </emulator>
<core name="RETROARCH"> <core name="RETROARCH">
<rule type="corepath"> <rule type="corepath">
<!-- FlatPak RetroDECK -->
<entry>/app/share/libretro/cores</entry>
<!-- Snap package --> <!-- Snap package -->
<entry>~/snap/retroarch/current/.config/retroarch/cores</entry> <entry>~/snap/retroarch/current/.config/retroarch/cores</entry>
<!-- Flatpak package --> <!-- Flatpak package -->
@ -40,8 +42,6 @@
<entry>/usr/local/lib/libretro</entry> <entry>/usr/local/lib/libretro</entry>
<!-- NetBSD repository --> <!-- NetBSD repository -->
<entry>/usr/pkg/lib/libretro</entry> <entry>/usr/pkg/lib/libretro</entry>
<!-- FlatPak RetroDECK -->
<entry>/app/share/libretro/cores</entry>
</rule> </rule>
</core> </core>
<emulator name="ATARI800"> <emulator name="ATARI800">
@ -78,7 +78,6 @@
<entry>citra</entry> <entry>citra</entry>
<entry>citra-emu.citra-nightly</entry> <entry>citra-emu.citra-nightly</entry>
<entry>org.citra_emu.citra</entry> <entry>org.citra_emu.citra</entry>
<entry>citra-qt</entry>
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry> <entry>/var/lib/flatpak/exports/bin/org.citra_emu.citra</entry>
@ -105,9 +104,9 @@
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry> <entry>/var/lib/flatpak/exports/bin/org.DolphinEmu.dolphin-emu</entry>
<entry>~/.local/share/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>~/Applications/Dolphin_Emulator*.AppImage</entry>
<entry>~/.local/bin/Dolphin_Emulator.AppImage</entry> <entry>~/.local/bin/Dolphin_Emulator*.AppImage</entry>
<entry>~/bin/Dolphin_Emulator.AppImage</entry> <entry>~/bin/Dolphin_Emulator*.AppImage</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="DOSBOX-STAGING"> <emulator name="DOSBOX-STAGING">
@ -211,9 +210,9 @@
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry> <entry>/var/lib/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/.local/share/flatpak/exports/bin/io.mgba.mGBA</entry> <entry>~/.local/share/flatpak/exports/bin/io.mgba.mGBA</entry>
<entry>~/Applications/mGBA.AppImage</entry> <entry>~/Applications/mGBA*.AppImage</entry>
<entry>~/.local/bin/mGBA.AppImage</entry> <entry>~/.local/bin/mGBA*.AppImage</entry>
<entry>~/bin/mGBA.AppImage</entry> <entry>~/bin/mGBA*.AppImage</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="MUPEN64PLUS"> <emulator name="MUPEN64PLUS">
@ -237,6 +236,17 @@
<entry>~/.local/share/flatpak/exports/bin/ca._0ldsk00l.Nestopia</entry> <entry>~/.local/share/flatpak/exports/bin/ca._0ldsk00l.Nestopia</entry>
</rule> </rule>
</emulator> </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"> <emulator name="PCSX2">
<!-- Sony PlayStation 2 emulator PCSX2 --> <!-- Sony PlayStation 2 emulator PCSX2 -->
<rule type="systempath"> <rule type="systempath">
@ -249,19 +259,32 @@
<entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry> <entry>~/.local/share/flatpak/exports/bin/net.pcsx2.PCSX2</entry>
</rule> </rule>
</emulator> </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!"> <emulator name="PLAY!">
<!-- Sony PlayStation 2 emulator Play! --> <!-- Sony PlayStation 2 emulator Play! -->
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.purei.Play</entry> <entry>/var/lib/flatpak/exports/bin/org.purei.Play</entry>
<entry>~/.local/share/flatpak/exports/bin/org.purei.Play</entry> <entry>~/.local/share/flatpak/exports/bin/org.purei.Play</entry>
<entry>~/Applications/Play!.AppImage</entry> <entry>~/Applications/Play!*.AppImage</entry>
<entry>~/.local/bin/Play!.AppImage</entry> <entry>~/.local/bin/Play!*.AppImage</entry>
<entry>~/bin/Play!.AppImage</entry> <entry>~/bin/Play!*.AppImage</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="PPSSPP"> <emulator name="PPSSPP">
<!-- Sony PlayStation Portable emulator PPSSPP --> <!-- Sony PlayStation Portable emulator PPSSPP -->
<rule type="systempath"> <rule type="systempath">
<entry>PPSSPPSDL</entry>
<entry>ppsspp-emu.ppsspp-sdl</entry> <entry>ppsspp-emu.ppsspp-sdl</entry>
<entry>org.ppsspp.PPSSPP</entry> <entry>org.ppsspp.PPSSPP</entry>
</rule> </rule>
@ -287,9 +310,9 @@
<entry>redream</entry> <entry>redream</entry>
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>~/Applications/redream</entry> <entry>~/Applications/redream/redream</entry>
<entry>~/.local/bin/redream</entry> <entry>~/.local/bin/redream/redream</entry>
<entry>~/bin/redream</entry> <entry>~/bin/redream/redream</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="RPCS3"> <emulator name="RPCS3">
@ -298,14 +321,13 @@
<entry>rpcs3</entry> <entry>rpcs3</entry>
<entry>rpcs3-emu.rpcs3</entry> <entry>rpcs3-emu.rpcs3</entry>
<entry>net.rpcs3.RPCS3</entry> <entry>net.rpcs3.RPCS3</entry>
<entry>rpcs3.AppImage</entry>
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/net.rpcs3.RPCS3</entry> <entry>/var/lib/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
<entry>~/.local/share/flatpak/exports/bin/net.rpcs3.RPCS3</entry> <entry>~/.local/share/flatpak/exports/bin/net.rpcs3.RPCS3</entry>
<entry>~/Applications/rpcs3.AppImage</entry> <entry>~/Applications/rpcs3*.AppImage</entry>
<entry>~/.local/bin/rpcs3.AppImage</entry> <entry>~/.local/bin/rpcs3*.AppImage</entry>
<entry>~/bin/rpcs3.AppImage</entry> <entry>~/bin/rpcs3*.AppImage</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="SNES9X"> <emulator name="SNES9X">
@ -347,9 +369,9 @@
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/app.xemu.xemu</entry> <entry>/var/lib/flatpak/exports/bin/app.xemu.xemu</entry>
<entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry> <entry>~/.local/share/flatpak/exports/bin/app.xemu.xemu</entry>
<entry>~/Applications/Xemu.AppImage</entry> <entry>~/Applications/Xemu*.AppImage</entry>
<entry>~/.local/bin/Xemu.AppImage</entry> <entry>~/.local/bin/Xemu*.AppImage</entry>
<entry>~/bin/Xemu.AppImage</entry> <entry>~/bin/Xemu*.AppImage</entry>
</rule> </rule>
</emulator> </emulator>
<emulator name="YUZU"> <emulator name="YUZU">
@ -357,22 +379,13 @@
<rule type="systempath"> <rule type="systempath">
<entry>yuzu</entry> <entry>yuzu</entry>
<entry>org.yuzu_emu.yuzu</entry> <entry>org.yuzu_emu.yuzu</entry>
<entry>yuzu.AppImage</entry>
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">
<entry>/var/lib/flatpak/exports/bin/org.yuzu_emu.yuzu</entry> <entry>/var/lib/flatpak/exports/bin/org.yuzu_emu.yuzu</entry>
<entry>~/.local/share/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>~/Applications/yuzu*.AppImage</entry>
<entry>~/.local/bin/yuzu.AppImage</entry> <entry>~/.local/bin/yuzu*.AppImage</entry>
<entry>~/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> </rule>
</emulator> </emulator>
</ruleList> </ruleList>

View file

@ -318,6 +318,24 @@
<platform>colecovision</platform> <platform>colecovision</platform>
<theme>colecovision</theme> <theme>colecovision</theme>
</system> </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> <system>
<name>daphne</name> <name>daphne</name>
<fullname>Daphne Arcade LaserDisc Emulator</fullname> <fullname>Daphne Arcade LaserDisc Emulator</fullname>
@ -341,7 +359,7 @@
<name>dos</name> <name>dos</name>
<fullname>DOS (PC)</fullname> <fullname>DOS (PC)</fullname>
<path>%ROMPATH%/dos</path> <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-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-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> <command label="DOSBox-SVN">%EMULATOR_RETROARCH% -L %CORE_RETROARCH%/dosbox_svn_libretro.so %ROM%</command>
@ -640,6 +658,24 @@
<platform>mess</platform> <platform>mess</platform>
<theme>mess</theme> <theme>mess</theme>
</system> </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> <system>
<name>moonlight</name> <name>moonlight</name>
<fullname>Moonlight Game Streaming</fullname> <fullname>Moonlight Game Streaming</fullname>
@ -843,8 +879,8 @@
<name>oric</name> <name>oric</name>
<fullname>Tangerine Computer Systems Oric</fullname> <fullname>Tangerine Computer Systems Oric</fullname>
<path>%ROMPATH%/oric</path> <path>%ROMPATH%/oric</path>
<extension>.7z .7Z .zip .ZIP</extension> <extension>.dsk .DSK .ort .ORT .tap .TAP .wav .WAV</extension>
<command>PLACEHOLDER %ROM%</command> <command label="Oricutron (Standalone)">%EMULATOR_ORICUTRON% %STARTDIR%=%EMUDIR% %ROM%</command>
<platform>oric</platform> <platform>oric</platform>
<theme>oric</theme> <theme>oric</theme>
</system> </system>
@ -905,6 +941,18 @@
<platform>pcfx</platform> <platform>pcfx</platform>
<theme>pcfx</theme> <theme>pcfx</theme>
</system> </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> <system>
<name>pokemini</name> <name>pokemini</name>
<fullname>Nintendo Pokémon Mini</fullname> <fullname>Nintendo Pokémon Mini</fullname>
@ -939,7 +987,8 @@
<fullname>Sony PlayStation 3</fullname> <fullname>Sony PlayStation 3</fullname>
<path>%ROMPATH%/ps3</path> <path>%ROMPATH%/ps3</path>
<extension>.ps3 .PS3 .ps3dir .PS3DIR</extension> <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> <platform>ps3</platform>
<theme>ps3</theme> <theme>ps3</theme>
</system> </system>
@ -1247,8 +1296,8 @@
<name>ti99</name> <name>ti99</name>
<fullname>Texas Instruments TI-99</fullname> <fullname>Texas Instruments TI-99</fullname>
<path>%ROMPATH%/ti99</path> <path>%ROMPATH%/ti99</path>
<extension>.7z .7Z .zip .ZIP</extension> <extension>.rpk .RPK .7z .7Z .zip .ZIP</extension>
<command>PLACEHOLDER %ROM%</command> <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> <platform>ti99</platform>
<theme>ti99</theme> <theme>ti99</theme>
</system> </system>
@ -1434,16 +1483,4 @@
<platform>tools</platform> <platform>tools</platform>
<theme>tools</theme> <theme>tools</theme>
</system> </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> </systemList>

View file

@ -63,11 +63,4 @@
<nogamecount>true</nogamecount> <nogamecount>true</nogamecount>
<nomultiscrape>true</nomultiscrape> <nomultiscrape>true</nomultiscrape>
</game> </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 checkout main
git submodule init git submodule init
git submodule update 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 cd ~/flathub
rm -rf shared-submodules git rm -r *
rm -rf rd-submodules # NOTE: be careful to remove the REAL (linked) submodules only
rm -rf shared-modules
rm -rf rd-submodules/retroarch
# rebuilding submodules # rebuilding submodules
git config -f .gitmodules --get-regexp '^submodule\..*\.path$' | 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... # 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)'; git submodule foreach --recursive 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)';
rm flathub-pr.sh
git submodule update git submodule update
git add * git add *
git commit -m "Updating flathub" git commit -m "Updating flathub"

View file

@ -36,6 +36,8 @@
<p> <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. 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> 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> </description>
<project_license>GPL-3.0</project_license> <project_license>GPL-3.0</project_license>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
@ -46,19 +48,25 @@
<description> <description>
<p><b>Emulators:</b></p> <p><b>Emulators:</b></p>
<ul> <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>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> </ul>
<p><b>Backend:</b></p> <p><b>Backend:</b></p>
<ul> <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> </ul>
<p><b>Known Issues:</b></p> <p><b>Known Issues:</b></p>
<ul> <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>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>Due to a Steam limitation, 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>
</ul> </ul>
<p><b>IMPORTANT NOTE:</b> <p><b>IMPORTANT NOTE:</b>

View file

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

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 "Initializing CITRA"
echo "----------------------" echo "----------------------"
mkdir -pv /var/config/citra-emu/ 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 # RPCS3
echo "----------------------" echo "----------------------"
@ -176,6 +180,7 @@ post_update() {
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media" dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes" 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 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 ra_init
standalones_init standalones_init
tools_init tools_init
@ -256,25 +261,25 @@ finit() {
mkdir -pv $rdhome/saves mkdir -pv $rdhome/saves
mkdir -pv $rdhome/states mkdir -pv $rdhome/states
mkdir -pv $rdhome/screenshots mkdir -pv $rdhome/screenshots
mkdir -pv $rdhome/bios/pico-8 mkdir -pv $rdhome/bios/pico8
mkdir -pv $rdhome/.logs mkdir -pv $rdhome/.logs
# XMLSTARLET HERE # 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 # ES-DE preparing themes and scraped folders
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media" dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes" dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes"
# PICO-8 # 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 ra_init
standalones_init standalones_init
tools_init tools_init
create_lock 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 # 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