feat: VIctory base moved to Neptune (VIctory Edit.) 2026-11-25c #243
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!243
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/243/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@LooperSalty on GitHub · 2026-11-25 20:55 UTC · original
LooperSalty:feat/victory-neptune→main· +27321 −13512 · 151 files · 9 commits · merged 2026-11-25 21:00 UTCWhat changes
third_party/victorymoves to Neptune (VIctory Edit.) 2026-11-25c as its new base: the corresponding source shipped in Neptune's package (neptune-ve-source.zip, GPL-3.0-or-later), committed unchanged as one commit, with our changes on top as separate commits. Everything is in-tree: no submodule, no git or out-of-tree path dependency inCargo.toml/Cargo.lock(crates.io only; a new test checks this), nothing downloaded at build time.crates/victory-formats/src/bcpack-tables.binis byte-identical to the copy already in the exceptions register.cargo xtask policy: 197 files ok.Commits:
feat: VIctory base moved to Neptune (VIctory Edit.) 2026-11-25c: the source as shipped, withSource:andCo-authored-by:lines for the credited authors whose GitHub identity is public (the Neptune author has no public contact and is named in the body).fix(victory): Discord Rich Presence off unless VICTORY_DISCORD=1: Neptune turns it on unlessVICTORY_DISCORD=0. Our copy needsVICTORY_DISCORD=1and has a unit test for it. The launcher also setsVICTORY_DISCORD=0. F12 screenshots to Pictures are kept.xg:commits, re-applied withSource: LooperSalty/victory <sha>(19feca8,1f0fe1d,36955ee,fb021f7): Microsoft'sxg_xs.dll(the user's own copy) as oracle or server (VICTORY_XG_DLL/VICTORY_XG_MODE, used by-XgDll), plus the HLE answers measured against it. Neptune'sxg.rswas upstreamfxceless4e17478unchanged, so nothing of Neptune's own work is replaced.feat: launcher uses Neptune's Series X switch set, -Warm on the game's .rpf files(details below).docs:README in all 9 languages (a bullet and the VIctory row: "~12 fps in the world (Series X, RTX 4070 SUPER), measured 2026-11-25"), a "Neptune base" section indocs/running-gta6.mdanddocs/fr/lancer-gta6.md,THIRD_PARTY.mdsources table for Neptune and each repository it credits,AGENTS.mdlayout row.test(victory):victory-gpu's unit tests compile again on the Neptune tree (test code only).Why
Measured by the maintainer on 2026-11-25 (RTX 4070 SUPER, i7-13700KF, Series X path at 4K, world, release build, after
victory warmon the game's.rpffiles, Neptune's switch set with Discord off):Our
mainruns at about 5 fps in the same place. The maintainer's verdict: more than 10 fps in game.Launcher (
tools/lancer_victory.ps1)play.ps1switch set for the Series X path: no PC FidelityFX DLL, noVICTORY_AUTO_A,VICTORY_DISCORD=0.VICTORY_WAVE_OWN_LDS_GROUPSis left out because no code in the Neptune tree reads it (its soldsawn translator dropped that rule).SHADER_LOOP_LIMIT,LATE_WAIT,WIDE_BACK,CARD_BUFFERS_MIN_MB/_MB,DSTORAGE_NOTIFY,STAGING_POOL_MB. The last two are not read by the Neptune tree at all.-Diag(or-Dred, which needs it) uses the diag profile with the diagnostics feature.-Warmrunsvictory.exe warm <game folder>\*.rpfbefore the game. It passes only the game folder's own.rpffiles, never the folder:warmwalks directories, and a game folder can hold unrelated trees.-Precompilenow runsvictory.exe warmonshaders.rpf, the game and its two DLLs. The Neptune tree has notranslate --cache --used-pipelines.-AutoA(VICTORY_AUTO_A=150) and-FrametimeDump.-XgDll,-XgMode,-Dred,-NoTunedSettings,-SkipPipelinesand-BatchCardRehashstill work.-Warmpasses only the top-level.rpffiles, and a failed warm stops before the game-Precompile's file listTest command for the maintainer:
.\tools\lancer_victory.ps1 -GameDir C:\Users\ANAKIN\Downloads\GTA6.Xbox.v1.0.2.1-CYBERLEEK -Warm(first time; then without-Warm).Not carried over (follow-ups)
These are items our previous tree had that Neptune lacks. None is needed by the launcher, the tests or CI:
Graphics pipeline pre-build
translate --cache --pipelines --used-pipelines(prebuild.rs,victory-gamepipelines.rs/shaderpack.rs/cityhash.rs). It needsvictory_gpu::pipeline::Prebuild, which is absent from Neptune.The 57 Proton/Wine and AMD commits of the previous base, including the vkd3d-shader-compatible indirect HLSL. Linux/Proton runs should be re-checked on this base.
VICTORY_DSTORAGE_NOTIFY(Yorivele49864a,bf870de) andVICTORY_STAGING_POOL_MB.The L6 to L9 switches (
l6.rs…l9guard.rs: heap clamp, NaN guard, view slots, write-watch guards, roles/unlit diagnostics).Our fps overlay from #225. Neptune's own overlay (F10: fps, 30 s high/low/average, draws, memory) replaces it.
Three of Neptune's own victory-gpu unit tests still fail on this machine:
spans_say_the_next_start_and_the_lowest_level_viewedwarp_card_patch_writes_the_masked_bytes_and_no_otherswarp_card_fetch_copies_flagged_pieces_to_their_slots(WARP)CI does not run VIctory's cargo tests.
Risks (Neptune's notes)
VICTORY_AMBIENT).VICTORY_CARD_WINDOWS_MBandVICTORY_CARD_BUFFERS_MB.VICTORY_RELAY=2is back in the set. The previous launcher left it out because of fork issue #89 (skin, subtitles).Verification
cargo build --locked --profile diag -p victory --features diagnosticsandcargo build --locked --release -p victory: OK.cargo test --workspace(VIctory): every crate passes except the three Neptune victory-gpu tests named above.cargo xtask policy: OK.ruff check --select W605,F,E9 PrototypeScarlett tests tools: OK.PR #234 (
feat/fps-rorodev) is superseded by this one and can stay closed.🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:55 UTC · original · edited 2026-11-25 20:59 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
785b50eℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@ -237,0 +225,4 @@// Unused: the widths again in all entries but the first.r.u16();// Only 15 slots for set 1, which no entry uses (0 bits).for v in &mut ix.ix.as_flattened_mut()[..31] {@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:59 UTC · original
For BC7 streams that reference dictionary entry 0, unconditionally skipping this word corrupts the decoded indices. Unlike subsequent entries, entry 0 has all 32 indices immediately after the width bytes, without repeated widths. The unchanged shipped table begins with indices
[2, 1, 0, ...], but this parser now reads[1, 0, ...];bc7()then uses those shifted values to reconstruct texture blocks. Restore the entry-0 special case and its removed regression test,bc7_first_dictionary_entry_keeps_all_32_indices.Useful? React with 👍 / 👎.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 20:59 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
785b50e255ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".