- Manifest multiarch i386 (Compat.i386 + GL32 + gamescope) - Wrapper launcher con EULA dialog GTK3 (persistente), audio PipeWire, saves - sdl12-compat build i386, risoluzione 1024x768@16, 60fps - Icona composita (mech + kanji + banner SHOGO, trasparente) 512/256 - icon-build.py (post-processing rembg) - Cartella flathub-submission pronta per la PR - install-shogo-demo.sh per PC nuovi
2.8 KiB
2.8 KiB
Flathub submission — Shogo: Mobile Armor Division (Linux Demo)
This folder contains everything needed to submit the app to Flathub.
Files
io.github.enne2.ShogoDemo.yml— Flatpak manifest (multiarch i386, sdl12-compat, gamescope)flathub.json— restrict builds to x86_64shogo-demo— launcher wrapper (EULA dialog, gamescope, audio, saves)eula-dialog.c— GTK3 EULA acceptance dialog (C source, compiled in the manifest)io.github.enne2.ShogoDemo.desktopio.github.enne2.ShogoDemo.metainfo.xmlicon-256.png
The demo game data (shogo-demo-src.tar.gz, 37 MB) is NOT in this folder: it is
fetched by the build from a public URL (see io.github.enne2.ShogoDemo.yml,
source archive).
Prerequisites
- A GitHub account (the app ID
io.github.enne2.ShogoDemorequires the repositorygithub.com/enne2/shogo-demo-flatpakto exist, or change the ID). - A public URL hosting
shogo-demo-src.tar.gz(SHA256dd6b4438c8fa72f04ca74857d11ea9d250eb497720eef5e312523eae43116b9c), e.g.https://enne2.net/pub/shogo-demo-src.tar.gz.
Steps
- Host the data tarball at a stable public URL and update
url:in thearchivesource ofio.github.enne2.ShogoDemo.yml. - Create the GitHub repository
enne2/shogo-demo-flatpak(public) and push this folder (manifest, wrapper, sources, icons, README). - Fork
https://github.com/flathub/flathuband create a branch fromnew-pr. - In the fork, create the folder
io.github.enne2.ShogoDemo/and add:io.github.enne2.ShogoDemo.ymlflathub.jsonshogo-demo(wrapper)eula-dialog.cio.github.enne2.ShogoDemo.desktopio.github.enne2.ShogoDemo.metainfo.xmlicon-256.png(installed asio.github.enne2.ShogoDemo.png)
- Open a Pull Request against the
new-prbranch with titleAdd io.github.enne2.ShogoDemo. - Flathub's bot will build the app. Reply to review comments and request a
test build with
bot, buildwhen needed.
Important notes
- Flathub policy: manifest, metadata, patch files and PR comments must NOT be AI-generated. Review/edit every file manually before submitting.
- License: the demo is shareware/proprietary (Monolith Productions / Hyperion Entertainment). No explicit redistribution EULA was found; the demo has been freely distributed historically (Open Pandora lists it as "Redistribute: Allowed"). There is a risk that Flathub rejects or removes the app. Use at your own discretion.
sdl12-compatis fetched from the upstream Git tagrelease-1.2.76(fixed commit).
Test locally
flatpak-builder --user --force-clean --repo=repo build io.github.enne2.ShogoDemo.yml
flatpak install --user -y repo io.github.enne2.ShogoDemo
flatpak run io.github.enne2.ShogoDemo