v0.3.2 — everything you reported
Built out of love. Please support the official release and the future of the Xenoblade series.
v0.3.1 was a cleanup pass. This one is the opposite: almost every fix below started as a report from someone
playing the game, and two of them arrived as pull requests from people who decided to fix it themselves.
That is the shape of a project we want: you find it, you describe it, and either we fix it or you do and we
merge it. Both happened this week.
Which file do I download?
| file | what it is | do I need it? |
|---|---|---|
XC2-package-dist-0.3.2.zip
| full player package: 0.3.2 launcher, updated xc2_rt.dll, xc2_setup.py, full toolchain
| yes — new installs, manual upgrades, or v0.2.2+ one-click About → Updates
|
xc2-launcher-0.3.2-src.zip
| launcher source code | no |
(Exact SHA-256 checksums are in SHA256SUMS.txt on the release page.)
From the community
Physical amiibo over a Bluetooth Switch Pro Controller (#104, by Dokman)
A real Pro Controller can read amiibo, and the game asks for them through nfp. That path is now implemented:
the controller's NFC reader is driven, the amiibo data reaches the game as if it came from the console, and the
whole flow is covered by tests for the tag lifecycle. Controller discovery is cached for a second, so scanning
does not stall the frame.
It came in as a finished pull request, with its own tests — the shape of contribution this project has relied on
since the early days.
Live button prompts, and the right A/B in battle (#108, by UrsineBear)
Button prompts are now patched in the running game rather than at lift time, so switching between Switch,
Xbox and PlayStation layouts takes effect immediately — no restart, no re-lift. The atlas is rebuilt live, and
the battle-aware A/B swap tracks the weapon-drawn stance so the prompt matches the action the game will actually
perform.
Same story: a report about prompts reading wrong turned into a pull request that fixed the whole path.
Upgrades and installs
The package payload moves into app/, and upgrades replace it whole (#109, #111)
Shipped files (runtime/, tools/, engine/, xc2/) now live under app/, separate from everything that
belongs to you (save/, mods/, nxrt.ini, shader_cache/, game/, build/). An upgrade swaps app/
in one move, so no stale file from the previous version can survive. PAYLOAD-VERSION lets a hand-unpacked
package replace app/ instead of merging into it.
Renaming the install folder no longer breaks it (#95)
The setup links exefs and romfs with directory junctions, and a junction stores an absolute path. Rename
the folder and every one of them points at the old location — and re-running Set up could not repair it either:
once the target is gone the link reports "does not exist", so setup tried to create it again, mklink failed
because the reparse point was still there, and it stopped at could not link exefs. Setup now recognises a
junction that points somewhere else, removes the link (never the target) and recreates it.
Setup stops playing the title music (#105)
The prefill is a real game run with no window, so it initialised the audio device too and the title screen music
came out of a "setup" you did not start. It now runs with the audio sink off. The button that re-runs setup when
the install is already complete also says Run setup again instead of Check again, because that is what it
does.
A start-up failure says why (#122)
A failure before the game had a window used to end as 0xC0000409 with no explanation, because the teardown ran
before the message was printed. It now reports the reason and exits cleanly. The setup's prefill keeps its
stderr in setup/prefill.err.txt, and the launcher keeps the game's stderr in work/logs/play-<stamp>.err.txt,
so a guest-side abort is no longer a bare exit code.
A mixed build refuses to start (#71)
If xc2_boot.exe and xc2_rt.dll come from two different builds, the pair used to crash somewhere inside the
game with no clue. Both halves now carry the same build stamp, and the exe compares its own with the DLL's
before handing over: a mismatch stops immediately and names both stamps and the fix.
Rendering and stability
DLSS is accepted again (#121)
With frame generation off — which is the normal way to use DLSS — slEvaluateFeature failed with
presentCommon() was not observed and the upscaler silently fell back to TAAU. The Streamline present markers
were being loaded and emitted only on the frame-generation path. They are now tied to Streamline being up, not
to frame generation.
Not verified locally: the machine this is built on has an AMD card, so DLSS cannot run here at all. If it
still falls back, the log now says slPCLSetMarker not available or carries the Streamline error code, which
narrows it immediately.
Borderless windows stop blocking in the driver (#128)
On NVIDIA, a borderless window at 1440p could hang with the picture going black while audio kept playing: the
render thread was stuck inside the driver (nvoglv64.dll → win32u.dll) waiting on the desktop compositor,
and the freeze watchdog fired ten seconds later. The swapchain was created with exactly the surface minimum —
two images, no spare. One image past the minimum removes the block; 1080p had been squeaking past it.
If the spare image ever costs latency on your setup, [gfx] swapchain_images = 2 puts the old behaviour back.
Long sessions stop getting slower (#115)
Pool-copy pages that stayed valid were never released, so the write-watch poll scanned more and more memory as a
session went on: 0.7 ms per frame at the start, 11–15 ms after 113 minutes, and the frame rate fell from 60 to
36. [nvn] mirror_valid_s (60 s by default) releases a page that has not been copied again for that long, so
the armed set follows the working set. The sweep is time-budgeted, so it cannot stall a frame.
Torna frame rate and cloud-sea stripes
The in-place feedback-loop layout is now gated on read-only attachments, and the snapshot fallback is narrowed
to blended self-writes. That restores 60 fps in Torna and removes the striping over the cloud sea.
GetThreadPriority no longer reads a hard-coded guest address
It was reading whatever happened to be at a fixed offset in the game's memory. It now asks the guest properly.
Navigation
The guidance follows the quest you are tracking (#119)
Tracking a side or blade quest changed the minimap but not the 3D ribbon or the cross-map hint: the marker sort
put the main story first and the ribbon always took the first marker. The order is now tracked quest → main
story → everything else by distance, and the ribbon and the hint share it so they cannot disagree with the map.
Smaller things
- Every Play session gets its own log file, including on installs whose
nxrt.inistill pins the old path. - The launcher records the profile that was actually applied, not the default one.
- Import and SVC counters are per thread again instead of one shared atomic.
- The lifter now carries its recompiler patches as patches, so a rebuild is reproducible.
- A differential test harness compares lifted functions against a reference build, function by function.
Known issues
- DLSS and the borderless-window fix are unverified on NVIDIA hardware — the development machine is AMD.
Both are in this build specifically so that people who hit them can confirm. If either still misbehaves, the
log now carries what is needed to tell why. - 90 and 120 fps are experimental. 60 fps is the recommended, supported step; the dual-clock modes above it
can leave cutscenes and some animations out of step. The launcher labels them that way on purpose. - The device-loss reports on RTX 30/40 series (#89, #97, #107) are still open. The new dumps carry VRAM, and
[nvn] mirror_capture = 0/[nvn] fb_reuse = 0both suppress the start-up case — if you can reproduce one,
a dump with[gfx] validation = 1and[nvn] draw_ring = 256is worth more than any description.
Credits & legal notice
- Community — most of the fixes here started as somebody's report, log or retest, and two of them arrived as
pull requests from Dokman and UrsineBear. That is the whole development loop for a project like this. - Upstream & references — nxrecomp,
Goldoire/fefw-recomp(upstream removed; vendored fork kept inthird_party/fefw-recomp/), Ryujinx (MIT), NVIDIA Streamline, AMD FidelityFX, FFmpeg. - Licence — GPL-3.0-or-later. Nothing here grants any rights to Nintendo's game code or assets.
- Legal — an independent, non-commercial fan project. Not affiliated with, sponsored by, or endorsed by Nintendo or MONOLITH SOFT. Xenoblade Chronicles, Xenoblade Chronicles 2, Nintendo Switch and Nintendo Switch 2 are trademarks of their respective owners.
XC2 NS2 重编译 v0.3.2 —— 你报的每一条
始于热爱,请支持正版,为了《异度神剑》系列的未来。
v0.3.1 是收尾版本,这一版正好相反:下面几乎每一条修复,起点都是某个正在玩游戏的人报上来的问题,其中
两条直接以 pull request 的形式到来——作者自己把它修好了。
这正是我们想要的项目形态:你发现问题、描述清楚,然后要么我们修,要么你修好我们合并。这一周两件事都发生了。
我该下哪个文件?
| 文件 | 是什么 | 需要吗 |
|---|---|---|
XC2-package-dist-0.3.2.zip
| 完整玩家包:0.3.2 启动器、更新后的 xc2_rt.dll、xc2_setup.py、完整工具链
| 要 —— 全新安装、手动升级,或 v0.2.2+ 用 关于 → 检查更新 一键升级
|
xc2-launcher-0.3.2-src.zip
| 启动器源码 | 不要 |
(精确的 SHA-256 校验值在发布页的 SHA256SUMS.txt 里。)
来自社区
用蓝牙 Switch Pro 手柄读实体 amiibo(#104,Dokman)
实体 Pro 手柄能读 amiibo,而游戏是通过 nfp 服务来要的。这条链路现在打通了:手柄的 NFC 读头被驱动起来,
amiibo 数据按主机的形式交给游戏,整条流程有覆盖标签生命周期的测试。手柄探测带 1 秒缓存,所以扫描不会卡帧。
它以完整的 pull request 形式到来,还带了测试——这正是本项目从早期就一直依赖的贡献方式。
实时替换按键提示,战斗中 A/B 也对得上(#108,UrsineBear)
按键提示改成在运行中的游戏里实时打补丁,不再依赖举升阶段的贴图替换,所以在 Switch / Xbox / PlayStation
三种布局之间切换立即生效,不用重启、不用重新举升。图集实时重建,战斗中的 A/B 交换会跟踪武器拔出状态,
提示和游戏实际要执行的动作一致。
同样是"报告变成 PR":一个关于提示显示不对的报告,最后修好了整条路径。
升级与安装
包内容搬进 app/,升级整块替换(#109、#111)
随包发布的文件(runtime/、tools/、engine/、xc2/)现在统一放在 app/ 下,与属于你的东西
(save/、mods/、nxrt.ini、shader_cache/、game/、build/)彻底分开。升级时整块替换 app/,
上一版的残留文件不可能留下。PAYLOAD-VERSION 让手动解压的新包能替换 app/,而不是把新旧文件混在一起。
改名不再弄坏安装(#95)
setup 用目录联接(junction)把 exefs、romfs 链过来,而 junction 存的是绝对路径。文件夹一改名,
所有联接都指向旧位置——更糟的是重跑 setup 也救不回来:目标消失后联接报告"不存在",setup 于是重新创建,
但那个 reparse point 还在,mklink 失败,最后停在 could not link exefs。现在 setup 能识别"指向别处"的
联接,删掉链接(只删链接,不动目标)再重建。
setup 不再放标题音乐(#105)
prefill 是真游戏跑一遍,只是没有窗口,所以音频设备也被初始化了,标题画面音乐就这么从你没启动的"安装
过程"里放了出来。现在 prefill 关闭音频输出。安装完成后那个按钮也从 Check again 改成 Run setup again
——因为它确实是重跑一遍安装。
启动失败会说清原因(#122)
在游戏有窗口之前的失败,以前会以 0xC0000409 收场、没有任何解释,因为收尾逻辑在打印原因之前就跑了。现在
它会说出原因并干净退出。setup 的 prefill 把 stderr 留在 setup/prefill.err.txt,启动器把游戏的 stderr 留在
work/logs/play-<stamp>.err.txt,所以 guest 侧的 abort 不再只是一个退出码。
混合构建拒绝启动(#71)
如果 xc2_boot.exe 和 xc2_rt.dll 来自两次不同的构建,以前这对组合会在游戏内部某处崩掉,什么线索都没有。
现在两半都带同一个构建戳,exe 在交接前先跟 DLL 比对:不一致立刻停下,打印两个戳和修法。
渲染与稳定性
DLSS 重新可用(#121)
关掉帧生成(也就是 DLSS 的正常用法)时,slEvaluateFeature 会以 presentCommon() was not observed 失败,
上采样器静默回落到 TAAU。原因是 Streamline 的 present 标记只在帧生成那条路上加载和发送。现在它与"Streamline
是否在运行"绑定,跟帧生成无关。
本机未验证:构建这台机器是 AMD 显卡,DLSS 在这里根本跑不起来。如果仍然回落,日志会多出
slPCLSetMarker not available 或具体的 Streamline 错误码,能立刻缩小范围。
无边框窗口不再卡在驱动里(#128)
N 卡上,1440p 无边框窗口可能卡死:画面变黑、声音还在放。渲染线程卡在驱动内部(nvoglv64.dll →
win32u.dll)等桌面合成器,十秒后 watchdog 报冻结。原因是交换链只申请了表面要求的最小数量——两张图,
一张余量都没有。多要一张就消除了阻塞;1080p 之前是侥幸躲过去的。
如果多这一张在你的机器上带来延迟,[gfx] swapchain_images = 2 可以退回旧行为。
长会话不再越来越慢(#115)
保持 valid 的池副本页从来没人释放,于是写监视的 poll 随着会话越扫越多:开始 0.7 ms/帧,113 分钟后
11–15 ms/帧,帧率从 60 掉到 36。新增 [nvn] mirror_valid_s(默认 60 秒)释放长时间没再被复制的页,
让 armed 集合跟随工作集而不是"碰过的一切"。清扫有时间预算,不会卡帧。
托尔纳帧率与云海条纹
in-place 的 feedback loop 布局现在只对只读附件启用,快照回退也收窄到"混合自写"的情况。托尔纳恢复 60 fps,
云海上方的条纹消失。
GetThreadPriority 不再读硬编码的 guest 地址
以前它读的是游戏内存里某个固定偏移上的东西,现在按正规方式向 guest 询问。
导航
引导跟随你正在追踪的任务(#119)
追踪支线或异刃任务时,小地图变了,但 3D 引导带和跨地图提示不变:排序把主线放最前,而引导带固定取第一个
标记。现在的顺序是 追踪目标 → 主线 → 其余按距离,引导带和提示共用同一套排序,不会再和小地图打架。
一些小事
- 每次 Play 都有独立的日志文件,包括
nxrt.ini里还固定着旧路径的老安装。 - 启动器记录的是实际生效的 profile,不是默认那个。
- import / SVC 计数重新按线程统计,不再共用一个原子变量。
- 举升器现在把重编译器补丁以 patch 形式携带,重建可复现。
- 一个差分测试框架,逐函数把举升结果和参考构建对比。
已知问题
- DLSS 与无边框窗口这两个修复没有在 N 卡上验证过——开发机是 AMD。它们出现在这个版本里,正是为了让
遇到的人能确认。如果仍然不对,日志现在带够了判断所需的信息。 - 90 / 120 帧是实验性的。 60 帧是推荐且受支持的档位;更高的双时钟模式会让过场和部分动画与帧率不同步。
启动器里就是这么标注的。 - RTX 30/40 系列上的设备丢失报告(#89、#97、#107)仍然开着。新的 dump 会带 VRAM 信息,而且
[nvn] mirror_capture = 0/[nvn] fb_reuse = 0都能压住启动时那一类——如果你能复现,一份带
[gfx] validation = 1和[nvn] draw_ring = 256的 dump 比任何描述都有用。
致谢与法律声明
- 社区 —— 这里的多数修复,起点都是某个人的报告、日志或复测;其中两条直接以 pull request 形式来自
Dokman 和 UrsineBear。这类项目的开发闭环就是这么转起来的。 - 上游与参考 —— nxrecomp、
Goldoire/fefw-recomp(上游已删除,fork 保留在third_party/fefw-recomp/)、Ryujinx(MIT)、NVIDIA Streamline、AMD FidelityFX、FFmpeg。 - 许可证 —— GPL-3.0-or-later。本项目不授予任何任天堂游戏代码或素材的权利。
- 法律声明 —— 独立、非商业的爱好者项目,与任天堂、MONOLITH SOFT 无隶属或背书关系。异度神剑、异度之刃 2、Nintendo Switch、Nintendo Switch 2 为各自权利人的商标。