This commit is contained in:
XargonWan 2024-09-23 06:56:44 +00:00 committed by GitHub
commit 269f4323b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 68 additions and 4 deletions

View file

@ -24,4 +24,5 @@ hash^RETRODECKMELONDSLATEST^https://github.com/RetroDECK/net.kuribo64.melonDS/re
hash^RETRODECKSOLARUSLATEST^https://github.com/RetroDECK/org.solarus_games.solarus.Launcher/releases/latest/download/RetroDECK-solarus-Artifact.tar.gz hash^RETRODECKSOLARUSLATEST^https://github.com/RetroDECK/org.solarus_games.solarus.Launcher/releases/latest/download/RetroDECK-solarus-Artifact.tar.gz
hash^RETRODECKGZDOOMLATEST^https://github.com/RetroDECK/org.zdoom.GZDoom/releases/latest/download/RetroDECK-gzdoom-Artifact.tar.gz hash^RETRODECKGZDOOMLATEST^https://github.com/RetroDECK/org.zdoom.GZDoom/releases/latest/download/RetroDECK-gzdoom-Artifact.tar.gz
hash^RETRODECKMAMELATEST^https://github.com/RetroDECK/MAME/releases/latest/download/RetroDECK-MAME-Artifact.tar.gz hash^RETRODECKMAMELATEST^https://github.com/RetroDECK/MAME/releases/latest/download/RetroDECK-MAME-Artifact.tar.gz
hash^PORTMASTERLATESTSHA^https://github.com/PortsMaster/PortMaster-GUI/releases/latest/download/retrodeck.portmaster.zip hash^XENIACANARYLATESTSHA^https://github.com/xenia-canary/xenia-canary/releases/download/experimental/xenia_canary.zip
hash^PORTMASTERLATESTSHA^https://github.com/PortsMaster/PortMaster-GUI/releases/latest/download/retrodeck.portmaster.zip

View file

@ -776,6 +776,9 @@
"x68000": { "x68000": {
"name": "Sharp X68000" "name": "Sharp X68000"
}, },
"xbox360": {
"name": "Microsoft Xbox 360"
},
"xbox": { "xbox": {
"name": "Microsoft Xbox" "name": "Microsoft Xbox"
}, },
@ -1133,6 +1136,12 @@
"name": "PortMaster", "name": "PortMaster",
"system": "portmaster", "system": "portmaster",
"launch": "PortMaster" "launch": "PortMaster"
},
"xenia": {
"description": "Xenia Canary Xbox360 Emulator",
"name": "Xenia Canary",
"system": "xbox360",
"launch": "xenia-canary"
} }
} }
} }

View file

@ -890,6 +890,28 @@ prepare_component() {
fi fi
if [[ "$component" =~ ^(xenia|all)$ ]]; then
component_found="true"
log i "----------------------"
log i "Prepearing Xenia"
log i "----------------------"
local xenia_prefix="/var/data/xenia-canary-pfx"
create_dir -d "$xenia_prefix"
# sandboxing prefix to avoid writing on real user home folder
# TODO: multi user needs to carew about this as we're using the linux username
unlink "$xenia_prefix/drive_c/users/$(whoami)/Desktop" && create_dir "$xenia_prefix/drive_c/users/$(whoami)/Desktop"
unlink "$xenia_prefix/drive_c/users/$(whoami)/Documents" && create_dir "$xenia_prefix/drive_c/users/$(whoami)/Documents"
unlink "$xenia_prefix/drive_c/users/$(whoami)/Downloads" && create_dir "$xenia_prefix/drive_c/users/$(whoami)/Downloads"
unlink "$xenia_prefix/drive_c/users/$(whoami)/Music" && create_dir "$xenia_prefix/drive_c/users/$(whoami)/Music"
unlink "$xenia_prefix/drive_c/users/$(whoami)/Pictures" && create_dir "$xenia_prefix/drive_c/users/$(whoami)/Pictures"
unlink "$xenia_prefix/drive_c/users/$(whoami)/Videos" && create_dir "$xenia_prefix/drive_c/users/$(whoami)/Videos"
# TODO: fill this
fi
if [[ $component_found == "false" ]]; then if [[ $component_found == "false" ]]; then
log e "Supplied component $component not found, not resetting" log e "Supplied component $component not found, not resetting"
fi fi

View file

@ -4,6 +4,19 @@ runtime-version: "6.7"
sdk: org.kde.Sdk sdk: org.kde.Sdk
command: retrodeck.sh command: retrodeck.sh
base: org.winehq.Wine
base-version: stable-23.08
inherit-extensions:
- org.freedesktop.Platform.Compat.i386
- org.freedesktop.Platform.ffmpeg_full.i386
- org.freedesktop.Platform.ffmpeg-full
- org.freedesktop.Platform.GL32
- org.freedesktop.Platform.VAAPI.Intel.i386
- org.winehq.Wine.DLLs
- org.winehq.Wine.gecko
- org.winehq.Wine.mono
finish-args: finish-args:
- --socket=wayland - --socket=wayland
- --socket=x11 - --socket=x11
@ -33,6 +46,8 @@ finish-args:
- --filesystem=~/.var/app/com.valvesoftware.Steam:rw # Steam (Flatpak) - --filesystem=~/.var/app/com.valvesoftware.Steam:rw # Steam (Flatpak)
# PPSSPP, DOLPHIN # PPSSPP, DOLPHIN
- --filesystem=xdg-run/gamescope-0:ro - --filesystem=xdg-run/gamescope-0:ro
# Xenia / Wine
- --env=WINEDLLPATH=/app/dlls/lib32:/app/dlls/lib:/app/lib32/wine/wined3d:/app/lib/wine/wined3d
cleanup: cleanup:
# ES-DE # ES-DE
@ -580,10 +595,11 @@ modules:
- cp -r files/* "${FLATPAK_DEST}" - cp -r files/* "${FLATPAK_DEST}"
- chmod +x "${FLATPAK_DEST}/bin/"* - chmod +x "${FLATPAK_DEST}/bin/"*
sources: sources:
# Testing the new feat/update-3.1.0
- type: archive - type: archive
url: https://github.com/RetroDECK/ES-DE/releases/latest/download/RetroDECK-ES-DE-Artifact.tar.gz url: https://github.com/RetroDECK/ES-DE/releases/download/feat%2Fxenia-190924.46/RetroDECK-ES-DE-Artifact.tar.gz
sha256: RETRODECKESDELATEST sha256: 6ea55f59613a066ae36f04b61b3e9810d45fa2ca0924d876b5ada2ca28f5f36f
# url: https://github.com/RetroDECK/ES-DE/releases/latest/download/RetroDECK-ES-DE-Artifact.tar.gz
# sha256: RETRODECKESDELATEST
- name: retrodeck-theme - name: retrodeck-theme
buildsystem: simple buildsystem: simple
@ -609,6 +625,22 @@ modules:
url: https://github.com/ruffle-rs/ruffle/releases/download/nightly-2024-08-09/ruffle-nightly-2024_08_09-linux-x86_64.tar.gz url: https://github.com/ruffle-rs/ruffle/releases/download/nightly-2024-08-09/ruffle-nightly-2024_08_09-linux-x86_64.tar.gz
sha256: d2c4c77d8426da6df8dc8b2a57565c151146464a8eec605d5faa68a297d8cad6 sha256: d2c4c77d8426da6df8dc8b2a57565c151146464a8eec605d5faa68a297d8cad6
# XENIA CANARY
- name: xenia-canary
buildsystem: simple
build-commands:
- install -Dm755 xenia_canary.exe "${FLATPAK_DEST}/xenia-canary/xenia_canary.exe"
- install -Dm755 xenia-canary "${FLATPAK_DEST}/bin/xenia-canary"
sources:
- type: archive
url: https://github.com/xenia-canary/xenia-canary/releases/download/experimental/xenia_canary.zip
sha256: XENIACANARYLATESTSHA
- type: script
commands:
- |
WINEPREFIX="/var/data/xenia-canary-pfx" wine64 "/app/xenia-canary/xenia_canary.exe"
dest-filename: xenia-canary
- name: fetch-missing-libs - name: fetch-missing-libs
buildsystem: simple buildsystem: simple
build-commands: build-commands: