XC2 NS2 Recomp v0.2.3 — #15 Flicker Root Fix, Movie Freeze Fixes, M4 Mod Manager & #44/#47 Rendering
This release ships all integration fixes verified after v0.2.2, including the Issue #15 blinking / dialogue flicker root fix, cutscene & movie freeze fixes (movie_adec coalesced-wakeup / Vorbis backpressure + CPU dav1d clock recovery + #42 9070 XT prewarm + PR #48 NVDEC), Issue #44 RTX 40-series 3D shadow stripes fix + Issue #47/#39 4K DLAA/Quality scaling restoration, M4 Mods UI / Options / Conflicts / DMNT Cheats VM, Issue #45 older Windows 10 spirv_harness.exe compatibility, and a spirv_uint_samplers SPIR-V ordering fix for amdvlk64.dll.
Upgrading from
v0.2.2? Read this!
v0.2.2users can update in one click via About → Updates insidexc2-launcher.exe(noxc2_boot.exerebuild is required).- To apply the Issue #15 blinking/dialogue flicker fix: because
#15is fixed in the offline SPIR-V shader translator (spirv_harness.exe), delete your existingshader_cache\spirv\folder (or rename it as a backup) and click Set up in the launcher once after updating.Set upwill skipxc2_boot.exe(already built) and re-translate the shaders with the fixedspirv_harness.exe.
Which file do I download?
| file | what it is | do I need it? | SHA-256 |
|---|---|---|---|
XC2-package-dist-0.2.3.zip
| full player package: 0.2.3 launcher (M4 Mods UI + Cheats), xc2_rt.dll, fixed spirv_harness.exe, lifter & shader tools
| yes — new installs, v0.2.0/v0.2.1 manual upgrades, or v0.2.2 one-click About → Updates
| 86009357da754dd18a72cb7546115bd841481f47c8f8945f36157a731bd5ca4a
|
xc2-launcher-0.2.3-src.zip
| launcher source code | no | 198d4be6c445af03a61562eeea465b9f66bb0fb2f2cebfeee40ac71b54aa0c20
|
What's new
1. Issue #15 blinking / dialogue flicker root fix (01df5fd)
- Fixed Ryujinx
StructuredIr/AstOptimizer(spirv-call-args.patchinspirv_harness.exe) so single-use mutableStorageBufferloads (LDGbeforeSTGin vertex morph compute shaderc83ff5fc5d458f3a) are no longer folded past subsequent stores, eliminating the false motion vectors behind blinking/mouth flicker in motion blur. - Added runtime uint-sampler rewriting for float samplers targeting
R8_UINTattachments (nvn_spirv_patch.cpp) and fixed SPIR-V type/variable declaration ordering inspirv_uint_samplerssod2767845f04b8ef2(usampler variant) validates cleanly underspirv-valand no longer crashesamdvlk64.dll.
2. RTX 40-series 3D shadow stripes (#44) & 4K DLAA / Quality scaling (#47 / #39)
- Enabled
VK_EXT_depth_bias_control(leastRepresentableValueForceUnormRepresentation) andvkCmdSetDepthBias2EXT(VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT) onD32_SFLOAT_S8_UINTshadow passes so depth bias matches consoleUNORMstepping without dark stripes on RTX 40-series GPUs (#44). - Restored
[upscale] render_qualitydefault routing to the NVN render-target scaling path (nvn_gpu_texture.cpp::quality_scales()+xc2_lock_render_size()) instead of forcing guestnative_res = 2, restoring full3840×2160internal rendering on 4KNative/DLAA(#47). Set[xc2] native_res > 0explicitly only if you want guest-side tier selection.
3. Movie & cutscene freeze fixes + video decoding (17d3012..3607075, #42, #35, PR #48)
- Cutscene mid-video freeze root fixes (
movie_adec.cpp,audio_out.cpp): fixed intermittent ~35s freezes on Torna / base-game 4K cutscenes by re-signaling coalescedAudioDecoderoutput frames (17d3012), unregistering finalized decoders, fixingkResultNoFrameto12and serializing output event clears (3ba71c6), widening the audio gate past pre-roll with wakeup on video advance (98a3389), and capping Vorbis decode backlog within_readybackpressure (3607075). - CPU
dav1dcutscene picture freeze recovery (movie_trace.cpp,#35): automatically re-anchorsRenderThread's movie clock (player[+644] = 1) when software decoding drops frames with no decoded backlog, preventing permanent 100%-drop freezes while audio keeps playing. - #42 RX 9070 XT frame-0 startup deadlock: deferred
ffdec_prewarm()frominstall_video_codec_hle()(t = 0.001 s) to movieworker_loopcreation soav_hwdevice_ctx_create(VULKAN)never racesgfx::Device::create()inamdvlk64.dll. - PR #48 (
video_nvdec.cpp, @nikolaybutnik): fixed NVDECCUdeviceptrNV12 plane transfer to host memory viacuCtxPushCurrent+cuMemcpy2D(cuCtxPopCurrent).
4. M4 Mod Manager, Options, Conflicts & DMNT Cheats VM
- Launcher Mods page (M4b): drag/reorder RomFS mods, configure declarative
.mod_layers.tsvoption sub-layers, inspect file conflicts, enable ExeFS patches (.pchtxt/.ipsvia M3exefs_patch.py) and DMNT cheat entries (.cheats_enabled.tsv), and gateSet uprebuilds cleanly ([mods] pending_rebuild). - Runtime DMNT Cheat VM (M4c): executes Atmosphère DMNT dynamic cheats (opcodes
0–9withVirtualQuery/mem::is_mappedbounds checks) per presented frame (cheats.cpp).
5. Platform & startup hardening
- #45 Older Windows 10
spirv_harness.exeexit0xC000000D(2148734214): disabled<CETCompat>inSpirvHarness.csproj(ExtendedDLLCharacteristics = 0x0) for Windows 10 builds without full CET shadow-stack support. - #35 stackwalk guard (
stackwalk.cpp): guardscapture_stack()withVirtualQuerystack readability checks and SEH (__try / __except). - #43 / #33 / #25: auto-skips incompatible v3.0.0 DLC 98 (#43), pre-reserves an alternative 128 GiB alias window on host address collisions (#33), and clears
HIGH_ENTROPY_VA(#25).
Upgrading to v0.2.3
- From
v0.2.2:- Open
xc2-launcher.exe→ About → Check now → Install update (or extractXC2-package-dist-0.2.3.zipinto yourv0.2.2folder).xc2_boot.exedoes not need rebuilding. - Important for #15 (blinking / dialogue flicker): delete
shader_cache\spirv\inside your install folder and run Set up once to re-translate shaders using the updatedspirv_harness.exe.
- Open
- From
v0.2.1or older / New installs:- Extract
XC2-package-dist-0.2.3.zipcleanly (or overv0.2.1+ deleteshader_cache\spirv\and click Set up; copysave/andupscalers/if moving to a fresh folder).
- Extract
Known issues
- Lv. 130 Tyrannotitan Kurodil freeze on NVIDIA (#32)
- 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).
- Platform support: Initial releases only officially support native Windows 11 x64. Windows 10 and Linux / SteamOS / Wine / Proton are not officially supported in this phase — future support is not ruled out, and community forks adapting other platforms are welcome.
XC2 NS2 重编译 v0.2.3 —— 根修 #15 闪烁、影片冻结修复、M4 模组管理与 #44/#47 渲染
本版本合入 v0.2.2 之后的全部集成修复:根治 #15 号角色眨眼/对白闪烁,彻底修复 过场影片中途冻结(movie_adec 合并唤醒/Vorbis 背压 + CPU dav1d 时钟恢复 + #42 9070 XT 预热防死锁 + PR #48 NVDEC 拷贝),修复 #44 RTX 40 系 3D 阴影黑条纹 并恢复 #47/#39 4K DLAA/Quality 缩放链路,正式内置 M4 模组管理 / 选项层 / 冲突检测 / DMNT 作弊码引擎,修复 #45 旧版 Win10 spirv_harness.exe 启动报错,以及 spirv_uint_samplers 前向引用导致的 amdvlk64.dll 崩溃。
升级必读(尤其是从
v0.2.2在线更新的用户):
v0.2.2用户可直接在启动器「关于 → 检查更新 → 安装更新」一键升级,无需重新编译xc2_boot.exe。- 要让 #15 眨眼/对白闪烁修复生效:因为根修位于离线着色器翻译器
spirv_harness.exe,升级后请删除安装目录下的shader_cache\spirv\文件夹(或先改名备份),然后在启动器再点一次 Set up。Set up 会跳过已编好的xc2_boot.exe,仅使用新版spirv_harness.exe重译着色器。
我该下哪个文件?
| 文件 | 是什么 | 需要吗 | SHA-256 |
|---|---|---|---|
XC2-package-dist-0.2.3.zip
| 完整玩家包:含 M4 模组 UI 的 0.2.3 启动器、新版 xc2_rt.dll、修复后的 spirv_harness.exe 与提升/着色器工具
| 要 —— 全新安装、手动覆盖升级,或 v0.2.2 启动器内一键更新
| 86009357da754dd18a72cb7546115bd841481f47c8f8945f36157a731bd5ca4a
|
xc2-launcher-0.2.3-src.zip
| 启动器源码 | 不用 | 198d4be6c445af03a61562eeea465b9f66bb0fb2f2cebfeee40ac71b54aa0c20
|
本版变化
1. 根修 #15 角色眨眼 / 对白闪烁(01df5fd)
- 修复 Ryujinx
StructuredIr/AstOptimizer(spirv_harness.exe内spirv-call-args.patch):禁止把单次使用的可变StorageBuffer加载折叠越过后续STG写入(修复 vertex morph 计算着色器c83ff5fc5d458f3a注入虚假运动矢量导致 motion blur 里眨眼/口型糊成灰褐噪点)。 - 修复运行时
spirv_uint_samplers替换 uint 采样器时未重排后置类型与变量声明导致的非法 SPIR-V 前向引用(d2767845f04b8ef2通过spirv-val全检,不再触发 Windowsamdvlk64.dll编译管线崩溃)。
2. 修复 #44 RTX 40 系 3D 阴影条纹 & 恢复 #47/#39 4K DLAA / Quality 缩放
- 在
vk_device.cpp/nvn_replay.cpp启用VK_EXT_depth_bias_control(FORCE_UNORM)并使用vkCmdSetDepthBias2EXT,使D32_SFLOAT_S8_UINT深度偏移遵循固定UNORM步长,根除 RTX 40 系 3D 阴影条纹(#44)。 - 默认恢复
[upscale] render_quality走 PR #36 的 NVN 渲染目标缩放路径(#47),4KNative/DLAA恢复真3840×2160内部分辨率(仅当手动配置[xc2] native_res > 0时才改由客体档位接管)。
3. 过场影片冻结与视频解码修复(17d3012..3607075、#42、#35、PR #48)
- 根治 CG 过场中途冻结(
movie_adec.cpp、audio_out.cpp):针对伊拉/本体 4K 过场在 ~35 秒处偶发画面冻结,修复AudioDecoder合并输出帧重发事件(17d3012)与释放注销、修正kResultNoFrame返回值 (12) 与清除事件串行化(3ba71c6)、预缓冲后放宽音频门控并由视频推进唤醒(98a3389),并通过in_ready背压限制 Vorbis 解码队列积压(3607075)。 - CPU
dav1d软解过场丢帧时钟重锚定(movie_trace.cpp,#35):当无预解积压且发生丢帧时自动置player[+644] = 1重锚定RenderThread时钟,防止陷入 100% 永久丢帧冻帧。 - #42 RX 9070 XT 点 Play 卡死在第 0 帧:将
ffdec_prewarm()从启动早期(t = 0.001 s)延后至影片解码线程首次创建时执行,避免与主线程gfx::Device::create()在amdvlk64.dll内并发建设备死锁。 - PR #48(
video_nvdec.cpp,@nikolaybutnik):通过cuCtxPushCurrent+cuMemcpy2D修复 NVDEC 显存到宿主内存拷贝。
4. M4 模组管理、选项层、冲突检测与 DMNT 作弊码引擎
- 启动器 Mods 页面(M4b):支持 RomFS 模组拖拽排序、声明式
.mod_layers.tsv选项子层切换、文件冲突预览、ExeFS 补丁(M3.pchtxt/.ips)与.cheats_enabled.tsv作弊开关及重编门控([mods] pending_rebuild)。 - 运行时 DMNT 虚拟机(M4c):按呈递帧执行 Atmosphère DMNT 动态作弊码(Opcode
0–9,接入VirtualQuery/mem::is_mapped边界安全校验)。
5. 平台兼容性与启动加固
- #45 旧版 Win10
spirv_harness.exe启动报0xC000000D(2148734214):在SpirvHarness.csproj关闭<CETCompat>false</CETCompat>(PEExtendedDLLCharacteristics = 0x0)。 - #35 栈回溯 SEH 保护(
stackwalk.cpp):为capture_stack()增加VirtualQuery栈可读性检查与__try / __except保护。 - #43 / #33 / #25:自动跳过不兼容的 v3.0.0 DLC 98(#43)、主机地址碰撞时自动探测备用 128 GiB 别名窗口(#33)、关闭
HIGH_ENTROPY_VA(#25)。
如何升级到 v0.2.3
- 当前已在
v0.2.2:- 在
xc2-launcher.exe点击 「关于 → 检查更新 → 安装更新」 一键完成在线更新(无需重编xc2_boot.exe)。 - 让 #15 闪烁修复生效:删掉安装目录下的
shader_cache\spirv\,在启动器再点一次 Set up 重译着色器缓存即可。
- 在
- 当前在
v0.2.1/ 更早版本或全新安装:- 解压
XC2-package-dist-0.2.3.zip(建议先删shader_cache\spirv\或使用干净目录迁移save\与upscalers\后跑一次 Set up)。
- 解压
已知问题
- 130 级暴虐巨神兽库洛戴伊尔 NVIDIA 画面冻结 / TDR(#32)
- 附加内容重场景负载较高,以及首次运行约 20 秒管线编译提示。
- 支持平台:项目初期仅官方支持原生 Windows 11 x64,暂不支持 Windows 10 及 Linux / SteamOS / Wine / Proton;未来不排除扩展支持,也欢迎社区自行 Fork 适配其他平台或系统。