Commit Graph
11 Commits
Author SHA1 Message Date
jhaizhou 7041472185 Give the game's main heap more headroom; add heap readouts to the memory log line (#18)
The game carves out a fixed ~3.08 GB and its main heap was left with roughly 100-180 MB free on entering a game, down to a few tens of MB while changing maps. When an allocation fails there, the original code writes through the null result. The pool reported to the game is now 512 MB larger, which turns one-to-one into main heap headroom; untouched heap pages do not count toward resident memory.

The periodic memory line now also logs the main heap total / free / largest allocatable block and, on iOS, the distance to the system memory limit.

Measured in the iOS package on a Mac; devices with 6 GB of RAM have not been measured yet.
2026-10-13 11:31:47 +08:00
jhaizhou 3897301a0d Custom page: language is now two explicit choices, 中文 / English (#12)
The single "Language: English" checkbox becomes two side-by-side options, readable in both UIs, with a hint under the row in the chosen language: tap Apply, then close and reopen the app. Storage is unchanged (still one key).

Suggested in #12.
2026-10-13 10:57:13 +08:00
jhaizhouandhubeiqiao a8e65cece8 Touch: keep idle skill icons clear, fade only the base and ring (#13, #15)
Idle skill and town-portal icons are no longer multiplied by the idle fade, so an available skill does not look disabled; the base circles and rings still fade to cover less of the view, and the out-of-charges grey state is unchanged.

Proposed by @hubeiqiao in #15.

Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
2026-10-13 10:29:15 +08:00
jhaizhouandhubeiqiao a1eb75288c Rift challenge timer follows the guest clock (#16, #17)
The timer no longer advances while the app is in the background or the screen is locked, or while the system keyboard is up. Loading screens, time in town and open panels still count. Start, HUD and menu readouts, the timeout check and settlement all read the same clock. Adds the host unit test t_rift_clock.

Idea and first implementation by @hubeiqiao in #17; re-implemented at the source after checking each site.

Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
2026-10-13 09:57:37 +08:00
jhaizhou c3f981251f Docs: note that game build 3.3.94012 is version 1.0.34.0 on the console 2026-10-13 09:12:24 +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
jhaizhouandstrangeliu 824d2d3f0b Target both iPhone and iPad by default (#2)
Proposed by @strangeliu in #2. Applied at the source this repository is exported from, so the pull request itself is not merged directly.

Co-authored-by: strangeliu <5244588+strangeliu@users.noreply.github.com>
2026-10-12 21:36:47 +08:00
jhaizhou ea86e79688 Fix shell packaging (issue #1): drop stale prefetch list, clearer pack error; sync with trunk 2026-10-12 21:09:04 +08:00
jhaizhou 9f0c25768a README: use the English Trove screenshot 2026-10-12 17:10:56 +08:00
jhaizhou 286fbd417b State the required game edition: Reign of the Warlock expansion 2026-10-12 17:03:52 +08:00
jhaizhou 46578a2b5d Initial public release 2026-10-12 16:51:08 +08:00