XENIA: first add

This commit is contained in:
XargonWan 2024-09-19 14:39:21 +09:00
parent 5e160325ab
commit 251c76f382
4 changed files with 40 additions and 0 deletions

View file

@ -24,3 +24,4 @@ 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^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^XENIACANARYLATESTSHA^https://github.com/xenia-canary/xenia-canary/releases/latest/download/experimental/xenia_canary.zip

View file

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

View file

@ -890,6 +890,17 @@ prepare_component() {
fi
if [[ "$component" =~ ^(xenia|all)$ ]]; then
component_found="true"
log i "----------------------"
log i "Prepearing Xenia"
log i "----------------------"
rm -rf "/var/data/xenia-canary-pfx"
# TODO: fill this
fi
if [[ $component_found == "false" ]]; then
log e "Supplied component $component not found, not resetting"
fi

View file

@ -2,6 +2,8 @@ app-id: net.retrodeck.retrodeck
runtime: org.kde.Platform
runtime-version: "6.7"
sdk: org.kde.Sdk
base: org.winehq.Wine
base-version: stable-23.08
command: retrodeck.sh
finish-args:
@ -609,6 +611,23 @@ modules:
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
# 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/latest/download/experimental/xenia_canary.zip
sha256: XENIACANARYLATESTSHA
- type: script
commands:
- |
#!/bin/bash
WINEPREFIX="/var/data/xenia-canary-pfx" wine "/app/xenia-canary/xenia-canary.exe"
dest-filename: xenia-canary
- name: fetch-missing-libs
buildsystem: simple
build-commands: