github weile10000/xc2-ns2-recomp v0.3.1
v0.3.1 — the cleanup pass

42 minutes ago

the cleanup pass

Built out of love. Please support the official release and the future of the Xenoblade series.

v0.3.0 was a big release, and big releases leave a tail. This is the pass that clears it: four bugs you hit in the first week, an upgrade path that stops leaving installs half-updated, and a font that finally draws every language the game ships.

There is no new feature here you have to learn. It is the release that makes v0.3.0 behave the way it was supposed to.

Which file do I download?

file what it is do I need it?
XC2-package-dist-0.3.1.zip full player package: 0.3.1 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.1-src.zip launcher source code no

(Exact SHA-256 checksums are in SHA256SUMS.txt on the release page.)

What changed

The tuning screen comes back (FSR 4.1.2, #96)

On AMD's 4.1.2 upscaler the Blade tuning screen opened to a black rectangle — characters gone, background gone, only the UI left floating. The cause was a single byte: 4.1.2 writes alpha = 0.0 into its 16-bit float output, and the screen composites itself with SRC_ALPHA, so the whole 3D image was multiplied by zero. The upscaler's output now gets alpha = 1.0 set in place after the SDK pass, and the spatial branch no longer writes 0.0 either.

The half-resolution effects stop un-scaling themselves (#94)

At 4K on the default path, eight 640×360 effect targets were quietly rendering at full resolution instead of three times up. One fragment shader was the whole chain: the R32UI light mask divided gl_FragCoord by the render scale before its atomic write, which put it in a different size class from its render target. That coordinate is now rewritten back to the raw gl_FragCoord, so all eight keep their scale. Measured at 4K: the early-Z mask rises to 1920×1080 and the fallback count goes to zero.

native_res = 2 listens to the quality setting, and F1 stops overriding it (#94)

If you set native_res = 2 without an explicit native_w/native_h, the render target now follows [upscale] render_quality the way the name suggests. And switching presets with F1 no longer wipes an explicit native_res — only the console preset resets it, because that preset is the one that means "stop scaling".

Jitter follows the upscaler that is actually running (#94, #97)

The projection-jitter hook was installed on one branch only, and decided what to do by matching the ini string literally — so spatial, and the whole default path, kept their jitter and shimmered. It is now installed unconditionally and asks the runtime which upscaler is live.

A device loss now tells you how much VRAM was in use

"GPU device lost" at 4K can mean a bad submission or a full heap, and from the outside they look identical. The device-lost dump (and the freeze report) now carries one line — used and total VRAM, pool copies, whether capture is on, scene and output scale — so a report answers that question without a round trip. This is the single most useful thing in this release for the open NVIDIA reports; if you hit one, the new dump is worth more than any description.

Upgrades verify themselves, and Play refuses a half-upgraded build (#92, #98, #100)

Setup keeps a content-hashed build/install-manifest.json covering lift, link, shaders and prefill. A runtime-only update no longer forces a relink or a shader prefill pass, and an existing install is seeded from what it already has instead of being rebuilt from scratch.

The launcher now acts on it. About → Install update syncs the new runtime/*.dll beside xc2_boot.exe while it installs — removing only DLLs a previous package shipped, never ones you added — and Play checks the manifest first: if a step is still stale the button becomes Finish upgrade and runs only that step. A manifest that cannot be read is treated as "unknown, let them play", not as a block, so a momentary file lock never locks anyone out.

One font that covers every language

The HUD and the F1 overlay used to borrow whatever CJK font Windows happened to have installed. That worked until the game ran in a language the borrowed font could not draw — then every map, sub-area and landmark name came out as a row of ? — and on a clean English Windows there was no Chinese font at all.

This build carries its own: Source Han Sans SC (SIL OFL-1.1, unmodified, 15.8 MB) in fonts/. System fonts still win where they exist, so nothing changes on a machine that has them; the bundled face is only read when the system chain cannot draw what the game asks it to.

The 3D navigation overlay speaks the game's language

Banner labels, the F3 toast and the key hint are now localised for all eleven languages the game ships (English, Japanese, both Chinese, Korean, French, German, Italian, Spanish), and the language comes from the same chain the game itself uses — [system] language, else your pick in the launcher, else Windows. It used to read the voice-language key, which is why a Chinese UI with English voices drew an English banner.

Smaller things

  • Six missing Blade portraits: KOS-MOS now reads face.wilay; the five basic rare Blades with no cell there, and T-elos, read the BC7 menu atlas.
  • Voice line recovery: events that store each take with a single-letter suffix (…a / …b / …c) were being skipped wholesale. The manifest grows from 15,246 to 16,236 lines; one character alone recovers about 269.
  • Relative paths in nxrt.ini: setup now writes exefs, romfs, dlc and save_dir relative to the install folder, so moving the folder takes the game and its saves with it.

Installing / upgrading

  • From v0.3.0 (recommended): About → Check now → Install update. This is the first release whose updater syncs the new runtime DLLs itself, and the first that gates Play on the result — if a step is still stale, the button reads Finish upgrade and only that step runs. Extracting the new zip over the old folder does the same thing.
  • Clean install: extract XC2-package-dist-0.3.1.zip into a new empty folder, launch xc2-launcher.exe, pick your own 3.0.1 dump, press Set up. On the very first launch the window may stay black for 20–30 seconds while the driver compiles pipelines — that is normal, wait it out.
  • From v0.2.x: a clean install is still the safe route; use Play → Import saves to bring your progress over.

Known issues

  • NVIDIA VK_ERROR_DEVICE_LOST (#81, #89, #97, #101) — still open, and the reason this release adds the VRAM line. If you hit one, please attach a fresh report.
  • NVIDIA DLSS black lines (#74) — the NVIDIA app's DLSS model override, not this build. Clear the override for this game.
  • 90 / 120 fps is experimental (#85) — 60 fps with frame generation is the setting we actually test.
  • Supported platforms — native Windows 11 x64 is the target; Windows 10 x64 and Linux / SteamOS (Proton / Wine) are best-effort.

Credits & legal notice

  • Community — every fix here started as somebody's report, log or retest. That is the whole development loop for a project like this.
  • Upstream & references — nxrecomp, Goldoire/fefw-recomp (upstream removed; vendored fork kept in third_party/fefw-recomp/), Ryujinx (MIT), @capibawa (nxnative), AksharDP/xc2-recomp, Lichii. Third-party libraries keep their own licences — see licenses/ and THIRD_PARTY_NOTICES.md.
  • 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 Nintendo.

XC2 NS2 重编译 v0.3.1 —— 收尾版本

始于热爱,请支持正版,为了《异度神剑》系列的未来。

v0.3.0 是个大版本,大版本总会留一条尾巴。这一版就是来收拾它的:玩家在第一周碰到的四个 bug、一条不再让安装停在半路的升级路径,还有一套终于能把游戏每种语言都画出来的字体。

这里没有需要你重新学的新功能。它做的事,是让 v0.3.0 真正按它本该有的样子运行。

我该下哪个文件?

文件 是什么 需要吗
XC2-package-dist-0.3.1.zip 完整玩家包:0.3.1 启动器、新版 xc2_rt.dll、xc2_setup.py 与完整工具链 要 —— 全新安装、手动覆盖升级,或 v0.2.2+ 启动器内一键更新
xc2-launcher-0.3.1-src.zip 启动器源码 不用

(精确 SHA-256 校验值见发布页的 SHA256SUMS.txt。)

本版变化

调谐界面回来了(FSR 4.1.2,#96)

在 AMD 4.1.2 超分器下,异刃调谐界面打开是一片黑——角色没了、背景没了,只剩 UI 浮在黑色上。根因是一个字节:4.1.2 往 16 位浮点输出里写 alpha = 0.0,而调谐界面用 SRC_ALPHA 合成,整幅 3D 画面被乘以零。现在 SDK 超分之后原地把输出 alpha 置回 1.0,spatial 分支也不再写 0.0。

半分辨率效果不再自己放大回去(#94)

4K 默认路径下,有八个 640×360 的效果目标在偷偷按全分辨率渲染,本该是 3 倍。整条链的源头是一个片元着色器:R32UI 光源掩码在做原子写入前把 gl_FragCoord 除以了渲染缩放,于是它和渲染目标的尺寸档次对不上。现在这个坐标被改写回原始的 gl_FragCoord,八个目标全部保住缩放。4K 实测:early-Z 掩码升到 1920×1080,回落计数归零。

native_res = 2 开始听画质设置,F1 也不再覆盖它(#94)

设了 native_res = 2 却没写死 native_w/native_h 时,渲染目标现在会按 [upscale] render_quality 走——名字本来就是这个意思。另外用 F1 切画质档位不再清掉显式设置的 native_res,只有 console 档会重置它,因为那一档的含义就是"别缩放了"。

抖动跟随真正在跑的超分器(#94、#97)

投影抖动的 hook 原来只装在一个分支上,而且靠字面匹配 ini 字符串来决定行为——结果 spatial 和整条默认路径都留着抖动,画面一直在闪。现在无条件安装,并且直接问运行时当前是哪个超分器。

设备丢失日志会告诉你显存用了多少

4K 下"GPU 设备丢失",可能是提交非法,也可能是显存堆满,从外面看一模一样。现在设备丢失的 dump(以及冻结报告)里多一行——已用/总显存、pool copies、capture 开关、场景与输出缩放——一份报告就能回答这个问题,不用再来回一轮。对目前还开着的 N 卡报告来说,这是本版最有用的东西:真碰上了,这份新 dump 比任何文字描述都值钱。

升级路径自带校验,半升级的构建进不去游戏(#92、#98、#100)

构建目录里现在有一份内容哈希清单 build/install-manifest.json,覆盖 lift / link / shaders / prefill 四段。纯运行时的更新不再强制重链、也不再重跑着色器 prefill;老安装会按现有内容自动接管,不会让你白重编一遍。

启动器现在会真正用它:关于 → 安装更新 在安装过程中把新版 runtime/*.dll 同步到 xc2_boot.exe 旁边(只删上一版包内带过的 DLL,你自己放的绝不动),「游玩」 会先核清单——差步骤就变成「完成升级」,只跑缺的那步。清单读不出来时按「未知、放行」处理而不是拦人,一次瞬时文件占用不会把人锁在门外。

一套字体覆盖所有语言

HUD 和 F1 浮层此前只能借 Windows 上碰巧装了什么中文字体。平时看不出问题,一旦游戏跑到那套字体画不出来的语言,地图名、子区域名、地标名就整排变成 ?;而干净的英文版 Windows 上更是连一个中文字体都没有。

这一版自带一套:思源黑体 SC(SIL OFL-1.1,未修改,15.8 MB),放在 fonts/。有系统字体的机器仍用系统字体,观感完全不变;只有在系统字体画不出游戏要的字时才会读它。

3D 导航浮层改用游戏本身的界面语言

横幅标签、F3 提示和按键说明,现在覆盖游戏发售的全部 11 种语言(英、日、简中、繁中、韩、法、德、意、西),语言来源也换成和游戏一致的那条链——[system] language → 启动器里选的语言 → Windows。此前它读的是语音语言那个键,所以中文界面配英文语音就会画出英文横幅。

其他

  • 补齐六个头像:KOS-MOS 走 face.wilay;五个在图集里没有格子的基础稀有异刃与 T-elos 走 BC7 菜单图集。
  • 语音找回:把每个 take 存成单字母后缀(…a / …b / …c)的事件此前被整批跳过。清单从 15,246 条涨到 16,236 条,单一个角色就找回约 269 条。
  • nxrt.ini 写相对路径:exefs、romfs、dlc、save_dir 都相对安装目录写入,整个文件夹搬走后游戏和存档一起跟着走。

安装 / 升级

  • 从 v0.3.0 升级(推荐):关于 → 检查更新 → 安装更新。这是第一个更新器会自己同步运行时 DLL 的版本,也是第一个拿结果去卡「游玩」的版本——还有步骤没做完时按钮显示「完成升级」,点了只跑缺的那步。手动「解压覆盖旧目录」效果相同。
  • 全新安装:把 XC2-package-dist-0.3.1.zip 解压到新的空文件夹,打开 xc2-launcher.exe,指定你自己的 3.0.1 Dump,点 「开始构建」。首次启动画面可能黑 20–30 秒(驱动在编译管线),这是正常的,等一下就好。
  • 从 v0.2.x 升级:仍建议全新安装,用 「游玩 → 导入存档」 迁移进度。

已知问题

  • N 卡 VK_ERROR_DEVICE_LOST(#81、#89、#97、#101)—— 仍未解决,也正是本版加 VRAM 行的原因。碰上了请附一份新报告。
  • N 卡 DLSS 黑线(#74)—— 来自 NVIDIA app 的 DLSS 模型覆盖,不是本版的问题,清掉该游戏的覆盖即可。
  • 90 / 120 fps 属实验性(#85)—— 我们真正测试的是 60 fps + 帧生成。
  • 支持平台 —— 主要目标为原生 Windows 11 x64;Windows 10 x64 与 Linux / SteamOS(Proton / Wine) 为尽力适配。

致谢与法律声明

  • 社区 —— 这里的每一个修复,起点都是某个人的报告、日志或复测。这类项目的开发闭环就是这么转起来的。
  • 上游与参考 —— nxrecomp、Goldoire/fefw-recomp (上游已删除,fork 保留在 third_party/fefw-recomp/)、Ryujinx(MIT)、@capibawa(nxnative)、AksharDP/xc2-recomp、Lichii。第三方库保留各自许可证,见 licenses/ 与 THIRD_PARTY_NOTICES.md。
  • 许可证 —— GPL-3.0-or-later。本项目不授予任何任天堂游戏代码或素材的权利。
  • 法律声明 —— 独立、非商业的爱好者项目,与任天堂、MONOLITH SOFT 无隶属或背书关系。异度神剑、异度之刃 2、Nintendo Switch、Nintendo Switch 2 为任天堂商标。

Don't miss a new xc2-ns2-recomp release

NewReleases is sending notifications on new releases.