Skip to content

Releases

XC2 NS2 Recomp v0.2.4

Choose a tag to compare

@weile10000 weile10000 released this 24 Nov 08:38

XC2 NS2 Recomp v0.2.4 — FSR 3 Frame Generation & Dynres Fixes, Intel Pipeline Cache, Setup & 1080p Native Baseline

This release ships all fixes verified after v0.2.3, including #53 AMD FSR 3 Frame Generation (HUDLessColor) + HDR10 parity, FidelityFX FSR 3.1 default + automatic FSR 4.* dynamic-resolution slot isolation, #55/#56 dynamic-resolution & viewport scaling fixes, upgraded F10 dual FPS HUD + counter overflow fix, #49 Intel vkGetPipelineCacheData crash fix, #51/#54 opt-in depth_bias_force_unorm, #57 HDR highlight expansion slider, #52 dav1d software decoder & finalize fixes, #25 non-ASCII DLC folder handling, #58 PowerShell 5.1 Setup fallback & custom game_dir packaged mode, Launcher XeSS/120 Hz cleanup & upscaler download confirmation, and a clean 1080p Native TAAU docked baseline.

Upgrading from v0.2.3 (or v0.2.2)? Read this!

  1. Existing v0.2.3 / v0.2.2 users can update in one click via About → Updates inside xc2-launcher.exe (no xc2_boot.exe rebuild is required).
  2. New 1080p Native TAAU baseline (nxrt.ini.in) applies automatically to fresh setups (v0.2.4 preserves your existing nxrt.ini when upgrading). You can still apply Reset defaults in Launcher → Settings at any time.
  3. Still upgrading from v0.2.2 or older? Delete shader_cache\spirv\ once after updating and click Set up so the #15 spirv_harness.exe shader fix takes effect (v0.2.3 users who already rebuilt shader_cache\spirv\ do not need to wipe it).

Which file do I download?

file what it is do I need it? SHA-256
XC2-package-dist-0.2.4.zip full player package: 0.2.4 launcher, updated xc2_rt.dll, xc2_setup.py, and toolchain yes — new installs, manual upgrades, or v0.2.2/v0.2.3 one-click About → Updates 6a8529207f139521132c4a06184af261b4956f17bc8d41dccdc492c5f13798c1
XC2-hotfix-v0.2.4-tdr-rt.zip optional runtime hotfix (xc2_rt.dll from 010fc5e): device-lost / VK_EXT_device_fault logging, descriptor pool_set deadlock fix, integer blit filter & UBO bounds optional (NVIDIA TDR #32/#41/#59 testers) — extract over an existing v0.2.4 install folder; does not affect launcher settings/saves eccd56cb71d4972f0e7d5a8ebedce37ed9c0566287c87d26f0a1e81727dd8cb6
xc2-launcher-0.2.4-src.zip launcher source code no 4d64c7a9205ca31dc89d72fc4118abd7acaecf64b1ec80cc0d947a370af5c57c

What's new

1. Frame Generation (FSR 3 FG), Dynamic Resolution & F10 HUD (#53, #55, #56, temporal_ffx, framegen / overlay)

  • #53 AMD FSR 3 Frame Generation HUDLessColor + HDR parity (nvn_framegen, framegen_ffx): routed the game's HUDless scene buffer properly into FidelityFX Frame Generation (game::Info::hudless_rt) with matching SDR/HDR10 handling, fixing broken/green output when using FSR 3 FG.
  • FidelityFX dynamic-resolution isolation (temporal_ffx.cpp): switched the default FidelityFX SR mode cleanly to FSR 3.1 (fsr_version) and isolated dynamic-resolution context slots_ automatically whenever FSR 4.* is active, preventing input/motion-vector size mismatch issues across resolution steps.
  • #55 / #56 Dynamic resolution & viewport scaling fixes (nvn_gpu, nvn_gpu_texture, nvn_replay, nvn_present): bypassed XC2's internal compute upscale variants cleanly, fixed attachment scale caps, scaled HUD viewport info to output dimensions, and pinned dynamic-resolution state before rt_rebuild.
  • Upgraded F10 FPS overlay & overflow fix (framegen, overlay.cpp): when Frame Generation is active, F10 now displays both rendered and presented frame rates (base -> presented FPS, e.g. 60 -> 118) along with the active FG backend tag; also fixed an integer wrap/overflow bug in shown fps.

2. Renderer, Pipeline Cache & HDR Calibration (#49, #51, #54, #57, #50)

  • #49 Intel igvk64.dll+0x79ddf3 vkGetPipelineCacheData crash fix (nvn_pipeline, nvn_gpl, nvn_replay): handles drivers returning empty/partial pipeline cache blobs or non-zero VkResult safely instead of dereferencing invalid cache data during prewarm/save.
  • #51 / #54 Depth-bias FORCE_UNORM regression gate (config/keys.tsv, vk_device, nvn_replay): gated VK_EXT_depth_bias_control (FORCE_UNORM) behind opt-in [nvn] depth_bias_force_unorm (0 by default), resolving regressions introduced on non-RTX-40 GPUs while keeping the RTX 40-series workaround available via config.
  • #57 HDR display-referred highlight expansion (output_pass): added OutputParams::expand_ratio and a live slider in the F1 menu for tuning bright highlight expansion on HDR10 displays.
  • #50 F1 Overlay navigation: isolated ##rows_pane D-pad navigation & ZR save behavior (play_ui.cpp) and logs the active upscaler (nvn_present.cpp).

3. Media Playback, Setup & Localization Robustness (#52, #58, #25)

  • #52 dav1d software decoder & finalize fixes (video_codec.cpp, nv12_convert.h, movie_vdec.cpp): enabled max_frame_delay = 0 with proper EOS draining, added SSE2 i420_to_nv12 conversion, and resolved finalize thread join hangs at movie end.
  • #25 Non-ASCII / malformed UTF-16 DLC names (services/misc.cpp): safely handles unpaired UTF-16 surrogates and non-ASCII folder names inside aoc_indices().
  • #58 Setup PowerShell 5.1 fallback & custom game_dir packaged mode (tools/setup/doctor.ps1, xc2_setup.py, main.rs): falls back cleanly to Windows PowerShell 5.1 when PowerShell 7 (pwsh) is unavailable, and supports custom game_dir layouts cleanly in packaged installs.

4. Launcher UX, 1080p Native Baseline & Updated Frame Generation Guidance

  • 1080p Native TAAU Docked Baseline (config/nxrt.ini.in, settings.rs, settings.js): fresh setups now establish a verified baseline — Docked mode ([am] operation_mode = docked, resolution = 1920x1080), 1920×1080 window, built-in TAAU ([dlss] upscaler = taau), Native 100% render resolution ([upscale] render_quality = native, lock_render_size = 1), 60 fps ([xc2] fps = 60), Frame Generation off ([dlss] frame_gen = 0), and [system] language = auto (with default Japanese voice when unset, switchable in settings).
  • Upscaler download confirmation & option cleanup (streamline.rs, fsr.rs, play.rs, settings.js): added a confirmation prompt before downloading official NVIDIA / AMD upscaler packages, removed non-functional Intel XeSS options, removed the unviable native 120 Hz option, and synced 30/60 Hz selection cleanly across Launcher & F1 Settings.
  • All-GPU Frame Generation notice & visual correctness hint: updated UI copy so users on NVIDIA, AMD, and Intel GPUs know Frame Generation is available via DLSS Frame Generation or AMD FSR 3 Frame Generation, paired with an explicit warning that enabling Frame Generation can degrade image correctness (such as subtle mouth/eye/dialogue flicker in cutscenes, which disappears immediately when Frame Generation is disabled).

5. Optional Hotfix (XC2-hotfix-v0.2.4-tdr-rt.zip, 010fc5e) — NVIDIA TDR Mitigation & Diagnostics

Added alongside the v0.2.4 release assets specifically for users encountering NVIDIA GPU freezes / TDR (#32, #41, #59) — the main XC2-package-dist-0.2.4.zip is unchanged, and Launcher auto-update (About → Updates) is unaffected:

  • Shared device_lost guard & VK_EXT_device_fault watchdog reporting (vk_device, vk_renderer, nvn_gpu): stops UINT64_MAX (-4) timeline poison from prematurely destroying live GPU objects, breaks infinite fence/acquire/semaphore waits once lost, and records hardware fault details directly into xc2_boot_freeze.txt.
  • Descriptor pool_set() same-submission & deadlock fix (nvn_pipeline): prevents overwriting descriptor sets already bound in an open recording and eliminates an infinite spin waiting on unsubmitted f.serial.
  • Integer blit filter & UBO bounds fixes (nvn_gpu_texture, nvn_replay): enforces VK_FILTER_NEAREST for integer/depth blits (VUID-vkCmdBlitImage-filter-02001) and clamps unaligned UBO copies to br.avail.

Upgrading to v0.2.4

  • From v0.2.3 / v0.2.2:
    1. Open xc2-launcher.exe → About → Check now → Install update (or extract XC2-package-dist-0.2.4.zip over your existing install folder). xc2_boot.exe does not need rebuilding.
    2. (Only if updating from v0.2.2 or older and you skipped v0.2.3): delete shader_cache\spirv\ inside your install folder and run Set up once to re-translate shaders for #15.
  • New installs:
    • Extract XC2-package-dist-0.2.4.zip into a clean folder, launch xc2-launcher.exe, select your own 3.0.1 dump, and click Set up.
  • Applying the optional TDR hotfix (XC2-hotfix-v0.2.4-tdr-rt.zip, for v0.2.4 users hitting #32/#41/#59):
    1. Close the game and xc2-launcher.exe.
    2. Extract XC2-hotfix-v0.2.4-tdr-rt.zip directly into your existing v0.2.4 install folder (the folder containing xc2-launcher.exe), choosing Overwrite / Replace files when prompted (this updates both xc2_rt.dll and runtime\xc2_rt.dll).
    3. (Custom game_dir users only): also copy the extracted xc2_rt.dll over the copy next to xc2_boot.exe inside your game_dir.
    4. Launch the game normally — no rebuild or Set up is needed, and your nxrt.ini, saves, and shader_cache remain untouched. If a freeze still occurs on NVIDIA, please attach the newly generated xc2_boot_freeze.txt + nxrt.log on the issue tracker.

Known issues

  • Lv. 130 Tyrannotitan Kurodil freeze on NVIDIA (#32)
  • Minor cloud-sea visual bugs: a very small number of visual artifacts remain in parts of the cloud sea (such as localized thin edge lines); they do **no...
Read more

XC2 NS2 Recomp v0.2.3

Choose a tag to compare

@weile10000 weile10000 released this 23 Nov 18:21

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!

  1. v0.2.2 users can update in one click via About → Updates inside xc2-launcher.exe (no xc2_boot.exe rebuild is required).
  2. To apply the Issue #15 blinking/dialogue flicker fix: because #15 is fixed in the offline SPIR-V shader translator (spirv_harness.exe), delete your existing shader_cache\spirv\ folder (or rename it as a backup) and click Set up in the launcher once after updating. Set up will skip xc2_boot.exe (already built) and re-translate the shaders with the fixed spirv_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.patch in spirv_harness.exe) so single-use mutable StorageBuffer loads (LDG before STG in vertex morph compute shader c83ff5fc5d458f3a) 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_UINT attachments (nvn_spirv_patch.cpp) and fixed SPIR-V type/variable declaration ordering in spirv_uint_samplers so d2767845f04b8ef2 (usampler variant) validates cleanly under spirv-val and no longer crashes amdvlk64.dll.

2. RTX 40-series 3D shadow stripes (#44) & 4K DLAA / Quality scaling (#47 / #39)

  • Enabled VK_EXT_depth_bias_control (leastRepresentableValueForceUnormRepresentation) and vkCmdSetDepthBias2EXT (VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT) on D32_SFLOAT_S8_UINT shadow passes so depth bias matches console UNORM stepping without dark stripes on RTX 40-series GPUs (#44).
  • Restored [upscale] render_quality default routing to the NVN render-target scaling path (nvn_gpu_texture.cpp::quality_scales() + xc2_lock_render_size()) instead of forcing guest native_res = 2, restoring full 3840×2160 internal rendering on 4K Native / DLAA (#47). Set [xc2] native_res > 0 explicitly 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 coalesced AudioDecoder output frames (17d3012), unregistering finalized decoders, fixing kResultNoFrame to 12 and serializing output event clears (3ba71c6), widening the audio gate past pre-roll with wakeup on video advance (98a3389), and capping Vorbis decode backlog with in_ready backpressure (3607075).
  • CPU dav1d cutscene picture freeze recovery (movie_trace.cpp, #35): automatically re-anchors RenderThread'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() from install_video_codec_hle() (t = 0.001 s) to movie worker_loop creation so av_hwdevice_ctx_create(VULKAN) never races gfx::Device::create() in amdvlk64.dll.
  • PR #48 (video_nvdec.cpp, @nikolaybutnik): fixed NVDEC CUdeviceptr NV12 plane transfer to host memory via cuCtxPushCurrent + cuMemcpy2D (cuCtxPopCurrent).

4. M4 Mod Manager, Options, Conflicts & DMNT Cheats VM

  • Launcher Mods page (M4b): drag/reorder RomFS mods, configure declarative .mod_layers.tsv option sub-layers, inspect file conflicts, enable ExeFS patches (.pchtxt / .ips via M3 exefs_patch.py) and DMNT cheat entries (.cheats_enabled.tsv), and gate Set up rebuilds cleanly ([mods] pending_rebuild).
  • Runtime DMNT Cheat VM (M4c): executes Atmosphère DMNT dynamic cheats (opcodes 0–9 with VirtualQuery / mem::is_mapped bounds checks) per presented frame (cheats.cpp).

5. Platform & startup hardening

  • #45 Older Windows 10 spirv_harness.exe exit 0xC000000D (2148734214): disabled <CETCompat> in SpirvHarness.csproj (ExtendedDLLCharacteristics = 0x0) for Windows 10 builds without full CET shadow-stack support.
  • #35 stackwalk guard (stackwalk.cpp): guards capture_stack() with VirtualQuery stack 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:
    1. Open xc2-launcher.exe → About → Check now → Install update (or extract XC2-package-dist-0.2.3.zip into your v0.2.2 folder). xc2_boot.exe does not need rebuilding.
    2. 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 updated spirv_harness.exe.
  • From v0.2.1 or older / New installs:
    • Extract XC2-package-dist-0.2.3.zip cleanly (or over v0.2.1 + delete shader_cache\spirv\ and click Set up; copy save/ and upscalers/ if moving to a fresh folder).

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 在线更新的用户):

  1. v0.2.2 用户可直接在启动器「关于 → 检查更新 → 安装更新」一键升级,无需重新编译 xc2_boot.exe。
  2. 要让 #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 全检,不再触发 Windows amdvlk64.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),4K Native / 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):通过 `cuCtxPus...
Read more

XC2 NS2 Recomp v0.2.2

Choose a tag to compare

@weile10000 weile10000 released this 23 Nov 10:03

XC2 NS2 Recomp v0.2.2 — #39 4K/Quality Rendering Fix & In-Launcher Auto-Updater

This hotfix & quality-of-life release resolves Issue #39 (the v0.2.1 3D dot-grid / sub-resolution scaling regression affecting Quality presets and 4K Native), enables in-launcher update checks & one-click updates for v0.2.2+, and unifies public documentation.

Important upgrade note for v0.2.1 / v0.2.0 users: Earlier launchers (<= v0.2.1) still had auto-update checks disabled on the frontend (update.js) and upstream placeholder paths in the backend (update.rs). Therefore, upgrading to v0.2.2 must be done manually once (either via the full zip or the small v0.2.1 -> v0.2.2 xc2_rt.dll hotfix zip). Starting with v0.2.2, About → Updates checks GitHub releases (including Pre-release builds) and updates in place for future versions!

Which file do I download?

file what it is do I need it? SHA-256
XC2-package-dist-0.2.2.zip full player package: updated 0.2.2 launcher (with auto-updater), xc2_rt.dll, lifter & shader tools yes — new installs, v0.2.0 upgrades, or v0.2.1 users who want 0.2.2+ in-launcher updates f970a1841b08d08244dddff3595f0ff482fdade3ca0bf8f9e9c8c27bf662c703
XC2-hotfix-v0.2.2-from-v0.2.1-rt.zip runtime DLL hotfix (runtime/xc2_rt.dll + xc2_rt.dll) for existing v0.2.1 installs optional — v0.2.1 users who only want the #39 rendering fix immediately (~12 MB) 48d100499862539ae4d7063a36d6ba4a351bb711c23e5f791692a6d070643c64
xc2-launcher-0.2.2-src.zip launcher source code no 6019cf22671141e20b1b745e6c6be5e0abff945e516ec4cd0e7e58d493a61b6

What's new

1. Fix 3D dot-grid / sub-resolution regression in v0.2.1 (#39)

  • Root cause: v0.2.1 applied [gfx] output_scale directly at the swapchain/output layer without updating XC2's internal native_res tier, causing both scaled upscaling modes (Quality / Balanced / Performance) and 4K Native / DLAA to sample coarse internal buffers with visible dot-grid artifacts.
  • Fix: routed render_quality through the in-engine native_res path (runtime/include/nxrt/gfx_tuning.h, nvn_gpu_texture.cpp, xc2_boot.cpp):
    • 4K + Native / DLAA: renders cleanly at full 3840×2160 internal resolution.
    • 4K + Quality: renders internally at 2560×1440 (1440p -> 4K) cleanly without checkerboard/dot-grid artifacts.

2. Working in-launcher auto-updater (v0.2.2+)

  • Enabled Check now and startup update checks (launcher/src/update.js) and adapted launcher/src-tauri/src/update.rs & restart_launcher (main.rs) to weile10000/xc2-ns2-recomp:
    • Queries GitHub /releases?per_page=20 so Pre-release (0.x) releases are discovered accurately (instead of /releases/latest, which ignores pre-releases).
    • Selects XC2-package-dist-*.zip, verifies SHA-256 against the GitHub asset digest before unpacking, supports both flat-root and single-folder zip layouts, preserves save/, shader_cache/, upscalers/, nxrt.ini, controls.ini, xc2_boot.exe, and custom locales/, rolls back cleanly on error, restarts directly into xc2-launcher.exe, and checks whether hook tables / stub sources changed (rebuild_needed).

3. Documentation & CI hygiene

  • Consolidated shader patch counts under tools/shader/PATCHES.md, aligned README.md and BENCHMARK-301.md preview labels with clean screenshot captures, and added an automated maintainer-path guard in CI.

Upgrading to v0.2.2

  • Already on v0.2.1 (Fastest: no Set up rebuild or shader recompile needed):
    • Recommended (Full package + enables future auto-updates): extract XC2-package-dist-0.2.2.zip over your v0.2.1 directory (or extract to a fresh folder and copy save/, shader_cache/, upscalers/), then start the game from xc2-launcher.exe (it copies runtime\xc2_rt.dll next to xc2_boot.exe automatically). Neither xc2_boot.exe nor the shader cache needs rebuilding.
    • Quick DLL-only hotfix (~12 MB): close the game & launcher, extract XC2-hotfix-v0.2.2-from-v0.2.1-rt.zip directly into your v0.2.1 install folder (replacing runtime\xc2_rt.dll and root xc2_rt.dll). Note that the launcher itself will remain at 0.2.1 until you overwrite it with 0.2.2.
  • On v0.2.0 or v0.1.x / New installs:
    • Extract XC2-package-dist-0.2.2.zip into a clean folder, copy save/, shader_cache/ (and upscalers/ if downloaded) from your old folder if upgrading, and run Set up once in xc2-launcher.exe.

Known issues

  • Lv. 130 Tyrannotitan Kurodil freeze on NVIDIA (#32)
  • Blinking / dialogue flicker (#15)
  • 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).

XC2 NS2 重编译 v0.2.2 —— 修复 #39 4K/画质档网格失真 & 启用启动器内自动热更新

本次维护更新重点修复 #39 号回归问题(v0.2.1 中 4K 原生与 Quality 等画质档出现 3D 渲染网格噪点/内部分辨率偏低的问题),同时正式修通并启用了 v0.2.2+ 启动器内置检测更新与一键在线更新,并统一了公开文档口径。

v0.2.1 / v0.2.0 老用户升级必读:早期版本的启动器(<= v0.2.1)前端禁用了更新检查(update.js),后端仍残留上游占位路径(update.rs)。因此从旧版升到 v0.2.2 需要最后一次手动更新(下载完整包覆盖,或使用仅 12 MB 的 v0.2.1 -> v0.2.2 运行时热修小包);升级到 v0.2.2 之后,今后发布新版(v0.2.3+)即可直接在启动器 「关于 → 更新」 内自动检测(含 Pre-release)并一键原地更新!

我该下哪个文件?

文件 是什么 需要吗 SHA-256
XC2-package-dist-0.2.2.zip 完整玩家包:含已修复自动更新的 0.2.2 启动器、新版 xc2_rt.dll、提升与着色器工具 要 —— 全新安装、从 v0.2.0 升级,或希望 v0.2.1 获得后续启动器一键更新能力的用户 f970a1841b08d08244dddff3595f0ff482fdade3ca0bf8f9e9c8c27bf662c703
XC2-hotfix-v0.2.2-from-v0.2.1-rt.zip v0.2.1 专用轻量热修补丁(runtime/xc2_rt.dll + xc2_rt.dll) 可选 —— 仅需快速修复 #39 的 v0.2.1 玩家(约 12 MB) 48d100499862539ae4d7063a36d6ba4a351bb711c23e5f791692a6d070643c64
xc2-launcher-0.2.2-src.zip 启动器源码 不用 6019cf22671141e20b1b745e6c6be5e0abff945e516ec4cd0e7e58d493a61b6

本版变化

1. 修复 v0.2.1 4K / 渲染质量档网格失真(#39)

  • 问题原因:v0.2.1 仅在输出缩放层调整 [gfx] output_scale,未同步经由游戏内部 native_res 档位驱动内部分辨率,导致 Quality / Balanced / Performance 以及部分 4K Native / DLAA 组合下仍以较低内部缓冲渲染并放大,产生明显的像素网格感。
  • 修复内容:打通 render_quality 与游戏原生 native_res 的联动并修正交换链/纹理尺寸处理(gfx_tuning.h、nvn_gpu_texture.cpp、xc2_boot.cpp):
    • 4K + Native / DLAA:实机完整以 3840×2160 原生渲染。
    • 4K + Quality:实机稳定以 2560×1440 -> 3840×2160 渲染输出,网格失真消除。

2. 启用启动器内在线检测与一键更新(v0.2.2+)

  • 取消 launcher/src/update.js 的早退占位,适配 launcher/src-tauri/src/update.rs 及 main.rs(restart_launcher)为本仓库发行版格式:
    • 通过 GitHub /releases?per_page=20 拉取发布列表,正常识别标记为 Pre-release 的 0.x 版本(不再受 /releases/latest 跳过预发布限制)。
    • 自动匹配 XC2-package-dist-*.zip 并严格校验 GitHub 官方 SHA-256 摘要,兼容平铺与单顶层目录压缩结构,自动跳过 save/、shader_cache/、upscalers/、nxrt.ini、controls.ini、xc2_boot.exe 与用户自定义语言表,失败可回滚,升级完毕可直接一键重启至新 xc2-launcher.exe,并自动检测 xc2/ hook 表是否变化以提示是否需重跑 Set up。

3. 公开文档与隐私守卫规范化

  • 将着色器补丁状态统一以 tools/shader/PATCHES.md 为单一事实来源,修正首页与性能报告预览图尺寸说明,并在 CI 与本地提交检查中加入维护者私有路径守卫。

如何升级到 v0.2.2

  • 当前已在 v0.2.1(无需重新编译 xc2_boot.exe 或重编着色器):
    • 推荐方案(同步获得 0.2.2+ 一键更新能力):下载完整包 XC2-package-dist-0.2.2.zip,直接解压覆盖原 v0.2.1 目录(或解压到新目录并复制 save\、shader_cache\、upscalers\),随后从新版 xc2-launcher.exe 点 Play 启动,启动器会自动将新 runtime\xc2_rt.dll 同步到根目录。
    • 极简热修(约 12 MB):先完全退出游戏与启动器,下载 XC2-hotfix-v0.2.2-from-v0.2.1-rt.zip 解压覆盖进原 v0.2.1 根目录(替换 runtime\xc2_rt.dll 与根目录 xc2_rt.dll)即可;该方式下启动器本体仍停留在 0.2.1。
  • 当前在 v0.2.0 / v0.1.x 或新用户:
    • 请解压 XC2-package-dist-0.2.2.zip 到全新干净目录,从旧目录迁移 save\、shader_cache\(以及如有下载过的 upscalers\),在启动器运行一遍 Set up 即可复用既有着色器缓存。

已知问题

  • 130 级暴虐巨神兽库洛戴伊尔战斗画面冻结(#32)
  • 眨眼 / 对白眼嘴闪烁(#15)
  • 附加内容重场景负载较高,以及首次运行约 20 秒管线编译提示。
  • 开场战斗背景云海红边(单场景纯视觉)。

XC2 NS2 Recomp v0.2.1

Choose a tag to compare

@weile10000 weile10000 released this 23 Nov 06:27

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 (default auto, 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 AA through Ultra Performance and Console), 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 = auto skips redundant acquire waits while mirror_capture is active.
  • Event Theater fix: removed AmericanEnglish and LatinAmericanSpanish from NXRT_TITLE_SUPPORTED_LANGUAGES in 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) into upscalers/streamline/ or upscalers/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 = auto floor (3584 -> 1536 MiB): 8 GB GPUs now enable frame pipelining automatically instead of falling back off.
  • Live VRAM visibility: enabled VK_EXT_memory_budget when supported, added a vram: summary line to nxrt.log every 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.cpp creating nn::audio::OutputStream's release SystemEvent as ManualClear (0) instead of EventClearMode_AutoClear (1), and synced watch_loop's queued water mark on writes — stopping the guest-132 audio thread from busy-spinning on GetOutputStreamFreeFrameCount / 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 via VK_EXT_attachment_feedback_loop_layout ([nvn] fb_reuse), fixed a use-after-free in nvn_pipeline.cpp, tuned nvn-texprep priority, and auto-hid idle cursor in fullscreen/borderless modes.
  • FSR & fullscreen start-up hardening (#18): prioritized standalone amd_fidelityfx_upscaler_vk.dll ahead of amd_fidelityfx_vk.dll when the FidelityFX loader is absent (preventing a first-dispatch amdxc64.dll crash when both sit in upscalers/fsr3/), and moved initial Borderless / Exclusive set_fullscreen() calls until after Device::create() / Renderer::create() so display/driver hooks cannot deadlock before Vulkan enumeration.
  • Faster first-time Set up (~34% shorter): parallelized extract_embedded.py zlib extraction, skipped redundant per-shader spirv-val.exe subprocesses (--no-val) and ~36,000 duplicate file copies in build_cache.py, lifted modules in one Python process at bucket = 0x40000 with 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 when 0x2000000000 is occupied (VammManager 0xD401, #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.ps1 and scoped PR personal-path checks to changed files.

Upgrading to v0.2.1

  • Recommended (Clean directory + migrate saves & shader cache): extract v0.2.1 into a fresh folder, copy save/, shader_cache/ (and upscalers/ 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), while nxrt.ini, controls.ini, launch.env, and xc2_rt.dll start completely clean with v0.2.1 defaults (including Auto 1440p-capped window sizing and intent-based render_quality).
  • In-place upgrade (from v0.2.0 only): if you extract directly over a v0.2.0 folder, you must launch the game from the new xc2-launcher.exe (do not launch xc2_boot.exe directly beforehand, so the launcher copies the updated runtime/xc2_rt.dll next to the executable), and open F1 once to re-save Window size and Render quality / Upscaler mode (otherwise old controls.ini 720p window settings and legacy nxrt.ini scaling keys remain active). If any setting behaves unexpectedly, back up save/ and shader_cache/ and remove nxrt.ini and controls.ini. For v0.1.x installs, 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.dll wait / GPU TDR timeout around fs be528292f3d04f1b). Tracked for targeted shader/sync investigation in a future release.
  • Blinking / dialogue flicker (#15): remains open. Opt-in [nvn] view_reinterpret = 1 was tested and confirmed not to fix it (kept 0 by 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_lay...
Read more

XC2 NS2 Recomp v0.2.0

Choose a tag to compare

@weile10000 weile10000 released this 22 Nov 08:20

XC2 NS2 Recomp v0.2.0 — the cornerstone release

Tested on a Radeon RX 6800 XT (16 GB) and an RTX 4060 Laptop (8 GB) - both runs are ours. Pull request #19 was
developed and measured on a 5090 and a 4060 Laptop by @nikolaybutnik.

The Switch 2 edition is not the Switch 1 game with a bigger icon. Its cutscenes are 4K AV1, its memory films play over a
live scene and have to hand that scene back, and its player is guest code we cannot call into — the runtime only supplies
nn::codec. This release is mostly about those three, plus the first settings page and the first NVIDIA support.

Before you read on. This release adds a lot at once — a settings page, native resolutions, NVIDIA support, the film
hand-back — so some defects we have not hit are probably still in it. If you find one, press Record a report in the
launcher (the Play page, or About): it starts the game once more with the diagnostics on, you play until it happens again,
and closing the window packs the logs into work\reports. Attach that zip to the issue — every one is read. Whatever it
turns up, this update is the step that makes the 1.0 path possible.

Which file do I download?

file what it is do I need it?
XC2-package-dist-0.2.0.zip the player package: launcher, runtime, the lifter and the shader tools yes — this is the one you play from
xc2-launcher-0.2.0-src.zip the launcher's source, for people who want to read or build it no

What's new

4K cutscenes, and the films that sit inside a scene

The NS2 edition's films are 3840×2160 AV1, and the SDK's decoder opens the GPU driver directly, which no recompiled PC
build can follow. nn::codec is taken over instead: Acquire decodes the first picture in place rather than handing out a
fence nothing completes, Submit keeps every packet (the client never looks at the "queue full" result), and hardware
decode runs through Vulkan Video / D3D11VA with dav1d behind it.

The end of a stream is its own output, never a flag on a picture — players drop a flagged picture and then wait for the one
they counted on. The film's audio track is a placeholder clock, not sound, and it never reported an end while the player's
finish condition covers every track; it now ends with the picture. Measured on the 6800 XT: a 96-second cutscene plays end
to end (2,833 pictures), and a memory film inserted into a live cutscene hands the scene back 0.24 s after the video end
of stream instead of 35 s.

Every thread dump now names those functions (subsdk0!movie::MediaDecoder::Stop, main!nnMain): the lift's dynsym
tables carry real addresses (31,216 names across the modules), the build writes them next to the exe, and the runtime
renames the map's f_<address> entries.

The whole path — the codec protocol, the audio clock, why an inserted film is harder than a standalone one — is written
down in docs/MEDIA.md, for the next project that has to do this.

Smoother on NVIDIA, and on AMD too (PR #19, @nikolaybutnik)

The GPU now reads a per-submission copy of every pool the CPU writes, so a draw sees the bytes of the frame it belongs to
instead of whatever the CPU wrote next — the flicker, the tearing and the stripes on NVIDIA were all that race. The
defaults are per machine ([nvn] mirror_capture = auto: on when the copies fit, off on an 8 GB laptop), and the clouds
came back once occlusion-query results were written into the capture's copy too.

The cloud sea, and native resolutions (PR #27, @UrsineBear)

The RDNA 2 blue-grey rim where objects meet the cloud sea, and the cloud-sea shimmer in motion, are gone — the same
CPU/GPU byte race, not a shader bug. The page also brings a native 3D resolution override ([xc2] native_res,
native_w, native_h, res_class), 1080p / 1440p / native-4K presets, live FSR switching, a performance HUD and
add-on content discovery when indices.txt is absent.

One defect stays: a thin red edge along a cloud-sea silhouette in the opening battle background. One scene, does not
move, does not affect play — low priority in docs/COMPATIBILITY.md.

A settings page on F1 (PR #27, @UrsineBear)

Two panes, Chinese and English, every option applying and saving to controls.ini: window mode and size, VSync, frame
cap, the upscaler, colour grading, textures, HDR, audio, gamepad, the FPS counter (F10) and fullscreen (F11). Settings
that need a restart say so. docs/SETTINGS.md describes the two settings files and who maintains which layer, and a gate
(tools/ci/check_play_settings.py) fails when a key is read but never written, or the reverse.

Text languages in the launcher

Settings → Game language offers every text language the retail 3.0.1 title supports — eleven, Chinese as Simplified and
Traditional — plus Automatic (follows the Windows language). It writes [system] language and applies at the next start;
the voices stay Japanese and English, as on the console (#26).

Upgrading from v0.1.4

Unzip over the install; saves, settings and the shader cache are kept, and no new Set up is needed. Two things the new
settings page changes on its own:

  • an existing controls.ini moves to factory revision 3, which turns the stale F2 FPS hotkey into the advertised
    F10; a hotkey you rebound yourself stays;
  • the new keys ([fps], [upscale] mode, [latency], [hdr]) get their defaults if the file does not have them.

xc2_rt.dll and the launcher must come from the same package; a launcher from an older package does not know the new keys.

Known issues

  • Add-on content scenes run slower than the main game, and their 4K openings are the heaviest thing in the title.
  • First run compiles pipelines — about 22 seconds with no frame, then never again.
  • Blinking and dialogue flicker (#15): the eyes and the mouth
    jump for a frame when a character blinks or speaks. It is not the upscaler, the jitter or the temporal history (it
    survives turning the upscaler off), so the cause is still unknown.
  • A red edge on the cloud sea in the opening battle background; one scene, cosmetic.

Credits

Pull requests: #19 by @nikolaybutnik (NVIDIA fixes, the mirror
capture), #27 by @UrsineBear (RDNA 2 cloud sea, native
resolutions, the bilingual F1 page).

Reports that shaped it: @Kain2k (#17, and the traces that pinned the film hand-back), @TheSeeOHZee (#25),
@maioro (#18, and the DLC and FSR data), @hy9902 (#20), @ahmadsultan1990 and @tyl-beep (ultrawide),
@rombat (#26), @MorpheusCode117 (Lichii, and the offer to diff the render path).

Upstream: fefw-recomp by Goldoire (GPL-3.0, the runtime this fork is built on), nxrecomp (the lifter),
nxnative (the reference implementation the media work was checked against), AMD FidelityFX (FSR), dav1d,
SDL3, Dear ImGui, libvpx, libvorbis. Licences are in licenses/ and THIRD_PARTY_NOTICES.md.


XC2 NS2 重编译 v0.2.0 —— 基石版本

在 Radeon RX 6800 XT(16 GB)与 RTX 4060 Laptop(8 GB)上实测,两台都是我们自己跑的。 #19 由 @nikolaybutnik 在 5090 与 4060 Laptop 上开发和测量。

NS2 版不是“换了图标的 NS1”。它的过场是 4K AV1;它的回忆短片是叠在实时场景之上播、播完必须把场景交还;
而它的播放器是客机代码,我们调不进去——运行时只负责 nn::codec。这一版主要就是这三件事,加上第一个设置界面和
第一份 N 卡支持。

写在前面。 这次更新一次性加了很多东西——设置界面、原生分辨率、N 卡支持、影片交还——所以难免有我们没测到的缺陷。
碰到请点启动器里的录制一份报告(Play 页或关于页):它会带诊断重启一次游戏,玩到问题再次出现后关掉窗口,日志就会
打包进 work\reports。把那个 zip 附到 issue 里,每一条我们都会看。无论如何,这次更新都是通向正式版的重要基石。

我该下哪个文件?

文件 是什么 需要吗
XC2-package-dist-0.2.0.zip 玩家包:启动器、运行时、提升工具与着色器工具 要 —— 直接用它玩
xc2-launcher-0.2.0-src.zip 启动器源码,给想读或想自己编的人 不用

本版变化

4K 过场,以及“插在场景里”的短片

NS2 版的影片是 3840×2160 AV1,而 SDK 的解码器直接打开 GPU 驱动,重编译到 PC 后走不通。于是 nn::codec 由我们接管:
Acquire 就地解出第一张(而不是交一根没人能完成的 fence)、Submit 收下所有包(客户端根本不看“队列满”那个返回值)、
硬件解码走 Vulkan Video / D3D11VA,dav1d 作为后备。

流的结束是一个独立输出,永远不是画面上的一面旗——播放器会把带结束标志的画面丢掉,然后一直等它“算准”的那张。
影片的音轨是占位时钟、不是声音,而它从不报告结束,播放器的收尾条件却覆盖所有轨;现在它随画面一起收。
6800 XT 实测:96 秒整段过场完整播放(2,833 张);插入实时过场的回忆短片在视频 EOS 后 0.24 秒交还场景,而不是 35 秒。

每一份线程转储现在都能叫出这些函数(subsdk0!movie::MediaDecoder::Stop、main!nnMain):提升产物的 dynsym 表
带真实地址(各模块合计 31,216 个名字),构建时写进 exe 旁边,运行时把 map 里 f_<地址> 的条目改名。

整条实现路径——codec 协议、音频时钟、为什么“叠场景的短片”比独立过场难——写在 docs/MEDIA.md 里,给下一个要做同样
事情的项目参考。

N 卡更加流畅(AMD 同样受益)(PR #19,@nikolaybutnik)

GPU 现在读的是每次提交时的一份池拷贝,一次绘制看到的是它那一帧的字节,而不是 CPU 之后写进去的内容——N 卡上的
闪烁、撕裂、条纹都是这个竞态。默认值按机器分流([nvn] mirror_capture = auto:拷贝放得下才开,8 GB 笔记本不开);
云回来的关键是遮挡查询结果也写进了拷贝。

云海,以及原生分辨率(PR #27,@UrsineBear)

RDNA 2 上物体与云海交界处的蓝灰边、运动中云海的闪动都消失了——是上面同一个字节竞态,不是着色器的错。这一版还带来
原生 3D 分辨率覆盖([xc2] native_res、native_w、native_h、res_class)、1080p / 1440p / 原生 4K 预设、
实时切 FSR、性能 HUD,以及 indices.txt 缺失时的 DLC 自动发现。

仍有一个瑕疵:开场战斗背景的云海有一条红边。只在一个场景、不移动、不影响操作,在 docs/COMPATIBILITY.md 里
标为低优先级。

F1 设置界面(PR #27,@UrsineBear)

双栏、中英双语,每个选项都会应用并保存到 controls.ini:窗口模式与尺寸、垂直同步、帧率上限、超分器、色调、
贴图、HDR、音频、手柄、帧率监控(F10)与全屏(F11)。需要重启的项目会写明。docs/SETTINGS.md 记述两套设置文件、
各自归属,以及“加一个设置项”的五步流程;tools/ci/check_play_settings.py 是配套闸门:某个键只读不写或只写不读,
直接失败。

启动器里的文本语言

“设置 → 游戏语言”提供零售 3.0.1 支持的全部文本语言——十一种,中文按简体、繁体各一条——外加“自动(跟随 Windows
语言)”。写入 [system] language,下次启动生效;语音仍是日/英,与主机一致
(#26)。

从 v0.1.4 升级

覆盖解压即可;存档、设置、着色器缓存都保留,不需要重新 Set up。设置页会自己改两件事:

  • 已有的 controls.ini 升到出厂修订 3,把过期的 F2 帧率热键改成界面所写的 F10;玩家自己改过的键不动;
  • 新键([fps]、[upscale] mode、[latency]、[hdr])若文件里没有,取默认值。

xc2_rt.dll 与启动器必须来自同一个包;旧包的启动器不认识这些新键。

已知问题

  • 附加内容场景比正篇慢,其 4K 开场是全作最重的内容。
  • 首次运行编译管线 —— 约 22 秒无画面,之后不再发生。
  • 眨眼与对白闪烁(#15):角色眨眼或说话时,眼睛和嘴会
    跳一帧。已排除超分、jitter 与时间历史(关掉超分仍然出现),原因未知。
  • 开场战斗背景的云海有一条红边;单...
Read more

XC2 NS2 Recomp v0.1.4

Choose a tag to compare

@weile10000 weile10000 released this 20 Nov 20:29

XC2 NS2 Recomp v0.1.4 — the frame on screen is the frame the game finished

Tested on a Radeon RX 6800 XT and an RTX 4060 Laptop (thank you PJ my friend).

This release closes the three NVIDIA reports — stripes and flicker, tearing, and a black screen after a few seconds — and
gives cutscenes their sound back, in sync with the picture. The three reports turned out to be separate faults, and the
cutscene's silence was a fourth: its audio and the game's own were fighting over one device. The 4K openings now decode on
the GPU by default, and the pad's face buttons follow the Switch's positions. Unzip over your install; saves, settings and
the shader cache are kept.

Early version. Set up and Play are the paths that work end to end; the launcher around them is still being built.

Which file do I download?

file what it is do I need it?
XC2-package-dist-0.1.4.zip the player package: launcher, runtime, the lifter and the shader tools yes — this is the one you play from
xc2-launcher-0.1.4-src.zip the launcher's source, for people who want to read or build it no

What's new

  • Presenting no longer copies a frame the game is still drawing. The window texture is copied into the swapchain image on
    present, and that copy waited on the swapchain's acquire semaphore only. The game's draws are a separate submission, so at
    full frame rate the copy could be ordered ahead of them and the display received a partially written frame — grey and
    yellow stripes, a white or a black flash. On a 4060 Laptop the GPU then fell seconds behind and the device was lost.
    SubmitPrefix now carries the draw timeline of the frame being presented and the copy waits on it, and
    [gfx] frames_in_flight defaults to 1 on NVIDIA. Measured on the 4060 Laptop: 2 and 3 frames in flight corrupt within
    20–90 s, 1 is clean over long runs. #10 @Kain2k,
    #4 @TheSeeOHZee and
    #2 @ffhome may all be this fault; #2 and #4 stay open until their
    reporters confirm.
  • The present mode the launcher writes is the one that is used. The renderer read [gfx] present_mode, and 115 ms later
    the value derived from [display] vsync replaced it, so choosing FIFO produced Immediate — and tearing.
    [gfx] present_mode is the only key that decides now
    (#12 @Kain2k).
  • A controls.ini written before factory revision 1 no longer presents in Immediate. Such a file still carried
    vsync = 0, and the install therefore never used FIFO. Factory revision 2 moves it to 1, once; a value the player set
    stays (#12).
  • A cutscene's audio has a voice of its own. audout (the film player's PCM stream) and the game's nn::audio
    OutputStream shared one XAudio2 sink. The game reports its free space as its buffer size minus that queue, so a film that
    kept the queue deep left the game with 0 free frames and it stopped writing — a silent cutscene; with the queue kept
    shallow the film's writes pushed the game's frames out and its timeline skipped ahead — the sound ran fast. audout now
    opens its own sink, and x2_audio301 is back to the 0.1.3 code, unchanged.
  • The 4K openings decode on the GPU by default. [media] hwdec is on: 30 fps on a 4060 Laptop where the CPU decoders
    managed 8–17. A GPU without the hardware decoder falls back to the CPU path by itself, and hwdec = off still disables
    it.
  • The pad's face buttons answer the Switch's positions. The game lays its Arts out like the Switch pad, so the default
    layout is the Switch one: B at the bottom, A on the right, Y on the left, X at the top. On an Xbox pad the bottom
    button is therefore B and its printed A sits on the right, and a Switch pad maps the same either way. [pad] label_abxy = 1
    in controls.ini switches to the printed letters instead (an Xbox A answers a prompt that says A); the launcher's pad page
    has the same switch (#14 @Kain2k). Factory revision 2 moves an
    existing install to the positional default once, and a layout the player chose stays.
  • A lost device reports the driver's own fault. VK_EXT_device_fault is enabled where the driver offers it; the first
    failed submit logs the driver's fault description and address next to the -4 (issue #10).
  • A 0xD401 at start is retried. The 60 GiB VAMM setup fails on a rare launch; that launch is started again, and each
    attempt gets its own line in the log.
  • Source users: [nvn] fb_debug_hash aims [nvn] fb_debug at one fragment shader (empty reports every binding that
    becomes a self-sampled attachment, capped at 500 lines), and the development link finds libvorbis on its own, so a dev
    build decodes a film's track like the shipped DLL.

Upgrading from v0.1.3

  • Replace the folder; save/ and shader_cache/ can be copied over, and no new Set up is needed.
  • Three defaults change: hardware film decoding is on, the pad layout is by position, and HDR output is off (the film overlay has no HDR10 encode yet). A value the player set is kept.
  • A controls.ini that carries [hdr] mode = auto from 0.1.3 keeps it; delete the line to take the new default.
  • The launcher and the runtime now come from the same commit, and every exe records which one in build.json.

Known issues

  • NVIDIA, the long-session device loss in
    #10
    (@Kain2k, reporting from an RTX 5080): still open. Its
    fault shape differs from the one fixed here; the log carries the driver's own description now, which is what the next
    report needs.
  • Eyes and mouth flicker while a character blinks or speaks
    (#15 @Kain2k): under investigation. This build carries the
    diagnostic for it ([nvn] fb_debug, [nvn] fb_debug_hash), and the issue says what to send.
  • The first frame of a 4K cutscene can flash green and break up for a moment before it settles.
  • The picture still reads softer than the first game's recompilation
    (#9 @UrsineBear): the internal scene is 1280×720, and TAAU is the
    default upscaler because it needs no extra DLL. FSR and DLSS are in the launcher.
  • Cloud-sea shimmer and the blue-grey rim where geometry meets the cloud sea remain, on AMD GPUs only (inside the game's
    own volumetric fog).
  • The DLC campaigns are not optimised yet. A cutscene from the add-on content can still show a few blocky frames
    while the GPU is saturated, and its first seconds stutter while the hardware decoder is created. One decoder per film
    stream is what 0.1.4 fixes (that was the bulk of it); the rest is future work. The base game's own cutscenes are fine.
  • HDR is off by default in 0.1.4 (it used to be auto). The film overlay has no HDR10 encode yet, so on a display
    Windows reports as HDR a cutscene's frame came out green. [hdr] mode = auto or on in nxrt.ini (the launcher's
    video page has the same setting) turns HDR back on for the 3D scene, with that green film frame for now.

Before you press Play

Set up takes 8–15 minutes and it is not hung. It recompiles the game's translation units from your dump, links them,
then translates about 12,150 shader programs; the step list moves the whole time. The first launch after that compiles GPU
pipelines for about 20 seconds (once per driver).

Package

file size sha256
XC2-package-dist-0.1.4.zip 216.7 MB (643.4 MB unpacked) 973EF610FE8513F12B6AF7E28B6B0AAD36706DACA8AF1679681B57ECE475F47B
xc2-launcher-0.1.4-src.zip 0.5 MB F3DCA4DFDC4D1FBBBFFFFA7A466ED253DE91C9B3192A2E4B0D20632FBF2D7B44

The package contains no game files: the executable is built on your machine from your own dump and the shaders are
translated from it. Installation: README.

It does carry FFmpeg (a shared GPL build) for the film's hardware decoders; it is loaded as a library, unmodified, and its
licence text and the source offer are in licenses/FFMPEG-LICENSE.txt and THIRD_PARTY_NOTICES.md.

Credits

  • Goldoire/fefw-recomp — the Switch runtime this project is built on: NVN/NVN2 replay,
    service HLE, the shader pipeline and the exe + DLL split all started there.
  • nxrecomp — the static recompiler that lifts the game's code.
  • Ryujinx (MIT) — the shader translator in the offline harness; SDL3, Vulkan-Headers, VMA and the other vendored
    dependencies are listed in licenses/ in the package.
  • dav1d — the film's video decoder; libvorbis — its sound.
  • @capibawa — nxnative, branch xc2-ns2-profile: the
    four launch switches and the host-side movie/audio takeover this project follows (dm/host/hle_movie.c, hle_audio.c).
  • The reports that shaped this release: @Kain2k (#10,
    #12, #14,
    #15); and the ones still open — @TheSeeOHZee
    (#4), @ffhome (#2),
    @UrsineBear ([#9](#9...
Read more

0.1.3 - Lock render resolution / 锁定渲染分辨率

Choose a tag to compare

@weile10000 weile10000 released this 19 Nov 08:59

XC2 NS2 Recomp v0.1.3 — the picture stops going in and out of focus

A small update with one setting people asked for, and three fixes that make a failed Set up say what is wrong instead of
an error code. Unzip over your install; saves, settings and the shader cache are kept.

Early version. Set up and Play are the paths that work end to end; the launcher around them is still being built.

Which file do I download?

file what it is do I need it?
XC2-package-dist-0.1.3.zip the player package: launcher, runtime, the lifter and the shader tools yes — this is the one you play from
xc2-launcher-0.1.3-src.zip the launcher's source, for people who want to read or build it no

What's new

  • Lock render resolution (Settings → Upscaler). The game lowers its internal resolution by itself when a frame gets
    expensive, which is why the picture slides in and out of focus on the same spot. This holds it at 1280×720, so the
    upscaler always gets the same input. Cost: about 1–2 fps in heavy scenes, and some metal surfaces shimmer slightly.
    Default off.
  • The 4K films play without freezing. A second or two in, the picture used to stop for 7–8 seconds at a time while
    the game itself kept running. The player's per-frame timer was being marked due by a helper thread that gave up the
    first time the timer looked stopped, and never came back. One ticker keeps it due now: no stall above 0.13 s for the
    rest of the film, and the 2.2 s at the start is the game still loading (unchanged).
  • Film sound and picture line up by default: the picture is delayed 110 ms, which is what the console-to-PC audio
    path costs on this device (tune [media] movie_pts_shift_ms if lips are off), and the host AV1 decoder now uses half
    the cores (4–8) for the 4K openings.
  • Set up says why a shader step failed. A headless run that never got as far as drawing used to reach the page as
    "exited with code 1". It now names the reason — most often a GPU driver older than Vulkan 1.3 — and what to do, from
    the run's own log.
  • A run that never drew is no longer recorded as a finished Set up. That is what left a cache of 12,132 programs and
    a black title screen on a machine whose driver was too old; the cache stays as the archive left it, and the step says
    so instead of passing.
  • Start-up failures name the GPU driver and the Vulkan version it reports, for example
    NVIDIA GeForce RTX 3050 reports Vulkan 1.2.175 (driver 576.02): this build needs Vulkan 1.3. No more guessing from a
    bare -9.
  • Set up translates 563 shader programs on the fast path again. The shader translator lost a call-argument patch, so
    those programs fell back to a slower mode (up to six times larger, and much slower to compile). They are back to
    normal size; the same patch also stops an atomic operation from running twice where its result is used once.
  • Source users: the development link finds libvpx on its own (it was missing from build-boot.ps1), and
    [nvn] rt_size_bt prints the game's dynamic-resolution ladder while it moves.

Upgrading from v0.1.2

  • Package users: replace the folder; save/ and shader_cache/ can be copied over. No new Set up is needed.
  • The new cache entries the translator fix produces only arrive on a fresh Set up; an existing cache keeps working as it
    is, so there is no reason to rebuild one.
  • If you had [upscale] lock_render_size in nxrt.ini by hand, the new setting writes the same key.

Known issues

  • The film waits while the game is still loading: 1–20 s of stalls at the start of a CG. Unchanged.
  • The first frame can flash green for a moment on some runs.
  • #9 (@UrsineBear): the picture reads softer than the first
    game's recomp. The internal scene is still 1280×720; "Lock render resolution" makes that steady, it does not raise it.
  • NVIDIA: #2 (RTX 4060 Ti) and
    #4 (RTX 3070) stay open; a test pass on a 4060 laptop is
    planned. #10 (RTX 5080, "stuck loading") is a lost device caused by a stencil sampler the driver does not accept —
    the report line for it is now always on, which is how the next occurrence can be diagnosed.
  • Cloud-sea shimmer and the blue-grey rim where geometry meets the cloud sea remain (inside the game's own volumetric
    fog).
  • Tested on AMD only.

Before you press Play

Set up takes 8–15 minutes and it is not hung. It recompiles the game's translation units from your dump, links them,
then translates about 12,150 shader programs; the step list moves the whole time. The first launch after that compiles GPU
pipelines for about 20 seconds (once per driver).

Package

file size sha256
XC2-package-dist-0.1.3.zip 158.8 MB (498.8 MB unpacked) 823C036621950441E5BB345F948512A7C136B380C32D1151D57216C495A497D1
xc2-launcher-0.1.3-src.zip 0.5 MB 0D96BF4F5BE959CCB1FCA2E5ECCC243081CEB95CA6FB062F27B2BDE2FD8877B8

The package contains no game files: the executable is built on your machine from your own dump and the shaders are
translated from it. Installation: README.

Credits

  • @capibawa — nxnative, branch xc2-ns2-profile: the
    four launch switches and the host-side movie/audio takeover this project follows (dm/host/hle_movie.c, hle_audio.c).
  • Goldoire/fefw-recomp — the Switch runtime this project is built on: NVN/NVN2 replay,
    service HLE, the shader pipeline and the exe + DLL split all started there.
  • nxrecomp — the static recompiler that lifts the game's code.
  • dav1d — the film's video decoder; libvorbis — its sound.
  • The reports that shaped this release: @Kain2k (#10),
    @fmalust (#11); and the ones still open — @TheSeeOHZee
    (#4), @ffhome (#2),
    @UrsineBear (#9).
  • Ryujinx (MIT) — the shader translator in the offline harness; SDL3, Vulkan-Headers, VMA and the other vendored
    dependencies are listed in licenses/ in the package.

XC2 NS2 Recomp v0.1.3 —— 画面不再忽清忽糊

一次小更新:一个大家要的开关,外加三处"出错时说人话"的修复。解压覆盖安装即可,存档、设置、着色器缓存都保留。

早期版本。 Set up 和 Play 是能完整走通的路径,围绕它们的启动器还在做。

我该下哪个文件?

文件 是什么 需要吗
XC2-package-dist-0.1.3.zip 玩家包:启动器、运行时、重编译器和着色器工具 要 —— 玩的就是这个
xc2-launcher-0.1.3-src.zip 启动器源码,想读或想自己编的人用 不用

本版变化

  • 锁定渲染分辨率(设置 → 升采样)。游戏会在某帧变贵时自己降内部分辨率,所以同一个位置看起来会忽清忽糊。这个
    开关把它钉在 1280×720,升采样器的输入就恒定了。代价:重场景约低 1–2 帧,部分金属表面轻微闪烁。默认关。
  • 4K 过场不再卡住。以前放一两秒后画面会停 7–8 秒,游戏本体照常在跑。原因是播放器的逐帧定时器由一个辅助线程从宿主"推"到期,
    而那个线程第一次看到定时器"已停"就退出了,再也没回来。现在改成一个常驻 ticker:整段片子里最长间隔 0.13 秒,开头那 2.2 秒是
    游戏还在加载(老问题,未变)。
  • 音画默认对上了:画面整体延后 110 ms(这是这台机器上 XAudio2 队列加设备缓冲的代价;口型不对就调
    [media] movie_pts_shift_ms),4K 过场的宿主 AV1 解码线程改成"核数一半、4–8 个"。
  • Set up 会说清 shader 那步为什么失败。一次"连画面都没画出来"的无窗口运行,过去在页面上只是一句
    "exited with code 1";现在它会从那次运行自己的日志里读出原因(最常见是显卡驱动老于 Vulkan 1.3)和该怎么办。
  • 没画出东西的运行不会再被记成"装好了"。就是这一条让驱动过旧的机器留下 12,132 个程序的缓存和黑屏标题;
    现在缓存保持档案翻译的那一半,步骤直接报失败。
  • 启动失败会点名显卡和它报的 Vulkan 版本,例如
    NVIDIA GeForce RTX 3050 reports Vulkan 1.2.175 (driver 576.02): this build needs Vulkan 1.3,不用再从一个光秃秃的
    -9 猜。
  • Set up 重新把 563 个着色器程序放回快速路径。着色器翻译器丢了一个 call-argument 补丁,这些程序退回到慢速模式
    (最大到 6 倍体积、编译也慢得多)。现在体积恢复正常;同一个补丁还修掉了"结果只用一次时原子操作被执行两遍"。
  • 源码用户:开发链接自己会找 libvpx(build-boot.ps1 之前漏了);[nvn] rt_size_bt 会打出游戏动态分辨率的
    档位跳动。

从 v0.1.2 升级

  • 包用户:替换文件夹即可,save/ 和 shader_cache/ 可以拷过去。不需要重新 Set up。
  • 翻译器修复带来的新缓存条目只会在全新 Set up 时出现;已有缓存照常能用,没有理由重建。
  • 如果你之前在 nxrt.ini 里手写过 [upscale] lock_render_size,新开关写的是同一个键。

已知问题

  • 过场动画开始时游戏还在加载:CG 开头 1–20 秒的停顿,未变。
  • 某些运行第一帧会闪一下绿色。
  • #9(@UrsineBear):画面比一代重编译软。内部场景仍然是
    1280×720;"锁定渲染分辨率"只是让它稳定,并没有提高它。
  • N 卡:#2(4060 Ti)和
    #4(3070)仍开着,计划用 4060 笔记本集中测一次。
    #10(5080,"卡在 Loading")是设备丢失,起因是一个驱动不接受的模板采样器 —— 那行报告现在默认记录,
    下一次出现就能定位。
  • 云海闪烁、几何与云海交界处的蓝灰边仍然存在(在游戏自己的体积雾里)。
  • 只在 AMD 上测过。

开始之前

Set up 要 8–15 分钟,它没有卡死。 它会用你自己的 dump 重编译游戏的编译单元、链接,然后翻译约 12,150 个着色器
程序;步骤列表一直在动。之后第一次启动会编译 GPU 管线,约 20 秒(每个驱动一次)。

包内容

文件 大小 sha256
XC2-package-dist-0.1.3.zip 158.8 MB (498.8 MB unpacked) 823C036621950441E5BB345F948512A7C136B380C32D1151D57216C495A497D1
xc2-launcher-0.1.3-src.zip 0.5 MB 0D96BF4F5BE959CCB1FCA2E5ECCC243081CEB95CA6FB062F27B2BDE2FD8877B8

包里没有任何游戏文件:可执行文件是在你的机器上用你自己的 dump 编出来的,着色器也是从它翻译的。安装见
README。

致谢

  • @capibawa —— nxnative 的 xc2-ns2-profile 分支:
    本项目沿用的四个启动参数与宿主端影片/音频接管(dm/host/hle_movie.c、hle_audio.c)。
  • Goldoire/fefw-recomp —— 本项目的运行时基座:NVN/NVN2 重放、服务层 HLE、
    着色器管线、exe + DLL 的拆分都源自那里。没有那个项目,就没有这次重编译。
  • nxrecomp —— 把游戏代码举升出来的静态重编译器。
  • dav1d —— 影片视频解码;libvorbis —— 影片声音。
  • 本版修复对应的报告者:@Kain2k(#10)、
    @fmalust(#11);尚未解决的
    @...
Read more

0.1.2 - 4K cutscenes play / 4K 过场动画能播了

Choose a tag to compare

@weile10000 weile10000 released this 18 Nov 15:36

XC2 NS2 Recomp v0.1.2 — the 4K cutscenes play

Since v0.1.1 the film path is finished: the 4K openings play at 30 fps with lip sync, and the retail build's sound comes
out. A small update: unzip over your install, saves and settings are kept.

Early version. Set up and Play are the paths that work end to end; the launcher around them is still being built.
The film now waits for the game while the game is still loading (see Known issues).

Which file do I download?

file what it is do I need it?
XC2-package-dist-0.1.2.zip the player package: launcher, runtime, the lifter and the shader tools yes — this is the one you play from
xc2-launcher-0.1.1-src.zip the launcher's source; unchanged in 0.1.2 no

What's new

  • The 4K cutscenes play. The Golden Country opening and the other 4K films (AV1 3840×2160, 30 fps) used to freeze at
    1.3 s with the sound continuing; they now play at 30 fps with lip sync, at full resolution.
  • The film's sound is decoded on the host (libvorbis). The picture no longer stops the moment the audio track opens,
    and the films have their sound back.
  • Retail 3.0.1 sound output: the game's BGM, effects and voices now play through a host output path (XAudio2), and Opus
    voice is decoded in software instead of waiting for a hardware Opus the port does not have.
  • Set up says why a shader step failed, printing the lines that failed instead of one word (reported in #5 by @bobbymalaysia).
  • One-command reports: tools\python.exe tools\report.py needs no PowerShell 7 and no .NET; it packs the log, the
    validation output and your settings into one zip.
  • A frozen game can be stopped with its report kept from the launcher.
  • Game language follows the setting (Simplified Chinese by default) and is handed to the game at start.
  • DLC is found in the package you extracted, not in a list only a developer machine had (#7, @Lhw-Arthas).
  • Package and launcher hardening: the package ships only the run scripts a player may be asked to run, and the launcher
    refuses to run when it is older than its frontend (the build that opened to ERR_CONNECTION_REFUSED).
  • Fixes: on NVIDIA the stencil plane is no longer offered to a float sampler, the black screen and lost device of #4 (@TheSeeOHZee) and #2 (@ffhome) (undefined behaviour in Vulkan, which AMD
    happens to tolerate); the freeze dump now ends with the last draws the replay submitted; the log says which config file
    was read and where each language value came from.
  • Source users: libvpx is found through VCPKG_ROOT first, then the two known installs.

Upgrading from v0.1.1

  • Package users: replace the folder; save/ and shader_cache/ can be copied over. No new Set up is needed — only the
    runtime changed.
  • Three film settings are now defaults: [media] video_decoder = library, movie_timer_poke = 1, movie_pts_shift_ms = 100.
    If lips are visibly off on your audio device, tune movie_pts_shift_ms in nxrt.ini (lower = video earlier).

Known issues

  • The film waits while the game is still loading: 1–20 s of stalls at the start of a CG, and an occasional audio drop
    in that window. The film itself is fine once the game has finished loading.
  • The first frame can flash green for a moment on some runs.
  • The A/V delay defaults to 100 ms; if lips are visibly off, tune [media] movie_pts_shift_ms in nxrt.ini.
  • #9 (@UrsineBear): the picture reads softer than the first game's recomp; under investigation.
  • Tested on AMD only. NVIDIA and Intel are untested; the NVIDIA stencil fix above came from #2 and #4, and more reports
    help.
  • Internal rendering is capped at 1440p by the game's own chain.
  • Cloud-sea shimmer and the blue-grey rim where geometry meets the cloud sea remain (inside the game's own volumetric fog).

Before you press Play

Set up takes 8–15 minutes and it is not hung. It recompiles the game's translation units from your dump, links them,
then translates about 12,150 shader programs; the step list moves the whole time. The first launch after that compiles GPU
pipelines for about 20 seconds (once per driver).

Package

file size sha256
XC2-package-dist-0.1.2.zip 158.9 MB (498.8 MB unpacked) DDC16285A35DCAD0071650AFF9D6CD6477AB8FFEB04431A044C918DF266A7A5E
xc2-launcher-0.1.1-src.zip 0.5 MB 14D9C1A122B4C70988D4373B64EBC67762689CEAF524F5D3B84E0C2A791E46DE (unchanged)

The package contains no game files: the executable is built on your machine from your own dump and the shaders are
translated from it. Installation: README.

Credits

  • @capibawa — nxnative, branch xc2-ns2-profile: the
    four launch switches and the host-side movie/audio takeover that this release follows (dm/host/hle_movie.c, hle_audio.c).
  • Goldoire/fefw-recomp — the Switch runtime this project is built on: NVN/NVN2 replay,
    service HLE, the shader pipeline and the exe + DLL split all started there.
  • nxrecomp — the static recompiler that lifts the game's code.
  • dav1d — the film's video decoder; libvorbis — its sound.
  • The reporters whose issues shaped this release: @TheSeeOHZee (#4), @ffhome (#2), @bobbymalaysia (#5), @Lhw-Arthas (#7) and @UrsineBear (#9).
  • Ryujinx (MIT) — the Maxwell shader translator in the offline harness; SDL3, Vulkan-Headers, VMA and the other vendored
    dependencies are listed in licenses/ in the package.

XC2 NS2 Recomp v0.1.2 —— 4K 过场动画能播了

自 v0.1.1 以来,影片这条链路补齐了:4K 开场 CG 以 30fps 正常播放、音画同步,零售版的游戏声音也能正常出来。
小更新:覆盖安装目录即可,存档与设置保留。

早期版本。 Set up 和 Play 是能端到端跑通的两条路;启动器周边还在建设中。
CG 起播时如果游戏还在加载,影片会等加载(见“已知问题”)。

我该下哪个文件?

文件 是什么 需要吗
XC2-package-dist-0.1.2.zip 玩家包:启动器、运行时、举升器和着色器工具 需要 —— 就用它玩
xc2-launcher-0.1.1-src.zip 启动器源码;0.1.2 未改动 不需要

本版变化

  • 4K 过场动画能播了:黄金之国开场等 4K 影片(AV1 3840×2160,30fps)以前会在 1.3 秒冻住、声音继续走;
    现在 30fps 正常播放、音画同步,保持全分辨率。
  • 影片声音由本机解码(libvorbis):音频轨打开时画面不再停住,影片恢复声音。
  • 零售 3.0.1 版的声音输出:BGM、音效、语音现在能正常出来(宿主 XAudio2 输出);Opus 语音改用软件解码,
    不再等待移植版没有的硬件 Opus。
  • Set up 失败会说原因:着色器步骤出错时直接打印失败的那几行(#5,@bobbymalaysia)。
  • 一键报告:tools\python.exe tools\report.py 不需要 PowerShell 7、不需要 .NET,把日志、校验输出和设置打成一个 zip。
  • 卡死的游戏可以停下并保留报告(启动器里)。
  • 游戏语言跟随设置(默认简体中文),启动时交给游戏。
  • DLC 从你自己提取的安装包里找,不再依赖只有开发机才有的列表(#7,@Lhw-Arthas)。
  • 包与启动器加固:发布包只带玩家可能用到的运行脚本;启动器比自己的前端旧时拒绝运行(就是打开后
    ERR_CONNECTION_REFUSED 的那版)。
  • 修复:NVIDIA 上不再把 stencil 平面提供给浮点采样器,#4(@TheSeeOHZee)与 #2(@ffhome)的黑屏/设备丢失(Vulkan 里的未定义行为,A 卡恰好容忍);
    冻结转储现在会以最后提交给 GPU 的 draws 结尾;日志会说明读的是哪个配置文件、语言值从哪来。
  • 源码用户:libvpx 先按 VCPKG_ROOT 找,再找两个已知安装位置。

从 v0.1.1 升级

  • 包用户:替换目录即可,save/ 和 shader_cache/ 可以拷过去;只有运行时变了,不需要重新 Set up。
  • 三项影片设置已成为默认值:[media] video_decoder = library、movie_timer_poke = 1、movie_pts_shift_ms = 100。
    如果你的声卡上明显不同步,改 nxrt.ini 里的 movie_pts_shift_ms(数值越小视频越早)。

已知问题

  • 游戏还在加载时,影片会等加载:CG 开头约 1–20 秒的停顿,这段时间偶发丢一点声音。加载结束后影片本身正常。
  • 个别运行首帧会闪一下绿色(不到 1 秒)。
  • 音画补偿默认 100ms;明显不同步时改 [media] movie_pts_shift_ms。
  • #9(@UrsineBear):画面比 1 代重编译版偏软,仍在排查。
  • 目前只在 AMD 上测过:N 卡、I 卡未验证;上面那条 N 卡修复来自 #2 与 #4 的报告,更多反馈很有帮助。
  • 游戏自身链路把内部渲染上限锁在 1440p。
  • 云海闪烁、几何与云海交界的蓝灰描边仍在(在游戏自己的体积雾里)。

开始之前

Set up 要 8–15 分钟,它没有卡死。 它用你的 dump 重编游戏的翻译单元、链接,再翻译约 12,150 个着色器程序;
页面上的步骤表一直在动。之后第一次启动还要编译 GPU 管线,约 20 秒,每个驱动一次。

包内容

文件 大小 sha256
XC2-package-dist-0.1.2.zip 158.9 MB(解压 498.8 MB) DDC16285A35DCAD0071650AFF9D6CD6477AB8FFEB04431A044C918DF266A7A5E
xc2-launcher-0.1.1-src.zip 0.5 MB 14D9C1A122B4C70988D4373B64EBC67762689CEAF524F5D3B84E0C2A791E46DE(未改动)

包里不含游戏文件:exe 在你的机器上从你的 dump 构建,着色器从它翻译。安装见
README。

致谢

Read more

0.1.1 — first playable package / 首个可玩发布

Choose a tag to compare

@weile10000 weile10000 released this 17 Nov 22:33

XC2 NS2 Recomp v0.1.1 — first playable package

Since v0.1.0 (source only), the player's path is complete: unzip, point it at your own dump, press Set up, and
press Play.

Package rebuilt 2026-11-18. It now carries spirv-val.exe (SPIRV-Tools). Without it, Set up failed on any
machine that has no Vulkan SDK installed — the shader harness spawns it once per translated shader.

Early version. The setup and Play paths are the two that are meant to work end to end. Much of the
launcher around them is not built yet: several settings are placeholders that change a value and nothing else,
pages are still to come, and bugs will show up. Expect the package to keep changing between releases.

Which file do I download?

file what it is do I need it?
XC2-package-dist.zip the player package: launcher, runtime, the lifter and the shader tools, plus a README.txt that repeats this yes — this is the one you play from
xc2-launcher-0.1.1-src.zip the launcher's source (Rust + JS), for reading or building it yourself no — it cannot play anything on its own

There is nothing else to download. The package holds no game files.

What's new

  • Install from your own dump — a .nup package or a folder holding exefs/ and romfs/. A .nup is
    unpacked into base/{exefs,romfs}, updates/ and dlc/<title id>/romfs, and setup runs from there. No game
    data ships either way.
  • Play starts the game from the install itself — no more tools\run\play-301.cmd looked up above the exe,
    which a package does not have (Play used to fail there).
  • DLC loads: ingest now links the dump's dlc/ to game\dlc-301; all seven add-ons are served.
  • DLC openings play: the 4K AV1 .webm files decode through dav1d on the host, 59.9 fps (Torna opens with
    one).
  • Picture fixes
    • the deferred lighting pass gets the front-face convention it is drawn with — without it the whole frame
      stays at the G-buffer's albedo, which reads as black textures
    • the light-list registration mask is derived for every shader, not the built-in eleven — the black
      rectangle at the stairs
    • present_ahead = 0: the guest no longer runs a frame ahead of the replay
  • Shader cache: 12,132 programs from the archive + 12 compute ones from the shader containers + the 5 that
    exist in no file (collected by one short headless run) = 12,149. After each session the launcher translates
    whatever the game asked for and the cache lacked, so new areas fill in instead of staying black.
  • Game language is a setting (Simplified/Traditional Chinese, English, Japanese), not a pinned default.
  • Logs no longer carry the account name: the home folder is written as %USERPROFILE%.
  • Import saves. A button on the play page copies the game's own save files (bf2savefile.sav, bf2option.sav,
    irasavefile.sav) from another install or from the original XC2 Recomp into this one; nothing is converted.
  • A freeze now names the draws it hung on. [nvn] draw_ring (32 by default) keeps the last draws the replay
    submitted and the freeze report ends with them, which is what a GPU hang otherwise leaves no trace of.
  • VP9 movies play. The runtime now links libvpx (VP9/VP8 decoders, 49 imports); before this every VP9 movie
    was dropped with "built without libvpx", while AV1 titles (dav1d) were unaffected.
  • DLC loads in a package. The add-on list was read from a file only a developer machine had, so a package
    install was told it had none: no Torna entry in the menu, and an imported save said its add-on content had been
    deleted. The runtime now finds the content a package extracts on its own.
  • Unzipping a new package over an old install now takes effect. Play copies runtime\xc2_rt.dll over the copy
    next to the exe when it is newer; before this a fixed runtime could sit unused while everything it added looked
    broken.
  • NVIDIA: the device loss is fixed. The stencil plane bound to a float sampler is undefined behaviour in Vulkan,
    and NVIDIA acts on it where AMD happens to tolerate it (measured on an RTX 4070: gone at 14 s, no validation
    error, main menu unreachable). The runtime now defaults [nvn] ds_stencil_bits = 0 on NVIDIA, which is what
    turns that crash into a playable game; AMD keeps the console's semantics.
  • "Output resolution" now sizes the window. It used to write only what the console reports to the game; the
    window is created before any settings file is read. Picking 1920x1080 now gives a 1920x1080 window and swapchain.

Upgrading from v0.1.0

  • Package users: replace the folder; your saves (save/) and the cache (shader_cache/) can be copied over.
  • Checkout users: git pull, then rebuild as in docs/BUILD.md. An existing cache is kept; the next Set up
    adds the 12 container compute programs and the 5 runtime ones.

Known issues

  • Tested on AMD only. The development machine has a single AMD card, so that is the GPU everything was run
    on; NVIDIA and Intel are untested. The one NVIDIA report so far (issue #2, RTX 4060 Ti) ended in a black screen
    after a lost device. If you have an N or I card, a report helps a lot.
  • Internal rendering is capped at 1440p by the game's own chain.
  • The first visit to a new area can briefly miss shaders; they are translated when you exit, so the next
    launch has them.
  • Cloud-sea shimmer and the blue-grey rim where geometry meets the cloud sea remain (inside the game's own
    640×360 volumetric fog).

Before you press Play

Set up takes 8–15 minutes and it is not hung. It recompiles the game's 537 translation units from your dump,
links them, then translates about 12,150 shader programs; the step list on the page and the log below it move the
whole time. A slower machine takes longer. The first launch after that compiles GPU pipelines for about 20
seconds — one-time, per driver.

Package

file size sha256
XC2-package-dist.zip 154.8 MB (491.7 MB unpacked) 308A841187DB9B182824B5756C020FC9128B4D7E03FAE00201EE9871DD2D1AE2
xc2-launcher-0.1.1-src.zip 0.5 MB 14D9C1A122B4C70988D4373B64EBC67762689CEAF524F5D3B84E0C2A791E46DE

The package contains no game files: the executable is built on your machine from your own dump and the
shaders are translated from it. Installation: README.

Credits

  • Goldoire/fefw-recomp — the Switch runtime this project is built
    on: NVN/NVN2 replay, service HLE, the shader pipeline and the exe + DLL split all started there.
  • nxrecomp — the static recompiler that lifts the game's code.
  • Ryujinx (MIT) — the Maxwell shader translator in the offline harness.
  • SDL3, Vulkan-Headers, VMA, dav1d and the other vendored dependencies — see licenses/ in the package.

XC2 NS2 Recomp v0.1.1 —— 首个可玩发布

自 v0.1.0(只有源码)以来,玩家侧的链路补齐了:解压 → 指向自己的 dump → Set up → Play。

本版变化

  • 从自己的 dump 安装:.nup 包,或者 exefs/ + romfs/ 目录——.nup 会被解成 base/{exefs,romfs}、updates/、dlc/<title id>/romfs,再从那里安装。两条路都行,包里不含任何游戏数据。
  • Play 直接从安装目录起游戏:不再去 exe 上面找 tools\run\play-301.cmd(包里没有,Play 会直接失败)。
  • DLC 能加载:ingest 现在把 dump 的 dlc/ 链到 game\dlc-301,七个追加内容全部可用。
  • DLC 影片能播:4K AV1 .webm 走主机的 dav1d 解码,59.9 fps(黄金国伊拉开场就是这一段)。
  • 三处画面修复
    • 正面约定:延迟光照那一笔被剔除时,整帧停在 G-buffer 上,看起来就像「贴图全黑」
    • 光照列表的掩码对每个着色器重建,而不是内置的 11 个——楼梯那块黑矩形
    • present_ahead = 0:guest 不再跑到 replay 前面
  • 着色器缓存:档案 12,132 + 容器里的 12 个 compute + 5 个任何文件里都没有的(一次无头运行收集)= 12,149。每次退出后,启动器会把游戏请求过、缓存里没有的块翻译进去,新场景不再一直黑。
  • 游戏语言可在设置里选(简中 / 繁中 / English / 日本語),不再写死。
  • 日志不再带账号名:家目录写成 %USERPROFILE%。

从 v0.1.0 升级

  • 包用户:换个目录即可;save/ 和 shader_cache/ 可以拷过去。
  • 源码用户:git pull 后按 docs/BUILD.md 重编。已有缓存保留,下一次 Set up 会补上容器那 12 个 compute 和 5 个运行时块。

已知问题

  • 目前只在 AMD 上测过:开发机只有一张 A 卡,所以只在这张卡上验证过,N 卡和 I 卡都没测。唯一一份 N 卡报告(issue #2,RTX 4060 Ti)以设备丢失、画面全黑告终。如果你用的是 N 卡或 I 卡,欢迎反馈,对我们帮助很大。
  • 游戏自身链路把内部渲染上限锁在 1440p。
  • 第一次进新区域可能短暂缺着色器;退出后会翻译,下一次启动就有。
  • 云海闪烁、几何与云海交界的蓝灰描边仍在(在游戏自己的 640×360 体积雾里)。

开始之前

Set up 要 8–15 分钟,它没有卡死。 它用你的 dump 重编游戏的 537 个翻译单元、链接,再翻译约 12,150 个着色器程序;页面上的步骤表和下面的日志一直在动。机器慢会更久。之后第一次启动还要编译 GPU 管线,约 20 秒,每个驱动一次。

包内容

文件 大小 sha256
XC2-package-dist.zip 154.8 MB(解压 491.7 MB) 308A841187DB9B182824B5756C020FC9128B4D7E03FAE00201EE9871DD2D1AE2
xc2-launcher-0.1.1-src.zip 0.49 MB 14D9C1A122B4C70988D4373B64EBC67762689CEAF524F5D3B84E0C2A791E46DE

包里不含游戏文件:exe 在你的机器上从你的 dump 构建,着色器从它翻译。安装见 README。

致谢

  • Goldoire/fefw-recomp —— 本项目的运行时基座:NVN/NVN2 重放、服务层 HLE、着色器管线、exe + DLL 的拆分都源自那里。没有那个项目,就没有这次重编译。
  • nxrecomp —— 把游戏代码举升出来的静态重编译器。
  • Ryujinx(MIT)—— 离线 harness 里的 Maxwell 着色器翻译器。
  • SDL3、Vulkan-Headers、VMA、dav1d 等 vendored 依赖,见包里的 licenses/。

XC2 NS2 Recomp v0.1.0 — first public release / 首个公开版本

Choose a tag to compare

@weile10000 weile10000 released this 16 Nov 16:00

XC2 NS2 Recomp v0.1.0 — first public release

This release lands on the one-month birthday of the model that helped build it — happy birthday, Big Fat Fish.

Static recompilation of Xenoblade Chronicles 2 — Nintendo Switch 2 Edition (retail 3.0.1) to native Windows +
Vulkan: the game's NSO modules are lifted to C++ and linked against a Switch runtime that replays NVN/NVN2 on
Vulkan.

Source and build scripts only. No game data, no prebuilt binaries — building needs your own dump.

Highlights

Frame rate 59–60 fps in the port and most areas; 43–52 fps in the open plain, the heaviest area
Resolution 1080p / 1440p / 4K — 4K costs nothing extra: the internal chain is fixed at 720p → 1440p and the last step is a blit
Upscaling TAAU by default; FSR 4.1.2 and FSR 3.1.6 selectable at run time
VRR opt-in ([gfx] present_mode = fifo_relaxed): even pacing instead of quantised frames
HDR HDR10 output, verified on an HDR display
Stability no crashes in long sessions; 6 FidelityFX contexts across resolution steps, 0 crashes
60 fps tools\run\play-301.cmd -60

What you need

  • Windows 10/11 x64, a Vulkan 1.3 GPU (AMD RDNA 2 tested, NVIDIA untested), 16 GB of RAM
  • your own 3.0.1 dump (ExeFS + romfs) in xc2\game\xc2ns301\
  • the toolchain: VS Build Tools, LLVM/clang-cl, CMake + Ninja, .NET 10 SDK, Vulkan SDK, Python 3.12,
    PowerShell 7+
  • disk: the romfs is 25.6 GB, and the build needs roughly as much again

Build steps: docs/BUILD.md.

Known issues

  • Blue-grey rim where objects meet the cloud sea: it lives inside the game's own 640×360 volumetric fog; the
    platform-level suspects were tested and excluded
  • Cloud-sea shimmer in motion: the game dithers its fog at 640×360 and relies on its neural upscaler on console
  • add-on content is served from the directory in NXRT_AOC_DIR (the 3.0.1 launcher points it at game/dlc-301); the DLC files are yours, not shipped here
  • internal rendering is capped at 1440p
  • the first run compiles pipelines: about 22 seconds with no frame
  • two hand-made shader patches are game-derived and therefore not distributed, so a build from this repository
    alone keeps two fog/UV defects

Full list: docs/COMPATIBILITY.md.

Licence and legal notice

The project's own code is GPL-3.0-or-later; third-party components keep their own licences, listed in
THIRD_PARTY_NOTICES.md. No
licence here grants any right to Nintendo's game
: the lifted code the build produces from your own dump is not
covered by this licence and is not distributed.

This is an independent, non-commercial fan project. It is not affiliated with, sponsored by, or endorsed by
Nintendo. Xenoblade Chronicles, Xenoblade Chronicles 2, Nintendo Switch and Nintendo Switch 2 are
trademarks of Nintendo; Xenoblade Chronicles 2 was developed by MONOLITH SOFT.

Credits


中文

本版本发布日恰逢参与构建它的模型满月——满月快乐,大肥鱼。

《异度之刃 2(Nintendo Switch 2 Edition)》3.0.1 零售版的静态重编译:把游戏的 NSO 模块整体举升成
C++,链接一个自实现的 Switch 运行时,在 Windows + Vulkan 上运行。

仓库只包含源码与构建脚本。 不含游戏数据、不含预编译产物——构建需要你自己的游戏 dump。

亮点

帧率 港口与多数区域 59–60 fps;大平原(最重场景)43–52 fps
分辨率 1080p / 1440p / 4K,4K 几乎零成本(内部链路固定 720p→1440p,最后一步是 blit)
升采样 默认 TAAU;FSR 4.1.2 / FSR 3.1.6 可在运行时切换
VRR 可选([gfx] present_mode = fifo_relaxed),帧率不整、节奏连续
HDR HDR10 输出,已在 HDR 显示器上验证
稳定性 长会话 0 崩溃;动态分辨率下 6 个 FidelityFX 上下文,0 崩溃
60 fps tools\run\play-301.cmd -60

需要什么

  • Windows 10/11 x64,Vulkan 1.3 显卡(AMD RDNA 2 实测,NVIDIA 未测),16 GB 内存
  • 你自己的 3.0.1 游戏 dump(ExeFS + romfs),放在 xc2\game\xc2ns301\
  • 工具链:VS Build Tools、LLVM/clang-cl、CMake + Ninja、.NET 10 SDK、Vulkan SDK、Python 3.12、PowerShell 7+
  • 磁盘:romfs 25.6 GB,构建期间再留约 30 GB

已知问题

  • 角色/物体与云海交界处的蓝灰色描边:在游戏自己的 640×360 体积雾层里,平台层可疑项已逐项排除
  • 云海在运动中的闪烁:游戏在 640×360 上抖动雾,主机端靠神经网络升采样
  • 追加内容(DLC)由 NXRT_AOC_DIR 指向的目录提供(3.0.1 启动器指向 game/dlc-301),DLC 文件由你自备,不在仓库里
  • 内部渲染上限 1440p
  • 首次运行会编译管线,约 22 秒无画面
  • 两个手写着色器补丁是游戏衍生物,不随仓库分发,纯仓库构建会保留两处雾/UV 缺陷

许可与声明

本项目自身代码采用 GPL-3.0-or-later;第三方组件沿用各自许可,见 THIRD_PARTY_NOTICES.md。
本许可不包含对任天堂游戏的任何授权:构建产物(含举升后的游戏代码)不在本许可范围内,也不分发。

本项目是独立的非商业粉丝项目,与任天堂没有任何关联,也未获得任天堂的认可。《异度之刃 2》、Nintendo Switch
与 Nintendo Switch 2 是任天堂的商标;《异度之刃 2》由 MONOLITH SOFT 开发。

致谢