XC2 NS2 Recomp v0.2.1 — Quality Presets, Official DLSS/FSR Downloaders & 8 GB VRAM Support
This maintenance & community-PR update integrates PR #30 (@UrsineBear) and PR #36 (@nikolaybutnik) together with targeted startup, audio (#37), VRAM, and UI fixes. See Upgrading to v0.2.1 below for the recommended clean migration steps.
Which file do I download?
| file | what it is | do I need it? |
|---|---|---|
XC2-package-dist-0.2.1.zip
| player package: launcher, runtime, lifter and shader tools | yes — play from this one |
xc2-launcher-0.2.1-src.zip
| launcher source code | no |
What's new
Configurable render quality, output resolution & DLSS support (PR #36, @nikolaybutnik)
- Display vs Graphics split in the F1 menu: Display now selects the Output resolution (
1080p/1440p/4K,[am] resolution) and windowed size (defaultauto, following your display up to 1440p); Graphics puts Upscaler (DLSS,FSR 3.1.6,FSR 4.1.2,FSR 2.3.4,TAAU,Off), Mode / Render Quality (DLAA/Native AAthroughUltra PerformanceandConsole), the live render -> output readout, and DLSS Model (Default,K,J) in one group. - Intent-based scaling (
[upscale] render_quality,[gfx] output_scale): scene scales are computed at start-up from[am] resolution, and[nvn] acquire_wait = autoskips redundant acquire waits whilemirror_captureis active. - Event Theater fix: removed
AmericanEnglishandLatinAmericanSpanishfromNXRT_TITLE_SUPPORTED_LANGUAGESin setup / boot configuration.
Optional official NVIDIA DLSS & AMD FSR downloaders in Launcher
- Settings → Upscaler lets players optionally download official prebuilt files directly onto their PC from NVIDIA Streamline (
v2.14.16) (PR #36) or AMD GPUOpen FidelityFX SDK (v2.4.0+v1.1.4) intoupscalers/streamline/orupscalers/fsr3/. - Every download verifies exact byte size and SHA-256, places the upstream licence texts alongside the DLLs, and requires explicit user confirmation of the upstream licence terms beforehand. Neither this repository nor the release zip ships proprietary vendor DLLs.
8 GB VRAM support, live VRAM telemetry & menu ergonomics
- Lower
mirror_capture = autofloor (3584 -> 1536 MiB): 8 GB GPUs now enable frame pipelining automatically instead of falling back off. - Live VRAM visibility: enabled
VK_EXT_memory_budgetwhen supported, added avram:summary line tonxrt.logevery 60 seconds, and surfaced live VRAM / pool-copy usage inside the F1 status card. Also added[nvn] mirror_capture(auto/on/off) to the F1 Experimental section. - F1 menu navigation & safe exit: opening F1 or switching tabs focuses the first option card with clean D-pad Left/Right ownership (#18); the top-right Quit game button opens a confirmation dialog to avoid accidental exits.
Renderer optimizations, audio fix & startup reliability (PR #30, @UrsineBear + fixes)
- Audio crackling / static fix since v0.1.2 (#37): fixed
xc2/src/x2_audio301.cppcreatingnn::audio::OutputStream's releaseSystemEventasManualClear(0) instead ofEventClearMode_AutoClear(1), and syncedwatch_loop's queued water mark on writes — stopping theguest-132audio thread from busy-spinning onGetOutputStreamFreeFrameCount/XAudio2Sink::GetState()and eliminating audio lock contention / static crackling. - Added
VK_AMD_shader_early_and_late_fragment_tests(early_fragment_tests = auto), zero-copy colour feedback viaVK_EXT_attachment_feedback_loop_layout([nvn] fb_reuse), fixed a use-after-free innvn_pipeline.cpp, tunednvn-texpreppriority, and auto-hid idle cursor in fullscreen/borderless modes. - FSR & fullscreen start-up hardening (#18): prioritized standalone
amd_fidelityfx_upscaler_vk.dllahead ofamd_fidelityfx_vk.dllwhen the FidelityFX loader is absent (preventing a first-dispatchamdxc64.dllcrash when both sit inupscalers/fsr3/), and moved initialBorderless/Exclusiveset_fullscreen()calls until afterDevice::create()/Renderer::create()so display/driver hooks cannot deadlock before Vulkan enumeration. - Faster first-time Set up (~34% shorter): parallelized
extract_embedded.pyzlib extraction, skipped redundant per-shaderspirv-val.exesubprocesses (--no-val) and ~36,000 duplicate file copies inbuild_cache.py, lifted modules in one Python process atbucket = 0x40000with per-module PCH headers and-Wl,--strip-debug(no unused 469 MB PDB write/delete), and added activity-based early settle to headless shader prefill (~12s vs fixed 40s). - Startup & DLC path fixes:
mem::alias_base()probes a free 128 GiB host region when0x2000000000is occupied (VammManager0xD401, #33);aoc_indices()uses UTF-8 paths for non-ASCII DLC folders on Windows (#25). - CI hygiene: removed a hardcoded user path from
tools/run/route.ps1and scoped PR personal-path checks to changed files.
Upgrading to v0.2.1
- Recommended (Clean directory + migrate saves & shader cache): extract
v0.2.1into a fresh folder, copysave/,shader_cache/(andupscalers/if you already downloaded DLSS/FSR) from your previous install, and run Set up once in the new launcher. Existing shaders are kept (no ~12,000-shader recompile), whilenxrt.ini,controls.ini,launch.env, andxc2_rt.dllstart completely clean withv0.2.1defaults (including Auto 1440p-capped window sizing and intent-basedrender_quality). - In-place upgrade (from
v0.2.0only): if you extract directly over av0.2.0folder, you must launch the game from the newxc2-launcher.exe(do not launchxc2_boot.exedirectly beforehand, so the launcher copies the updatedruntime/xc2_rt.dllnext to the executable), and open F1 once to re-save Window size and Render quality / Upscaler mode (otherwise oldcontrols.ini720pwindow settings and legacynxrt.iniscaling keys remain active). If any setting behaves unexpectedly, back upsave/andshader_cache/and removenxrt.iniandcontrols.ini. Forv0.1.xinstalls, always use a fresh directory.
Known issues
- Lv. 130 Tyrannotitan Kurodil freeze on NVIDIA (#32): reproduces on both v0.1.4 and v0.2.0 even at 1080p with frame generation off (
nvoglv64.dllwait / GPU TDR timeout aroundfs be528292f3d04f1b). Tracked for targeted shader/sync investigation in a future release. - Blinking / dialogue flicker (#15): remains open. Opt-in
[nvn] view_reinterpret = 1was tested and confirmed not to fix it (kept0by default). - Add-on scenes & first-run pipeline compile: Torna / add-on scenes remain heavier than base game areas; first launch compiles Vulkan pipelines (~20 s pause).
- Red edge on the cloud sea silhouette in the opening battle background (cosmetic, single scene).
Credits
Pull requests: #30 (@UrsineBear), #36 (@nikolaybutnik).
Issue reports that shaped this release: @gao950912 (#37 bisect + report).
Upstream: fefw-recomp, nxrecomp, nxnative, AMD FidelityFX, NVIDIA Streamline, dav1d, SDL3, Dear ImGui, libvpx, libvorbis, FFmpeg. Licences in licenses/ and THIRD_PARTY_NOTICES.md.
XC2 NS2 重编译 v0.2.1 —— 渲染质量预设、官方 DLSS/FSR 下载器与 8 GB 显存适配
本次更新整合了社区 PR #30(@UrsineBear)与 PR #36(@nikolaybutnik),并合入启动 0xD401 规避、非 ASCII DLC 路径修复、#37 音频爆音修复、8 GB 显存适配以及 F1 交互优化。升级方法请见下文「升级到 v0.2.1」建议。
我该下哪个文件?
| 文件 | 是什么 | 需要吗 |
|---|---|---|
XC2-package-dist-0.2.1.zip
| 玩家包:启动器、运行时、提升工具与着色器工具 | 要 —— 直接用它玩 |
xc2-launcher-0.2.1-src.zip
| 启动器源码 | 不用 |
本版变化
1. 可调 3D 渲染质量、输出分辨率与 DLSS 支持(PR #36,@nikolaybutnik)
- F1 设置页分工重排:「显示」页控制 输出分辨率(
1080p/1440p/4K,[am] resolution)和 窗口大小(默认auto跟随显示器,上限 1440p);「画质」页将 超分器(DLSS、FSR 3.1.6、FSR 4.1.2、FSR 2.3.4、TAAU、关闭)、超分/渲染质量档位(DLAA / 原生抗锯齿到超级性能及主机原版)、实时渲染 -> 输出尺寸预览与 DLSS 模型(默认/K/J)整合在同一分组。 - 意图驱动缩放(
[upscale] render_quality、[gfx] output_scale):启动时按输出分辨率自动推算缩放倍率;同时引入[nvn] acquire_wait = auto,在开启mirror_capture时跳过冗余等待。 - 修复过场剧场崩溃:从语言白名单中移除引发崩溃的
AmericanEnglish与LatinAmericanSpanish。
2. 启动器内置官方 NVIDIA DLSS & AMD FSR 一键下载器
- 在「设置 → 超分」提供两家厂商的官方直链可选下载:NVIDIA Streamline / DLSS(
v2.14.16,PR #36)以及 AMD GPUOpen FidelityFX SDK(v2.4.0+v1.1.4,自动安装到upscalers/fsr3/)。 - 下载前必须由玩家确认对应的上游厂商许可条款,下载全程校对字节数与 SHA-256 哈希,并将上游许可文件一并保存至 DLL 同目录;本仓库和发行包本身均不夹带任何厂商预编译 DLL。
3. 8 GB 显存支持、显存占用监控与 F1 交互优化
- 下调
mirror_capture = auto阈值(3584 -> 1536 MiB):8 GB 显卡现在也会默认自动开启帧流水线保护。 - 显存状态可见:启用
VK_EXT_memory_budget,日志每 60 秒输出一次实际vram:用量,F1 右侧状态栏同步显示显存及池拷贝占用;画质页底部「实验性功能」可手动切换帧流水线(自动 / 开启 / 关闭)。 - F1 手柄焦点与安全退出:打开 F1 或切换标签页时自动聚焦首项、方向键左右稳定归属当前选项栏(#18);顶部右上角 退出游戏 按钮带二次确认弹窗,防止误触直接关掉进程。
4. 渲染优化、音频爆音修复与启动修复(PR #30 @UrsineBear 及其他修复)
- 修复 v0.1.2 以来的音频带电爆音问题(#37):修正了
xc2/src/x2_audio301.cpp将nn::audio::OutputStream释放事件误创建为ManualClear(0)而非EventClearMode_AutoClear(1)的问题,并在写入时同步唤醒线程的队列水位,彻底消除音频线程 100% 空转抢占 XAudio2 引擎锁引起的电流爆音与降速。 - 新增
VK_AMD_shader_early_and_late_fragment_tests(early_fragment_tests = auto)、VK_EXT_attachment_feedback_loop_layout零拷贝色彩反馈([nvn] fb_reuse)、修复nvn_pipeline.cppUAF、优化nvn-texprep线程优先级,以及全屏/无边框空闲鼠标自动隐藏。 - FSR 加载优先级与无边框启动卡死修复(#18):缺失 loader 时优先选用可独立工作的 v2.4
amd_fidelityfx_upscaler_vk.dll(避免误选同目录amd_fidelityfx_vk.dll导致首帧崩溃);同时将启动期的无边框/全屏切换延后到 Vulkan 设备与初始 Swapchain 建立之后,避免驱动/DWM 互锁黑屏。 - 大幅缩短首次 Set up 安装耗时(约提速 34%):
extract_embedded.py改为多线程并行 zlib 解压、build_cache.py消除数万次冗余文件复制并支持发布包--no-val、xc2_setup.py合入单进程 lift +bucket=0x40000+ 模块级 PCH 预编译头与免 PDB 链接,并改用自适应静止早停加速无头预热(实测同机从 ~11.7 分钟降至 ~7.6 分钟)。 - 启动与 DLC 路径:
mem::alias_base()在默认0x2000000000被占用时自动探测空闲 128 GiB 窗口(#33);aoc_indices()改用 UTF-8 路径,修复中文等非 ASCII DLC 目录崩溃(#25)。 - CI 检查:清理
tools/run/route.ps1硬编码本机路径,并将 PR 个人路径检查限定在改动文件范围内。
升级到 v0.2.1(推荐方案与注意事项)
- 最稳妥推荐(全新目录 + 迁移存档与缓存,零旧配置残留冲突):
- 将
v0.2.1解压到一个全新的干净目录; - 把旧目录下的
save\与shader_cache\(以及如有下载过的upscalers\)复制到新目录中; - 打开新目录的
xc2-launcher.exe重新跑一遍 Set up(已有缓存会直接复用,无需重新耗时编译 12,137 个着色器)。这样既保留全部进度与缓存,又能确保nxrt.ini、controls.ini、launch.env与xc2_rt.dll均为纯净0.2.1状态,自动启用新版默认 Auto(上限 1440p)窗口尺寸与render_quality逻辑。
- 将
- 原地覆盖升级(仅限刚装过
v0.2.0的安装):- 如直接覆盖解压进原
v0.2.0同级根目录,务必做到两件事:① 必须先从新版xc2-launcher.exe点 Play 启动(不要先直接双击xc2_boot.exe,让启动器自动把runtime\xc2_rt.dll刷新到根目录);② 进游戏按 F1 重新选一次窗口大小与渲染质量并点「应用并保存」(否则旧controls.ini里的1280x720与旧nxrt.ini缩放键值会继续盖住新默认值)。如出现异常,保留save\与shader_cache\后删除nxrt.ini/controls.ini再启动即可。v0.1.x老用户请务必使用全新目录升级。
- 如直接覆盖解压进原
已知问题
- 130 级暴虐巨神兽库洛戴伊尔战斗画面冻结(#32):N 卡下即使 1080p 且关闭帧生成仍可能在特定高并发绘制处触发
nvoglv64.dllTDR 挂起(0.1.4 与 0.2.0 均存在),已列入后续版本专项待修复清单。 - 眨眼 / 对白眼嘴闪烁(#15):继续挂起排查(已实机验证
[nvn] view_reinterpret = 1并非根因,默认保持关闭)。 - 附加内容重场景负载较高,以及首次运行约 20 秒管线编译提示。
- 开场战斗背景云海红边(单场景纯视觉)。
致谢
本版合入 PR:#30(@UrsineBear)、#36(@nikolaybutnik)。
协助定位本次修复的反馈:@gao950912(#37 版本二分与报告)。
上游与依赖:fefw-recomp、nxrecomp、nxnative、AMD FidelityFX、NVIDIA Streamline、dav1d、SDL3、Dear ImGui、libvpx、libvorbis、FFmpeg,许可详见 licenses/ 与 THIRD_PARTY_NOTICES.md。
SHA-256
038a8c2da19ffbbc77d14411b22b94e182ac65f263d310d196fe195f7b235e5a XC2-package-dist-0.2.1.zip
5f16bcbe67cd1cb2569a5d94cc09e1209ca85401884bd85840f6fdf536160fb1 xc2-launcher-0.2.1-src.zip