NPC speech restored (explicit 5.1 to stereo downmix); graphics memory pools made resident only on first GPU use (about 0.5 GB less held); render targets written through a format-changing view attached with that format, sRGB swapchain presented through a non-sRGB view (#36); bloom / FXAA texture-slot rewrites mark bindings dirty; Mac App plays sound and fills 16:10 screens

The render-target view issue (#36) was found and diagnosed by seedds on another port built from this repository, who also proposed the fix direction.

Co-authored-by: seedds <3463322+seedds@users.noreply.github.com>
This commit is contained in:
jhaizhou
2026-10-14 21:46:55 +08:00
co-authored by seedds
parent 685d3ddef8
commit e2a0c9a9b5
15 changed files with 301 additions and 47 deletions
+2 -1
View File
@@ -61,7 +61,7 @@ DM_MAC_M3=1 dm/tools/mac_app.sh # macOS 15 – 25
**建一个角色,从头到尾这样按**:主菜单按 `=`(或鼠标点「新角色」)→ 用方向键选职业再按回车(或直接点那个职业的人物)→ 模式页按回车或空格 → 起名页按回车弹出输入框,直接打字,回车 → 再按一次回车创建。
接上手柄直接可用,与键盘并存。菜单栏有「显示 → 全屏(⌃⌘F)」和「退出(⌘Q)」。窗口可以随意拉大小,游戏画面保持 16:9 居中。
接上手柄直接可用,与键盘并存。菜单栏有「显示 → 全屏(⌃⌘F)」和「退出(⌘Q)」。窗口可以随意拉大小。进游戏后画面按窗口 / 屏幕的比例铺满(16:10 的 MacBook 上窗口态和全屏态都铺满,界面贴底,开着大面板时界面居中);主菜单、选角等前端页仍是 16:9、上下留边。
## 鼠标
@@ -91,6 +91,7 @@ DM_MAC_M3=1 dm/tools/mac_app.sh # macOS 15 – 25
- 存档:`~/Library/Application Support/D2R Mobile/save`
- 日志:`~/Library/Logs/D2R Mobile/host.log`(上一次运行的是 `host.prev.log`)。报问题时用菜单栏「帮助 → 分享日志…」:它把这两份日志和一份版本信息打成一个压缩包,让你选保存位置;不上传、不带存档,日志里的用户名会换成 `~`。
- 没有声音时看日志:启动时有一行「audio:输出设备「…」,系统缺省输出「…」」,两者不一致会标红;退出时有一行「声卡回调累计 N」,N 为 0 表示这次没有出声。
- 老接口版(`D2R Mobile M3.app`)用的是名字里带 M3 的另一对目录。
**iCloud 存档同步:从本仓库自己构建的 App 没有。**程序里接了与 iPhone / iPad 相同的同步,但它需要 App 带着 iCloud 的签名权限;自己构建的 App 用的是本机临时签名,没有这项权限,所以存档只留在这台 Mac 上,日志里会记一行「iCloud 不可用…只用本地存档」,游戏照常。要把手机上的进度带过来,用下面的手工导入。