Read-only copy of github.com/Praisser/DarlingLucia · A Port For Running Xbox Title On Pc
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mohammed Wasif Ahmed 211a60227c
Fix DarlingLucia launcher executable selection
Resolve the release executable before checking the packaged fallback so CMD expands the current runner path. Keep VICTORY_RUNNER as the explicit override.

Refs #1
2026-12-05 15:23:25 +05:30
apps/victory
crates
.gitattributes
.gitignore
.victory-root
Cargo.lock
Cargo.toml
LICENSE
Play-DarlingLucia.cmd
README.md
rust-toolchain.toml

DarlingLucia

Native performance overhaul fork of VIctory, built for high native frame rates, low submit-thread latency, and low VRAM/RAM usage (8 GB VRAM / 16 GB RAM safe).

No game files, proprietary SDK DLLs, or assets are included. Supply your own Xbox Series dump. Licensed under GPL-3.0-or-later (LICENSE).


Requirements

  • Windows 10/11 x64
  • CPU with AVX2
  • Direct3D 12 GPU with Shader Model 6.6 and Mesh Shader support (8 GB+ VRAM recommended)
  • Rust toolchain (pinned in rust-toolchain.toml) + MSVC C++ Build Tools & Windows SDK

1. Build

cargo build --release --locked -p victory

Produces target\release\victory.exe.


Translate all game shaders into the cache before your first launch so the game does not stall compiling shaders during gameplay (takes a few minutes, once per build):

$env:VICTORY_GAME_DIR = 'D:\Path\To\YourDump'
.\Play-DarlingLucia.cmd shaders

(Always run shaders through Play-DarlingLucia.cmd shaders rather than calling victory.exe shaders directly — shader cache keys include translator flags such as VICTORY_WAVE_PAIRS and VICTORY_AMBIENT*, and the launcher guarantees the cache directory and flags match 100%.)

Optional: after an initial run with $env:VICTORY_PIPELINE_BOOK = '1', you can also pre-warm D3D12 driver pipelines ahead of benchmarking with .\Play-DarlingLucia.cmd warm (also let the first launch settle its driver DXCache before capturing benchmark numbers).


3. Run

$env:VICTORY_GAME_DIR = 'D:\Path\To\YourDump'
# Optional (NVIDIA GPUs — enables DLSS Quality Preset K):
# $env:VICTORY_STREAMLINE_DIR = 'D:\Path\To\Streamline\bin\x64'
.\Play-DarlingLucia.cmd

Or pass the dump folder directly:

.\Play-DarlingLucia.cmd "D:\Path\To\YourDump"

Default Settings (PortWatch Lab Compliant)

  • Output / Render: 4K (3840x2160) output, 1440p (2560x1440, 67% / Quality) internal render
  • Upscaling: NVIDIA DLSS Quality (Preset K) when VICTORY_STREAMLINE_DIR is set; otherwise stock Series X 1440p → 4K (66.7%) temporal upscaling (works on AMD, NVIDIA, Intel; keep RSR/NIS off)
  • Ray Tracing: OFF by default for highest native FPS (to test with Ray Tracing ON, set $env:VICTORY_RT_RESOLVE = '1' and $env:VICTORY_ACTIVATE_RAYS = '1' before running Play-DarlingLucia.cmd)
  • Frame Generation: Strictly OFF (VICTORY_FRAMEGEN=0, VICTORY_FSR_FRAMEGEN=0)
  • Process name (for frame-time logs): victory.exe
  • Shader cache: %LOCALAPPDATA%\VIctory\cache-darlinglucia (override with VICTORY_CACHE_DIR)
  • 16 GB+ VRAM GPUs (optional): Set $env:VICTORY_TILED_MB = '4096' (default 2048 fits 8 GB VRAM)

Key Optimizations Included

  • Parallel D3D12 command prelude & Step::Host fills (wide_each), lock-free shadow::wide countdown, LPT-sorted refresh_front
  • Parallel off-lock tiled::land_merge + GPU==CPU fast-skip and parallel tiled::hash_pages on a card-side tiled VRAM image (VICTORY_TILED=1, VICTORY_TILED_FILLS=1)
  • Zero-copy R9G9B9E5 relaxed format casting (VICTORY_RELAXED_CAST=1) eliminating >500k two-hop texture alias copies
  • Sharded cross-frame descriptor staging cache (VICTORY_SYNC_MAKE_CACHE=1, ~64.5% hit rate), descriptor sync 5-pack, and FxHash across hot draw/submit/descriptor maps
  • Async texture readback worker (VICTORY_TEXBACK_ASYNC=1), 4-slot pipelined Copy Queue (VICTORY_UPLOAD_AHEAD=1), O(1) TextureQueue due-index, sharded deferred retirement, and async BuryPool COM drops
  • BAR1 write-combined buffer path (VICTORY_WC_BAR=1, VICTORY_STRIDES_BAR=1), upload/readback buffer pooling, DirectStorage C-SCAN disk elevator, parallel chunked BCPack decompression, and buffered read-ahead archive I/O
  • Series X 4K/1440p DLSS Quality (Preset K) support (streamline.rs, native_1440p.rs)

Credits & License

Licensed under GNU General Public License v3.0 or later (LICENSE).

Built on Marvisak/VIctory, incorporating foundational work and cherry-picked fixes from fxceless/victory-fork, DexNom/VIctory, Belobug/VIctory-Belobug-AMD, FQY55kai/ZJOU-VICTORY, codec-d/cool_fox, and krighz.