Repository navigation
Linux AppImage for SteamOS-like handhelds (+ Docker build, widescreen) - #1
Merged
Merged
Conversation
…time tools/linux/build-appimage.sh recompiles from the player's own disc, publishes a self-contained linux-x64 build and packages it as a single AppImage (no .NET needed on the device). tools/linux/Dockerfile provides the build environment (.NET 10 SDK, git, curl, python3), so no local SDK is needed. AppRun keeps saves/settings/logs in ~/.local/share/KnowYourRoleRecomp and fills CdPath from disc.txt, since the runtime validates the disc from settings.json. Bumps RecompOne to the widescreen + handheld menu bar change. README: new "Linux and SteamOS handhelds (AppImage)" section. Tested on a Legion Go 2 running Bazzite in Steam Game Mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bv5RE3i31GtUaGF5wSNaCm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a native Linux build of the port, packaged as a single self-contained AppImage, aimed at SteamOS-like handhelds (Steam Deck, Legion Go, ROG Ally on Bazzite/SteamOS) and desktop Linux. No Proton is needed, and no .NET install on the device.
Depends on Comfubar/RecompOne-PS1Ports#1 (widescreen and the handheld menu bar). This PR bumps the
RecompOnesubmodule to that commit, so it needs merging after that one.What's added
tools/linux/build-appimage.sh [disc.cue]: recompiles from the player's own disc, runsdotnet publish -r linux-x64 --self-contained, and packagesdist/KnowYourRole-x86_64.AppImagewith appimagetool, run with--appimage-extract-and-runso it works without FUSE (containers, WSL).tools/linux/Dockerfile: the build environment (.NET 10 SDK, git, curl, python3), so no local SDK is needed:tools/linux/AppRun:~/.local/share/KnowYourRoleRecomp(viaRECOMPONE_DATA_DIR/RECOMPONE_LOG_DIR), since an AppImage is read-only;$KYR_DISC, ordisc.txt, and fillsCdPathinsettings.jsonwhile it's empty, becauseWaitForValidDisconly checks the saved path. Otherwise the game shows its own picker as usual..gitignore: addspublish/.No Windows code paths change. The runtime was already cross-platform (Silk.NET SDL2/GL/OpenAL, and
user32is only used behindOperatingSystem.IsWindows()).Testing
disc.txt;autogives 16:10 on the 1920×1200 panel.disc/andgenerated/are already ignored).🤖 Generated with Claude Code
https://claude.ai/code/session_01Bv5RE3i31GtUaGF5wSNaCm