Commit Graph
26 Commits
Author SHA1 Message Date
jhaizhou-ops 59a8f46de6 Merge pull request #271 from jhaizhou-ops/touch-sort-shared-stash
Touch: a long press on an empty cell also sorts the shared stash pages (#241)
2026-11-16 01:16:11 -08:00
jhaizhou-ops acff546835 Merge pull request #232 from jhaizhou-ops/hire-skills-hold
Touch: hold a hire-list row to see the mercenary's skills (#216)
2026-11-16 01:15:40 -08:00
姜海舟andClaude Opus 5.5 7da18a0b6f Touch: register ui_hire_focus_pump on the runs-in-both-modes list (mode_scan.py flagged it: defined but neither on the per-frame line nor on the list)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 00:57:33 -08:00
Yuechuan YangandClaude Opus 5.5 3cc7bd48ba Touch: a long press on an empty cell also sorts the shared stash pages (#241)
A long press on an empty item cell sorts that page through the game's own
"hold to sort" end point, 0x3c2320(owner unit id, page). The host always
passed the player's unit id and a fixed page (0 backpack, 3 Cube, 4
stash), but the shared stash pages are owned by another unit, so a long
press there sorted the personal page or nothing.

Like the original controller code (main+0x3b2e58-0x3b2ea0), the long press
now takes the owner unit id [grid+0x5c4], owner type [grid+0x5c8] and page
[grid+0x630] from the item grid it hit (vtable main+0x2089ab8), looks the
unit up (0x45f5f0), runs the availability check (0x3c213c) and sorts. When
the hit widget is not an item grid it falls back to the old path.

Tested on a OnePlus 13: long press on an empty cell sorts the personal
stash page (owner 1), a shared stash page (owner 2, which did not sort
before) and the backpack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 11:43:13 +13:00
Yuechuan YangandClaude Opus 5.5 8df2bc928e Touch: hold a hire-list row to see the mercenary's skills (#216)
The hire screen shows a mercenary's skills only while controller X is
held ("Hold X to Show Mercenary Skills"), and only for the focused row.
In touch mode nothing showed them: tapping or holding a skill icon did
nothing.

Host (dm_cursor.c): a press on a row of the hire list answers hit kind
12 and records which row it is. If the press is still held after 0.4 s
(past the 0.35 s of a tap) and hasn't become a tap or a scroll, the
D-pad moves the list's focus to that row (the list's own selected index
is ListWidget +0x140, as for the NPC dialog menu). The D-pad only moves
the focus and never hires. Nothing in the hit query sends a UI message:
Android runs it under its touch lock, and the UI message subscriber
takes that lock again.

Shared touch controls: kind 12 behaves like any other widget inside a
panel, so a tap is still a mouse click (tapping a row selects it,
tapping the selected row hires). Holding still for the long-press time
(0.5 s) holds X until release instead. That release is not a tap, so a
long press never selects or hires. A scroll, a cancelled finger or
leaving the panel lets go of X.

t_touch_controls: new pointer_merc_hold case (28 checks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:07:19 +13:00
Yuechuan YangandClaude Opus 5.5 d978e3e022 Touch: a tap on the Chronicle no longer falls through to the pause menu underneath (#216)
The Chronicle opens from the pause menu, which stays underneath. The game's mouse
dispatch does not look at which panel is on top, so a tap on something in the Chronicle
that is not a clickable widget -- a boss portrait on the Bosses page, a page's backing or
empty space -- was handed to the pause-menu button at the same spot. Tapping a boss
portrait opened the Settings page (reproduced on a Redmi K50 Ultra: the tap went out as
a click at (880,244) and the log showed OpenPanel SettingsPanel / SoundOptionsPanel).

ui_classify already blocks this for the Settings page over the pause menu (return 11:
no click, but a vertical drag still scrolls). The same rule now covers the Chronicle:
on a covered pause-menu button and not on a clickable widget of the Chronicle, the tap
is not pressed down. The Chronicle's own tabs, list rows and the kill board's
checkboxes, act buttons and dropdown are clickable widgets and work as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:17:49 +13:00
rhotovandClaude Opus 5.5 fb3baaf1eb Inventory stays where it belongs, the button legend never takes a ninth entry, vault icons retry empty images (#200)
- Temporary stash / cube inventory offsets no longer go into the native saved origin (main+0x3db974); new offsets pause during layout rebuilds and surviving ones are restored when the stash leaves hide or the wide overlay goes away.
- The native legend append (main+0xaa9f88) goes through host gate 0x90: at eight entries our optional hints are removed first, and if it is still full the append waits. Product r44 -> r45.
- Vault images with nonpositive dimensions are retried instead of cached as loaded.
- New host tests: t_ui_move, t_legend, t_vault_icons.

The default exposure change from the PR is left out: the brightening stays, and #206 makes it a three-level setting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:20:38 +08:00
7123d6cd47 Quest log on touch: one tap shows the current objective, a second tap replays the dialogue (#198) (#207)
In the original quest log, the press on an unselected quest selects it and the
release starts its dialogue (scrolling text and voice); the current objective only
shows after another tap on the same quest stops it. A press on empty space in the
panel deselects, so title and text go empty (during the dialogue it stops the
dialogue first and then deselects).

On touch (dm_cursor.c, recognized only from the game's own UI messages):
- a tap that selected a new quest (SelectQuest after the press, no
  DialogueFinished) gets one extra tap on the same quest two frames after
  PlayDialogue, which stops the dialogue and leaves the objective on screen;
- a tap on the quest already selected replays the dialogue as before;
- a tap on empty space in the quest log is not sent to the game; while a dialogue
  plays it becomes a tap on the quest being played (stop, keep the objective).
  The dark side areas inside the frame are ControllerOverlay's Background; outside
  the frame nothing covers the point, so tapping there still closes the panel.
- the top-right X is left alone (g_close_down), so it closes the panel in one tap
  with or without a dialogue, as before.

Co-authored-by: Yuechuan Yang <22333122+yyan160@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:20:19 +08:00
jhaizhou-opsandClaude Opus 5.5 64156a385b Map: never call the original map switch outside a run (quick restart crash at main+0x4117cc)
A player on iOS 18.6 crashed on every Quick Restart with the full-screen map setting,
three times at the same place: pc=main+0x4117cc, lr=main+0x40f7b8, called from
ui_map_pump on the frame after the load was sent from the front end.

ui_map_pump gated the original map switch 0x40f780 on the HUD readout's valid flag.
That flag is published by the server tick, and after leaving a run there are no more
ticks, so it stays at its last value 1. On that frame the UI already reported
"out of the run", the map setting no longer matched, and 0x40f780 went on through
0x411540 to rebuild the map lines from level data the old run had already freed.
Quick Restart sends the load about 0.1 s after reaching the front end, so it lands in
exactly that window; a normal Save and Exit spends seconds on the menus and passed it.

The HarmonyOS build already had this guard for the same reason; it is now the rule on
every platform: outside a run (judged from this frame's UI: HUD up, no loading screen)
the original map switch is not called and pending switch requests are dropped.

Checked: dm_cursor.c builds with -Werror on macOS; t_map_diag, t_minimap_lift,
t_widestash_restore, mode_scan.py and dm_i18n.py --check pass. Not run in game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 01:00:36 +08:00
ddaa8f8294 Touch comments: skill rebinding, point spending and the panel buttons say what the code does (#182)
Three comments described gestures that no longer exist, and a tester followed them on a OnePlus 13 (long-pressing a
skill button, looking for OK / Bind):
- dm_cursor.c, the skill-binding flow: "pick the slot first (tap the cross on an empty skill slot / long-press a skill
  button)". Holding an in-game skill button is continuous casting now. The comment lists the two entry points both
  front ends wire: tap the cross on an empty slot (the host's three steps), or hold a skill icon in the skill tree for
  0.5 s, which presses Y and pops the game's binding box, where a cell tap presses that key (ui_bind_modal_tap). The
  second is the only way to rebind a key that already has a skill.
- dm_cursor.c, point spending: "spending the point is triggered by the phone layer's confirm button". It is a second
  tap on the same skill icon or "+" (holding a "+" spends continuously); there is no confirm button.
- dm_touch_controls.h, dm_tc_nav_mask: "DM_TOUCH_NAV_PAD=0, default 1". The front ends (Android, iOS, Mac,
  HarmonyOS) all default to pad = 0 and show the five round buttons only with DM_TOUCH_NAV_PAD=1.

Comments only; the debug APK builds.

Co-authored-by: Yuechuan Yang <22333122+yyan160@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 19:09:46 +08:00
jhaizhou-opsandClaude Opus 5.5 541074c42c Touch: tapping empty ground no longer leaves the full-screen map (#186) (#190)
With Automap Size = Full Screen, any tap on empty ground switched back to the
top-right minimap, so walking into the next area by tapping the ground looked
like "the map resets to the corner after an area change". The area change
itself already restored the full-screen map (three area changes on a vivo
phone: minimap during the load, full screen again afterwards).

- iOS, Android, HarmonyOS: the tap-empty-to-minimap gesture is removed; on
  Android it also ate the tap, so the character did not walk.
- Mac: a click elsewhere no longer leaves the full-screen map; clicking the
  area-name strip at the top right switches both ways, as on touch.
- The top-right minimap block still switches between minimap and full screen.
- uireg: the five cases that tapped empty space now tap the area-name strip,
  and two of them check that tapping empty space keeps the full-screen map.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:42:57 +08:00
jhaizhou-opsandClaude Opus 5.5 d1275c796e Touch: the minimap comes back after the act-change cutscene (#49)
The first story act change with an NPC (Warriv A1->A2, Meshif A2->A3) plays the next act's intro.
The original game hides the map for it: ProgressionMessage:PlayVideo, then PanelManager:ClosePanel
AutoMap in the same tick, and nothing reopens it afterwards. A controller player reopens it with the
map key (-). Touch has no map toggle and relied on the "AutoMap Open On Load" option, which opens it
only once on entering a run, so the top-right minimap stayed gone until the app was restarted.

ui_map_pump (touch mode only; the controller branch returns before it): when that option is on, the
run is back (in game, not loading) and no cutscene is playing (PlayVideo .. Cinematics:MovieComplete),
and the AutoMap panel is closed, press the map key once for the player (dm_ui_key_pulse_alone, the
same original path a controller player takes; the area name at the top right comes back with it,
which a bare PanelManager:OpenPanel AutoMap did not do). With the option off nothing is pressed.

mode_scan.py: host/dm_cursor.c auto-key count 38 -> 39 for this press. It runs in touch mode only;
a press still pending when the player switches to controller opens a map that is closed anyway, so
nothing needs cleaning up on a mode switch.

Checked on the Mac host with a Warlock save edited to "Andariel done, not yet in Act II":
before, AutoMap stays hidden in Lut Gholein; after, it reopens at the tick the loading screen goes
away and the screenshot shows the map and the area name. Ordinary Warriv travel (no cutscene) and the
option-off control press nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:50:33 +08:00
985e5ec402 Widened stash: the inventory no longer drifts right each time the stash is closed with + (#152)
Closing the stash with + (Start / Menu) moved the inventory panel further right every time, until its
cells could no longer be clicked; only leaving the character (or a quick restart) put it back. Closing
with B did not do this, and vendors were not affected.

While the stash is open the widened stash shifts the inventory panel right by 196 units (x -8 -> 219 at
panel scale 1.16). Closing with + makes the original game close the stash and the inventory and open the
inventory alone in the same frame: it moves the panel to the stand-alone position (x -816) and records
the x it had at that moment - our shifted 219 - as the panel's own position, which it writes back when the
stand-alone inventory closes. When the position guard came to restore, x was -816, not the value we had
written, so it dropped the entry without restoring; the game then wrote 219 back, the next stash open took
219 as the original and shifted again: 219 -> 446 -> 673 -> 900 -> 1127 (measured on the Mac App).

The position guard now keeps such an entry: while the game has the widget somewhere else it leaves it
alone, and once the widget holds our value again it writes the original back. A later shift by the same
owner still takes the current value as the original if the game laid the widget out anew in between. The
self-check counts only entries whose widget still holds our value, and the restore log line is written
only when something changed.

Test: dm/host/tests/t_widestash_restore.c replays the measured sequence through mv_offset / mv_restore;
it fails without the change (7 failures, 219 -> 446 ...) and passes with it.


Claude-Session: https://claude.ai/code/session_01V5iMQyJajiUrBZKaLaYLdw

Co-authored-by: vertanom <329542179+vertanom@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:09:02 +08:00
jhaizhouandClaude Opus 5.5 195ae11dc7 Touch map remembers the map size the player wants: "Full screen" in the options works, and the full-screen map comes back after panels and area changes
Players reported that setting "Automap size" to full screen had no effect, and that after switching to the
full-screen map, opening the inventory or changing area went back to the minimap. All three came from the touch
code: touch mode rewrote the full-screen setting to "minimap right" (to keep the minimap reachable), opening a
panel collapsed the full-screen map without restoring it, and the tap-to-full-screen switch was not remembered, so
the game rebuilt the minimap from the setting after an area change.

Touch mode now remembers whether the player wants the full-screen map: it starts from the setting ("Full screen"
starts on the full-screen map), tapping the minimap / empty space changes it, and the setting itself is no longer
rewritten. While a panel is open the full-screen map steps aside (dm_ui_map_hold, reported by the iOS, Android and
HarmonyOS front ends) and comes back when the panel closes; after an area change it is restored as well. Tapping
empty space still returns to the minimap, so the minimap stays reachable. Controller mode is unchanged.

Checked on the iOS App on a Mac: two new regression runs (map / mapf, 14 items) all pass, including walking from
the camp into the Blood Moor with the full-screen map kept; the existing run a (45 items) passes; the full
acceptance gate and the on-device smoke test (3/3) pass on the merged internal tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 03:16:05 +08:00
b811b90172 v2.0: Android and HarmonyOS ports, Korean, iPhone Duo, Xbox controller layout, separate game packages, Mac icon and pointer
- Android (#113, @yyan160; graphics engine and shader-bundle packer from @biglawine's HarmonyOS port): an
  Android app (dm/android) with a JNI host, a touch overlay on the shared touch state machine, Vulkan
  presentation and AAudio sound; an NVN-to-Vulkan replay engine (dm/gfx/vulkan) behind the same backend
  interface as Metal; the shared host now builds for Apple and Android, and the module rewriter has an
  Android target (DM_TARGET=android; Apple output unchanged). Measured by the authors at a median 60 fps on
  a Redmi K50 Ultra.
- Android install with your own game files: the release APK (dm/android/tools/shell_apk.sh) contains no game
  content; dm/tools/d2rm_android.py makes an import pack (rewritten program, Vulkan shader bundles, touch overlay,
  data tables) that the App imports from Download/S2X/D2R Mobile/android with a progress screen. The shader export
  step (dm/gfx/tools/dmsh_vk.py) makes the 6,927 game shader bundles byte-for-byte identical to the tested set.
- Android rewriter fix (#113, @yyan160): rewrite blocks no longer stash registers below sp (Android has no red
  zone); equiv.py checks Android outputs, structck.py recognizes the Android block shapes. Apple output unchanged.
- Android touch controls drawn as on iOS (sockets, silver skill silhouettes, joystick), no map key in game state,
  no virtual pad buttons over panels; dm/android/tools/art_compare.sh compares the two drawings pixel by pixel.
- HarmonyOS (#114, @biglawine): a HarmonyOS NEXT app (dm/harmony, ArkTS shell + N-API library) on the same shared host
  and Vulkan engine as Android; shared changes are behind __OHOS__ or opt-in switches (adaptive present tier, fence waits
  woken on completion, OHAudio, HiTrace markers, a byte-identical BC fast path).
- HarmonyOS install with your own game files (@biglawine, 0.19.4 / code122): the release HAP is unsigned and contains
  no game content; players re-sign it with their own debug certificate and import a pack made with
  dm/tools/d2rm_android.py --target ohos. The registering stand-ins read the tables only when dm_derived_reload() is
  called (on __OHOS__); first import creates the target folders; outside a game a map toggle request is dropped
  before the AutoMap exists. Run by the author on a Mate 90 Pro Max: re-sign, install, import, in game, save and exit.
- Vulkan: NaN-ignoring min / max / clamp as on Maxwell (#113, @yyan160), fixing one-frame black tiles on the OnePlus 13.
- Xbox controllers (from #110, @rrroy5640): recognized automatically and given the PC / Xbox layout (bottom
  confirms, right goes back) with the game's Xbox button icons; other controllers are unchanged. The Mac-only
  keyboard prompt switch became a three-way prompt style (Switch / keyboard / Xbox) on every platform.
- Separate base and update packages (#106, @PowerBeef): setup.sh and extract_game.sh take both packages and
  read the title keys from their tickets.
- Mac App (#108, #109, @PowerBeef): the project's icon by default; the pointer hides after resting 3 s.
- run.sh install no longer goes through the test-device battery gate (#107, @PowerBeef).
- Chinese wording (#101, @zzz6519003): 「旧接口版」 and 「默认构建」 throughout.
- Dynamic 3D resolution (from #113): a run of dropped frames counts only its first 3 frames unless it lasts
  1 s, so one-off stalls no longer lower the resolution.
- In-game Korean (#118, @soulsakura): a 한국어 column for all our UI text, a fifth option in the language row (each
  checkbox now sits before its name), Korean touch wording and map name plates, Korean voice when the game files
  carry it; a Korean system language picks Korean on first install.
- iPhone Duo: in full screen the output size follows the window when the phone is unfolded or folded, up to the
  size the game started with; needs Xcode 27.1 for the inner screen to be filled. Test switches DM_TEST_FOLD and
  DM_TEST_SCREEN simulate the two screens with the iOS package on a Mac.
- README: Android and HarmonyOS sections, device table and credits in all three languages; dependency list for Android.

Every change was ported into the internal tree with its authors credited. For the shared files, the code
changes match the pull requests' after stripping comments. Host / graphics / iOS unit tests, the full
acceptance gate and the Mac smoke test passed; the rewriter's rule sets were rebuilt and passed the
equivalence regression; an iOS build of this code was played on an iPhone; the Android APK with an import pack
made from our own game files was played on a vivo X200 Ultra.

Exported from main 8055e5212.

Co-authored-by: Yuechuan Yang <22333122+yyan160@users.noreply.github.com>
Co-authored-by: biglawine <26263820+biglawine@users.noreply.github.com>
Co-authored-by: rrroy <hly5640@gmail.com>
Co-authored-by: Patrice Déry <109446870+PowerBeef@users.noreply.github.com>
Co-authored-by: Sam Snowman(赵正中) <zhengzhongzhao@gmail.com>
Co-authored-by: soulsakura <74704744+soulsakura@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 09:21:08 +08:00
1ceaa6bef6 Adopt community fixes: Mac hover tooltips, Mac item notes & auto-buff, Mac iCloud boot, iOS quick actions, Xcode 26.2 build, main-button aim dead zone
- iCloud (Mac host): the first metadata listing no longer deadlocks when booting on the main thread (#88).
- iOS touch: native general actions (Swap Weapons / Map, ...) bound to skill slots no longer show as empty (#81).
- Mac: hovering the mouse over an item shows its tooltip without clicking (#95).
- Mac App: the Custom-page "item notes" and "auto buff" options now take effect; overlay variants are packaged and selected at startup (#91).
- Perf tooling: slowframe.py no longer counts zero / non-finite / negative intervals in the judged denominator (#85).
- iOS: builds with Xcode 26.2, and iOS 26.0-26.3 can use the Apple-hosted asset pack via the older status API (#78).
- iOS touch: holding the main attack button no longer re-aims on tiny finger movement; it shares the skill buttons' 10-point dead zone (#92).

Every change was ported into the internal tree and passed the host unit tests, the Mac smoke test, a real-iPhone smoke test (3/3) and the full acceptance gate before export.

Exported from main e01b259b9.

Co-authored-by: Xielh <16849027+xielh96@users.noreply.github.com>
Co-authored-by: Peric <4222938+pericn@users.noreply.github.com>
Co-authored-by: atrl <987631+atrl@users.noreply.github.com>
Co-authored-by: jasio <2424522+wbcyclist@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 00:48:28 +08:00
46cb318b17 New touch controls look and layout, adopted community fixes, diagnostics
Touch controls (#74, BossaMelon): dark socket buttons with a metal rim, an arc-shaped skill fan,
the I / II skill-set switch next to the portal (or above the skills, in the Custom settings page),
switching on release with slide-out cancel, and tablet scaling capped at 1.0–1.15x. The button
texture is 512x512.

Community fixes now carried in main (they were merged here earlier; this export keeps them):
- #64 (dormonbear): minimap no longer disappears after UI rebuilds and mode switches
- #65 (BossaMelon): Mac mouse picks on press; held movement follows every 30 Hz tick
- #66 (SepheTT): unresolved weak imports stay null instead of getting a callable stub
- #68 (SepheTT): buffer/texture copies honor the game's image stride
- #73 (BossaMelon): iPhone runs at native resolution (launch screen declared); reverts the
  unused legacy CommitSaveData hook from #67
- #55 (n3crosis): x18 scan pre-filters register fields
- #56 (yinqingyan): tvOS settings divider no longer crosses the next row

Other changes:
- Guest address reservation steps down from 5120 to 4864 MiB on devices that return ENOMEM
- Physical controller face buttons: buttonA/B/X/Y map straight to A/B/X/Y, fixing swapped
  A/B and X/Y on Nintendo controllers
- Magenta-screen probe (on by default) and its cost measurement, for diagnosing the
  full-picture magenta flash reported under heavy load

Exported from main 13f81093a.

Co-authored-by: BossaMelon <38517713+BossaMelon@users.noreply.github.com>
Co-authored-by: SepheTT <130138909+SepheTT@users.noreply.github.com>
Co-authored-by: Dormon Zhou <8454341+dormonbear@users.noreply.github.com>
Co-authored-by: n3crosis <11072158+n3crosis@users.noreply.github.com>
Co-authored-by: yinqingyan <yinqingyan@users.noreply.github.com>
2026-10-17 17:47:41 +08:00
afad65c895 Rift density halved, audio-gap and volume-key fixes, Mac and renderer fixes
- Rift: monster density and elite group counts are about half of before (to
  hold 60 fps), and the progress needed to clear a Rift is halved to match.
  Invading bosses only spawn where the player can walk.
- iPhone: after pressing a volume button the picture could freeze (looked like
  a black screen or a crash). If the display callback stops for more than
  0.5 s while the game is active, the app now presents frames itself and
  switches back to the display callback afterwards.
- Audio: the buffer-release notifier thread runs at user-interactive QoS, to
  reduce gaps while moving (from @dormonbear's PR #52).
- Diagnostics: minimap state, level-change requests and the level after
  object interactions are logged, to investigate #47 and #49 (from
  @hubeiqiao's PR #51).
- New setting "Custom > 3D Quality": smoothness first (default; lowers the 3D
  render scale when frames keep dropping and raises it again once stable) or
  quality first.
- Mac: when the window is fully covered by another window, frames are not
  presented (no false stall warning); the game keeps running.
- Fixes: switching gamepad / touch layout while the belt auto-refill runs no
  longer crashes; dragging the Horadric Cube onto the stash no longer locks the
  panel; the bottom bar stays visible while an NPC dialogue menu is open.
- Host: top-level panels are looked up among the direct children of the UI
  root instead of a full-tree search every frame.

Co-authored-by: dormonbear <8454341+dormonbear@users.noreply.github.com>
Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
2026-10-15 17:12:20 +08:00
44a6770601 Apple TV (tvOS) community port as a separate DmTV target; Rift and Mac fixes
- Apple TV 4K (3rd gen, A15): community port by @yinqingyan, contributed under
  the MIT License with the author's consent
  (https://github.com/jhaizhou-ops/d2r-mobile/issues/53#issuecomment-6184331793).
  Developer preview: reached character selection on the author's Apple TV;
  entering the game, full controller mapping and saves are not verified, and
  the maintainers have not tested it on real hardware. Separate DmTV target in
  dm/ios/project.yml (the iOS target is unchanged), bundled tvOS shaders,
  zh/en strings, icon generated from the iOS icon. Real hardware only: the tvOS
  Simulator GPU cannot run the renderer. See dm/tvos/README.md.
- Rift: the next guardian wave no longer spawns in town after you go back; it
  spawns when you return to the Rift level (#44, from @hubeiqiao's PR #45). A
  Rift monster that dies just across the border in the neighbouring original
  level no longer triggers that level's original quest events.
- Mac: choosing the folder that directly holds the .data files is accepted, and
  Chinese folder names show correctly in the error message; frame pacing follows
  the refresh rate of the screen the window is on (72 fps on 144 Hz screens).
- iCloud: forked shared stashes are merged in game (items, gold and Chronicle
  vault) instead of one copy replacing the other.
- Touch: with the primary skill empty, tapping "+" on the main attack button
  opens the skill picker.
- Renderer: fixed-function state is not re-sent when unchanged; copy-encoder
  reuse adds an in-encoder barrier on Metal 4; per-pass GPU timing works on
  Metal 4 again.

Co-authored-by: yinqingyan <271124084+yinqingyan@users.noreply.github.com>
Co-authored-by: hubeiqiao <12777592+hubeiqiao@users.noreply.github.com>
2026-10-15 13:23:23 +08:00
jhaizhou b94670c795 v1.0.15: shell is now build input (.zip), launch self-check for incomplete packages and devices without Metal 3, graphics translation on its own thread, save with the pause menu open, wide-iPhone item tooltip and Chronicle rewards fixes 2026-10-15 04:32:15 +08:00
jhaizhou f43480dc48 iCloud save sync: devices that played offline no longer block the shared stash (cloud copy current, local copy kept for merging), first sync waits for the cloud listing, same-name characters backed up; system notices dock above the life / mana numbers and at the panel bottom when a large panel is open; Greater Rift: no preset monsters from level 90, top bar between Guardian waves 2026-10-14 16:57:06 +08:00
jhaizhou cfa70b3d02 Greater Rift: invading act bosses from level 80 (second segment of #26), Guardian count on the top bar, boss-summoned units keep original strength; touch: floating stick measured from the touch-down point, item descriptions move beside the inventory; rewriter output r43 2026-10-14 13:46:32 +08:00
jhaizhouandJoe Hu 2e7177c080 Greater Rift: two Guardians from level 75, overtime status spelled out (#33); item descriptions stay open on touch (#32); Mac: click monsters to attack, items take the mouse, Share Log
The overtime status (#33) was reported with a clear direction by Joe Hu, who also sent a patch along the same lines (#34).

Co-authored-by: Joe Hu <12777592+hubeiqiao@users.noreply.github.com>
2026-10-14 10:34:48 +08:00
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 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
jhaizhou 46578a2b5d Initial public release 2026-10-12 16:51:08 +08:00