Skip to content

README quick start with a one-command Steam Frame installer; drop docs/steam-frame.md - #3

Merged
mitch030504 merged 5 commits into
openxr-workfrom
claude/peaceful-keller-2ek99b
Oct 5, 2026
Merged

mitch030504 merged 5 commits into
openxr-workfrom
claude/peaceful-keller-2ek99b

Conversation

@mitch030504

@mitch030504 mitch030504 commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

The Steam Frame guide now lives in the README alone. docs/steam-frame.md is removed. The README opens with a Quick start that runs a new install script, Launcher/steam-frame-install.sh, in one command.

Install script (Launcher/steam-frame-install.sh)

curl -fsSL https://raw.githubusercontent.com/mitch030504/Wiicompiled_VR_Frame/openxr-work/Launcher/steam-frame-install.sh \
    | bash -s -- --disc "/path/to/Mario Kart Wii.wbfs" --frame steamos@<frame-ip>

It does the following:

  • Checks the machine:
    • Uses podman, or docker if podman is missing.
    • On x86_64, checks that ARM64 emulation works. It names the missing qemu packages, or a missing P binfmt flag (where uname -m prints Linux).
  • Gets the source:
    • Downloads the newest release, or the one given with --release TAG.
    • Run from inside a source tree, it builds that tree instead (--source sets a tree explicitly).
    • On an update, only files whose content changed are copied over, with fresh timestamps, so the build recompiles just those.
  • Extracts the disc:
    • Takes an ISO, WBFS or RVZ image; WIA, CISO, GCZ, NFS and TGC also work. nodtool detects the format from the file's contents, not its name.
    • Also takes a .zip or .7z holding the image:
      • The archive is recognised by its first bytes.
      • It is unpacked with whichever tool the machine has: 7-Zip, then bsdtar, then unzip, then Python's zipfile. With none of those, bsdtar runs in a container of the machine's own architecture.
      • Each file inside is offered to nodtool, largest first. The RMCP01 image wins.
      • The unpacked files are removed afterwards.
    • Also takes an already-extracted folder, with sys/ at the top or in a subfolder such as DATA/.
    • Checks that boot.bin says RMCP01 before building. For another region it names that release (RMCE01, ...) and stops.
    • Then copies main.dol and StaticR.rel into Assets/.
  • Builds:
    • Uses one long-lived Debian trixie ARM64 container, so its packages install once.
    • Builds the toolchain, .NET, patched Dawn and the game.
    • --jobs defaults to a quarter of the memory in GB, which avoids the 16 GB freeze.
    • The log goes to ~/wiicompiled-frame/build.log, and running the script again resumes.
  • Installs:
    • Copies the game over SSH to ~/devkit-game/WiiCompiled/ on the Frame. With --frame local it installs on the Frame itself.
    • The executable is swapped in under a new name.
    • The disc is copied only if the Frame lacks it.
    • Points dvd_root in Config.toml at the disc, but only if it is not already set.
  • Registers with Steam: uses Valve's ~/devkit-utils/steam-client-create-shortcut with the same parameters Frame Control and the Devkit Client send. Without those tools, it explains how to add the game by hand.
  • Is safe to pipe from curl: the body is in main(), so bash reads the whole script before running it, and stdin is closed. Failures stop with a message instead of exiting silently.

README

  • Quick start:

    1. ARM64 emulation.
    2. Run the installer, with notes on accepted disc formats and archives, Frame Control's frame host, --jobs, resuming and Steam registration.
    3. Play.

    Updating is "run it again".

  • Building by hand: the previous manual steps, kept as they were.

  • Other ways to build: the script with --frame local on the Frame, and with Docker without --frame on a server, plus the Unraid POCF qemu registration.

  • Moved from docs/steam-frame.md: recommended settings (render_scale 1.25 = native 2160), controls, known issues, troubleshooting (now with the script's paths), how it works.

Other changes

  • Links that pointed at the guide now point at the README: OPENXR.md, docs/quest-port.md, android/README.md, and comments in Launcher/local-build.sh and Launcher/build-dawn-linux.sh.
  • The frame-beta-1 release notes keep their link, which resolves at that tag.

Checks

  • Disc formats:
    • Built a synthetic Wii disc with the ID RMCP01 and no game data, using nod's own library.
    • Turned it into a properly encrypted ISO with nodtool convert --encrypt, then converted that to WBFS and RVZ. All three reconstruct to the same SHA-1.
    • Ran the script on each, with the pinned nodtool v2.0.0-alpha.10. main.dol and StaticR.rel came out byte-identical to the originals every time.
    • The same holds for an RVZ named .iso, and for extracted folders with sys/ at the top or under DATA/.
    • An RMCE01 WBFS stops with its message.
  • Archives:
    • A zip or 7z holding an RVZ in a subfolder plus a readme extracts correctly with each unpacker: 7-Zip, bsdtar, unzip, Python (zip), and the container path (stubbed runtime).
    • Also extracts correctly: a 7z named .iso, and zip and 7z archives holding both NTSC and PAL images (PAL is picked).
    • These stop with clear messages: an NTSC-only 7z, a zip with no disc, a password-protected zip, and truncated zip and 7z files.
  • Container fallback with real Docker: the run, platform and mounts work. Its apt-get step could not be completed in this sandbox, because the network blocks Debian's mirrors.
  • bash -n passes on the install script.
  • The script was smoke-tested end to end with a stub podman and stub ssh/scp. That covers:
    • --frame local;
    • SSH with and without rsync (no nested disc folder);
    • an absolute --frame-disc;
    • piping it through bash -s;
    • downloading frame-beta-1, and a rerun that skips the download;
    • a full run from a 7z;
    • a bad --release or --disc, which gives a clear error.
  • It has not been run against a real Frame, a real disc or a real container build yet.
  • Every README anchor resolves.

Note: the curl one-liner reads the script from openxr-work, so it works once this is merged. Cutting a frame-beta-2 release afterwards puts the script inside the release too.

🤖 Generated with Claude Code

https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3

claude added 3 commits October 5, 2026 06:22
docs/steam-frame.md is gone. The README now opens with a quick start that
goes from the disc to playing (emulation setup, disc extraction, the
container build, installing with Frame Control, updating), and carries what
the guide held that a player or contributor needs: recommended settings, the
Frame controller map, known issues, troubleshooting (log lines, the pacing
line, crash backtraces), building on the Frame or with Docker (including
Unraid's qemu registration), how the native build works and why the Android
flavour cannot show a picture. Links to the old guide point at the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
The quick start, the on-Frame build and updates now download a release's
source tarball. Updates copy only the files whose content changed (rsync -c),
which stamps them with the current time: unpacking over the source would
restore commit dates that can be older than the last build, and the build
would skip the changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
Launcher/steam-frame-install.sh does the whole quick start in one command:
it downloads the newest release (or builds the tree it is in), extracts the
disc with nodtool, builds in a long-lived Debian ARM64 container (podman or
docker, under qemu on x86_64), copies the game and disc to the Frame over
SSH (or locally with --frame local), points Config.toml at the disc, and
registers the game with Steam through Valve's devkit tools when present.
Running it again updates: only changed source files are replaced, so the
build recompiles just those and Dawn is reused.

The README's quick start now runs the script; the manual steps move to a
"Building by hand" section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
@mitch030504 mitch030504 changed the title README: one guide with a release-based quick start; drop docs/steam-frame.md README quick start with a one-command Steam Frame installer; drop docs/steam-frame.md Oct 5, 2026
claude added 2 commits October 5, 2026 07:05
Tested with a synthetic RMCP01 Wii disc built with nod and converted to
encrypted ISO, WBFS and RVZ: all three extract, and main.dol and
StaticR.rel come out byte-identical. nodtool reads the format from the
file, so a misnamed image works too.

- Stop before building unless boot.bin says RMCP01, naming the release
  (RMCE01 and the like) when it is another region; a wrong extraction in
  the work dir is removed so the next run starts clean.
- Accept extracted folders whose partition sits in a subfolder (DATA/).
- Explain unreadable files (a .zip, say) instead of nodtool's bare error.
- Extract quietly: the real disc has thousands of files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
An archive is recognised by its first bytes, unpacked into the work dir
with whichever unpacker the machine has (7-Zip, bsdtar, unzip, Python's
zipfile, or bsdtar in a container of the machine's own architecture), and
every file in it is offered to nodtool, largest first. The RMCP01 image
wins; another region's disc is passed on so the ID check names it. The
unpacked files are removed once the disc is extracted, or when no disc is
found.

Tested each unpacker with zip and 7z archives holding an RVZ in a
subfolder, an archive holding NTSC and PAL images, an NTSC-only one, one
with no disc, a password-protected zip and truncated archives.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3
@mitch030504
mitch030504 merged commit 16c4e70 into openxr-work Oct 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants