Commit Graph
6 Commits
Author SHA1 Message Date
jhaizhou d9e95c3381 Older systems: iOS 18+ / macOS 15+ via the older-API build; floating left stick; runeword required level; Mac keyboard, mouse and docs; clearer older-device dialog 2026-10-14 01:49:25 +08:00
jhaizhou 2b270ff76e Docs: the Mac version requires macOS 26 or later (the graphics layer is built on Metal 4); setup.sh notes it on older systems 2026-10-13 18:15:23 +08:00
jhaizhou 6a2474d917 Native macOS App (first version): dm/tools/mac_app.sh, docs/MAC.md
The Mac host can now be packaged as a double-click macOS App with keyboard, mouse and gamepad input, saves under Application Support, a first-launch resource-folder picker and save-before-quit. dm/tools/mac_app.sh builds it after ./setup.sh; by default the package carries no derived content and points at this machine's build outputs, so it runs only on the Mac that built it and needs only a local ad-hoc signature.

Nobody has played this version by hand yet; what was verified was run unattended. See docs/MAC.md.
2026-10-13 16:49:19 +08:00
jhaizhou 30dc58383c setup.sh / d2rm_pack.py: find the .NET runtime for the shader translator (#19)
The built translator is a standalone program that locates the .NET runtime itself; with a Homebrew-installed .NET and no DOTNET_ROOT it could not start, and that was reported as "the translator was not built from the in-repo source". Both entry points now set DOTNET_ROOT from the runtime location dotnet reports when it is not set, and setup.sh runs the tool once right after building it and prints its own error if it does not start.

Diagnosed by @fjack in #19.
2026-10-13 11:49:20 +08:00
jhaizhouandhubeiqiao 66c3a2fb70 Fix setup on stock macOS bash, shader step false success, battery gate misreport (#4, #5, #7)
- Brace every $NAME that is directly followed by a non-ASCII character in the shell scripts: bash 3.2 in a UTF-8 locale read the first byte of the following character as part of the variable name and aborted under set -u (#4, #6).
- setup.sh and d2rm_pack.py: the shader translation step is complete only when every entry in the completion marker is ok and every library file exists; the script's exit status is no longer hidden by a pipe (#5).
- devbattery.sh / devlock.sh: a missing local timeout or ideviceinfo is reported as such and stops at once, instead of being reported as an offline device and polled for up to an hour (#7).
- smoke_mac.sh builds its package for iPhone only regardless of the project default.

Reported by @SakuraToErii. The setup.sh part of #4 was also submitted by @hubeiqiao in #6.

Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
2026-10-13 03:17:23 +08:00
jhaizhou 46578a2b5d Initial public release 2026-10-12 16:51:08 +08:00