Review of 8677729c9 (KelboLive):
- resolution_levers, the loader's only entry to the levers (windows.rs), was not pinned: replacing its apply_levers
call with nothing still passed. A test now calls it with the environment set under a lock and put back, with a
hash that starts as the 1.0.2.1 build's and with another one, and with no lever set.
- A lowest scale with neither a pinned scale nor LEONIDA_OWN_UPSCALER (F1's LOWEST SCALE alone) still took the
lowest as the ceiling. The title's own dynamic resolution rises to max(lowest, 1.0) on Series S whichever way it
is reached, so a lowest scale now has a ceiling of 1.0 too.
Both shown to fail without the fix: dropping the apply_levers call fails the new entry test; the old ceiling fails the
lowest-alone case. cargo test --locked -p leonida-loader --lib with LEONIDA_GAME_DIR: 88 passed; clippy -D warnings
clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of de550f7cb (imShangLi):
- The comment called the pool "the third" of the row at 0x6186250, while the patch is 0x18 further on, which reads as
the fourth. Each row is an 8-byte header followed by its nine sizes from +8 (the copy reads [row + 0x8]), so
0x6186268 is the third size. The comment says so now.
- The README said "above 2/3"; the code wants more than 2/3 + 0.001, so that Series S' own 2/3 (0.6667) keeps the
console's budgets. The README says that now.
No code change. cargo test -p leonida-loader --lib hooks: 15 passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of 0cbc9e93a (KelboLive):
- The budgets followed the lowest scale, so -Lowest 720 on Series S (LEONIDA_RENDER_SCALE_MIN=0.6667) got none.
The title's own upscaler stores its minimum at 0x28f1e78 and its maximum at 0x28f1e87 as max(minimum, f()). f() at
0x1fb4300 is 1.0 on Series S and 2/3 elsewhere. So with that upscaler forced and no pinned scale, Series S may
render up to 1.0 whatever the lowest. The budgets now follow the ceiling:
- a pinned scale is its own ceiling;
- the own upscaler with no pinned scale has a ceiling of 1.0, as with -Lowest or the F1 menu's OWN UPSCALER;
- with neither, the ceiling is the lowest asked for.
- The call sites are covered now. resolution_levers reads the environment (Levers::from_env), checks the build and
calls apply_levers. the_levers_give_series_s_its_budgets_for_the_highest_scale_it_can_reach runs apply_levers on
an image buffer for -Resolution 1080, -Lowest 1080, -Lowest 720, the own upscaler alone, pinned 2/3, a pinned
scale over a lowest one, and FSR alone. It fails when the budgets are dropped from apply_levers, and with the old
floor rule.
cargo test -p leonida-loader --lib: 87 passed. cargo clippy -p leonida-loader --all-targets -- -D warnings: clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review of 29016670a (KelboLive):
- The budgets were applied only for a pinned LEONIDA_RENDER_SCALE. -Lowest 1080 on Series S sets
LEONIDA_RENDER_SCALE_MIN to 1.0, and the title renders at or above it. The minimum path now applies them too.
- They are written by series_s_budgets through apply_all, so a build where one place differs keeps the console's
own pair instead of a raised pool alone.
- the_series_s_budgets_are_written_both_or_neither writes them into an image buffer:
- both are written at 1.0 and at 0.75, and neither at 2/3 or 0.5;
- neither is written when the heap's place holds other bytes.
With the helper made to write nothing, it fails.
- The game-step test has its doc comment back. The threshold test is named for both budgets.
- The README says -Lowest is covered.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Series S at render scale 1.0 (1080p, `-SeriesS -Resolution 1080`, `play-S-1080p.ps1`) stopped the title at its own
breakpoint as soon as it started. The README listed it as "does not work yet". The title sizes two memory budgets per
console, both for Series S' own 2/3 scale, and at 1.0 each in turn is too small:
- The render-target pool, the third of nine pool sizes in the per-console table in .rdata: 1277 MiB on Series S,
2199 MiB on the others. Its allocator treats a failed allocation as fatal, and a 1 MiB one failed.
- A heap counted in 64 KiB pages, `mov eax, 0x1290` then `cmovne` with 0x2c60: 297 MiB on Series S, 710 MiB on the
others. A check compares a 432 MiB resource with it and stops at a breakpoint.
With a pinned render scale above 2/3, resolution_levers now writes the other consoles' sizes into both places. Only
Series S' row and its immediate change; the other consoles already hold such a scale. The retail-bytes test checks
both places and the other consoles' pool size.
RTX 3060, driver 621.40: Series S at 1080p ran five minutes into the world, rendering 1920x1080, at 11-22 fps, with
no crash. Before, it stopped about 8 s in, once at each budget.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
readable() and writable() computed va + bytes (and BaseAddress +
RegionSize) unchecked. They run inside the vectored exception handler,
where a clzero with RAX near the top of the address space made the
debug build panic with an overflow (taking the process down) and let a
wrapped end pass the range check in release. A range that runs past the
top is now neither readable nor writable, and such a clzero is left to
fault as it would.
After ahmetbagci's fix in TaynanGT/Vice-Tay (c2f2b5b); its write_sites
half is already in #2664.
Co-Authored-By: ahmetbagci <6625856+ahmetbagci@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The loader's watchdog patches (from leonida-perf, after ZigZagBoi1/ScarlettPort) were opt-in
(`LEONIDA_NO_WATCHDOG` set); they now apply unless `LEONIDA_NO_WATCHDOG=0`. Each is still checked
against the 1.0.2.1 build's hash and the bytes it replaces. The title ends its process by a write to
address 0 when its main thread has not advanced for 30 one-second ticks, which a long load or the
driver compiling can reach on a PC.
Default on as trustno1-coder/VIctory-NVIDIA aee4c45a (through KyleS98/VIctory-Neo b686df1, GPL-3.0)
quiets the title's watchdog by default; those set the watchdog's own quit flag twice a second, the
patches here skip its fault instead.
AI-assisted (Claude). Tested on RTX 4060 Ti 16 GB, driver 616.64: the loader's
the_watchdog_is_quieted_unless_told_not_to test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With LEONIDA_FSR_UPSCALER=1 and LEONIDA_RENDER_SCALE below 1.0 on Series X (DLSS or stretch), patching the FidelityFX upscaler's maximum-size vtable slot (0x6300ba8) to its scaled-size function caused the title to present only the HUD over a black world (investigated in 0ae217ceb). Leaving that patch off by default (opt-in via LEONIDA_FSR_MAX_SCALED=1) keeps the requested render scale while drawing and lighting the world at 1706x960 -> 2560x1440.
On Windows, renaming a staging file over a destination already opened or
mapped by a peer runner (without FILE_SHARE_DELETE) fails with
ERROR_ACCESS_DENIED (os error 5). When the destination already holds the
exact bytes being published, remove the staging file and return Ok(()),
while continuing to propagate errors when the destination is missing or
holds different bytes.
Includes deterministic Windows unit tests for both matching and
non-matching locked destinations.
AI-assisted: Antigravity (Gemini 4 Neon)
The natives were never found as a table (docs/mod-menu.md, "Looking for the script natives"): the title builds
its own at run time. Every handler has one shape, though: it checks its argument count first
(`cmp dword [rcx + 10h], 0`) and on a negative one jumps (`js`) to an error block that stores its native's own
64-bit hash where the result goes (`mov rax, [r]; mov r2, imm64; mov [rax], r2`).
- leonida_loader::natives: scan() reads that hash from every such handler in the code and keeps the start of the
function it lies in (from .pdata, at most 0x20 bytes before the check); a hash at two handlers names neither.
find() does it over the mapped image. In the 1.0.2.1 executable: more than 6,000 natives, PLAYER_PED_ID's and
SET_ENTITY_INVINCIBLE's hashes among them (the handler with the latter is the one El1xr's trainer calls for it).
- Game actions: call_native() passes a handler its call context (argument slots, the results' slots, the count;
16-byte aligned slots), on the title's thread that runs its cheats. New requests: God(on), SET_ENTITY_INVINCIBLE
on PLAYER_PED_ID's reference (`god <0|1>`), and Native { hash, args } (`native <0x hash> [slots]`, for tests).
The natives are scanned at install and counted in the console.
The shape and the call context are kylepelham/El1xr's findings (third_party/victory/.../modmenu/natives.rs,
GPL-3.0); the hashes are modpapi/scripthook-vi's native database's (CC BY 4.0). Written here anew.
Tests: natives::tests (a handler's hash names it, near and far jumps; a hash at two handlers, a handler outside the
unwind table, other registers or a load through rsp or a check too deep name nothing; the unwind table read
sorted; the retail executable's natives with LEONIDA_GAME_DIR), game_actions spawn_tests
a_native_call_hands_its_handler_the_slots_and_the_count, and the new commands in script_commands_read. All pass.
Not yet seen in the running title.
AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X (unit tests and the
executable check only).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- LEONIDA_SIM_MAX_STEP_MS=100|125|200|250 (unset: the title's own): the title's game timers step
clamp(real time, 1 / rate, 1/15 s) a frame (+0x2226040, run from the frame's timer at +0x22264d0), so a frame
longer than 66.7 ms moves game time only 66.7 ms: under 15 frames a second the world runs slower than the wall
clock. The two loads of that ceiling (vmovss at +0x2226045 and +0x2226833) are pointed at another constant of
the image's .rdata holding the asked value, the constants checked first (all or none). After
kylepelham/El1xr 9372c47f (GPL-3.0), whose runs measured game time 0.92 and 0.89 of the wall clock with the
title's ceiling and 0.97 and 0.98 with 100 ms. The step function's clamp was read in a local decompile
(fast-decomp) of the 1.0.2.1 executable.
- SCRIPTS_59 (vipatch.rs, always on with the 60 fps patch): the function that tells the scripts the frame rate
(+0x3eaf5d0, one million over the interval at +0x98f84ac, truncated) answers 59: with FPS_60's interval of
16 666 it said 60, from which the title halves a per-frame count it hands the scripts (+0x234490). After
trustno1-coder/VIctory-NVIDIA PR #65 (0.985 of real time at 30-36 fps) and El1xr's sim_target.rs (GPL-3.0).
Every place is checked against the 1.0.2.1 executable: the tests the_game_step_loads_point_at_the_ceiling_asked_for,
the_scripts_are_told_fifty_nine, and the retail-executable checks of hooks.rs and vipatch.rs (LEONIDA_GAME_DIR),
all passed; a run with LEONIDA_SIM_MAX_STEP_MS=100 logged every game-step patch applied.
AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Translator: with LEONIDA_NAN_SCRUB=1 the floats an image store writes keep an infinity, as on the console, and
only NaN becomes 0 there (LEONIDA_NAN_SCRUB_STORE_INF=0: held at 65504 as before). The water's plain transmission
volumetrics store an infinity for "no surface along this ray"; held at 65504 it was a surface 65 km off (a black
disc toward the sun). After voidopcode/vilocity 767369a (GPL-3.0). Colours a pixel program writes are held as
before. Test the_nan_scrub_keeps_the_integer_bits_an_image_store_writes (card and WARP) updated; it passes.
- Loader: dir64_relocations reads whole entries of a block only and no page whose entry's place passes 4 GiB
(after edsuuu/VI-BR-PORT df2b835d7); test a_malformed_relocation_block_gives_nothing.
- Textures: LEONIDA_TEXTURE_HASH_BACKOFF (off unless asked; by turns under LEONIDA_AB): a guarded texture whose last
4 looks behind the guard found it as it was takes one of every 16 of its turns (after kylepelham/El1xr d9fc89a4,
GPL-3.0). A frame hashed 38 to 40 MB of such textures and found 0.0 changes the guard had not seen (run d69).
Test a_quiet_texture_takes_one_turn_in_n.
- Diagnostics: a recorded frame's present time (frames-times.txt in the capture folder) and a log line when the
scripted keys change, for the time from a key to the first frame that shows it.
- findings: the busiest faulting stores are the kind LEONIDA_WRITE_SITES rewrites; its notes are keyed by the
executable's hash.
Four recorded tours with this build (runs d76, d77, d87, d96): no one-frame dark floor, no white flash; the plain
tour on a cleared driver cache (d96) has no one-frame glitch at all.
AI-assisted (Claude). Tested on an RTX 4060 Ti, driver 616.64, Ryzen 5 7600X, Windows 11 (Series X profile, 1440p).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LEONIDA_RENDER_SCALE_MIN (the loader's hooks.rs) sets only the lowest scale of the
title's own upscaler (the immediate at rva 0x28f1e7e) and leaves the scale above it to
the title's dynamic resolution; a valid LEONIDA_RENDER_SCALE still holds one scale.
The launchers take it as -Lowest <height>; scripts\play-d3d12.ps1 now starts Series X
with -Lowest 1080 (a 2560x1440 output, 1080 to 1440 lines rendered) instead of
-Resolution 1440, which still holds 1440.
Same save, RTX 4060 Ti, frame generation off, two series (2026-11-29): median frame
57.0 and 59.6 ms against 66.0 and 67.9 held at 1440; the title's choice sat at its
1080 floor there. A recorded tour at the floor: no device removal, no new pipeline
refusals; the frames the scan flagged are camera turns into the sun.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apps/leonida/src/player_context.rs tells gameinput whether the player is
on foot or in a vehicle. A thread of ours reads a few words of the title
every 16 ms through ReadProcessMemory on the own process: nothing is
written, no title code is called, and it does not need
LEONIDA_GAME_ACTIONS=1 (without the game actions it looks the two globals
up itself at start: two passes over the code, about 0.15 s).
What says "in a vehicle", the first there is:
- LEONIDA_PED_VEHICLE_AT=0x<offset>: a pointer in the player's ped that is
null on foot. None is known, so unset.
- The title's own global of the player's vehicle: a new place in
leonida-loader's game_actions (Site::PlayerVehicle, a pattern that is in
the 1.0.2.1 executable once). Read from the code, not seen in the running
title yet: the global is written by one function, called with a vehicle
from a large function, with null where a ped that is the player is taken
out of a vehicle, and with what the title's "the vehicle this ped is in"
gives when the player's ped is set. LEONIDA_PLAYER_VEHICLE_AT names
another global, or turns it off.
- LEONIDA_KBM_SPEED=1: the speed rule (12 m/s for a second; never from a
standstill, never "on foot"). Off unless asked for, and always run as a
check of the two above, into the log.
LEONIDA_PED_DUMP=<folder outside the repository>: F8 in the game's window,
or a file named dump there, writes the first 0x4000 bytes of the player's
ped (and 0x1000 of the vehicle the global names) with a line in index.txt,
for measuring by comparing a dump on foot with one in a car.
leonida-loader: resolve_some and find look for some of the places only.
Checked: cargo test -p leonida-loader game_actions with LEONIDA_GAME_DIR
(every place once in the retail executable), cargo test -p leonida --
player_context game_actions, cargo check --profile diag -p leonida
--features diagnostics,mimalloc. Not run in the game yet.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Measured like for like at the save (three minutes of the idle camera each, Series X, 2026-11-27): 92.5 ms a
frame and 6,353 draws with the console's settings.xml, 90.9-101.7 ms and 6,636-7,079 draws with aki-runtime's
lighter set, and 338-350 draws a frame dropped for want of a pipeline against 191. The earlier figure in
8576e3d5c (7,700-9,500 draws to 3,100-4,800) compared a night drive over a bridge with the save and was wrong.
LEONIDA_TITLE_GRAPHICS='performance' writes the set; the default leaves the file as the title wrote it.
LEONIDA_PROFILE_ONLY also matches a thread's start (module+rva), for the title's own threads, which have no name.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The frame is not the card's: with every scissor empty it took as long (97.8 ms against 97.3), with
every mesh draw of no group 85.7, with every dispatch left out 77.0 (LEONIDA_AB over the three
LEONIDA_EXP_* switches, 9,300 draws a frame, 2026-11-27). A profile of the submitting thread alone
(LEONIDA_PROFILE_ONLY, new: 17,711 rounds in 35 s where the 28 busiest threads gave 125) had a quarter
of its running time in the system heap. Built with the mimalloc feature the same view takes 78 ms a
frame against 93-98, so scripts/build-nvidia.ps1 builds with it.
LEONIDA_PLACED_TITLE=1 (off by default): a copy at its place in a list into bytes that flights have
declared but no shader wrote lately is taken by title memory at submission, so the fill that reads it in
the same submission does not wait for every flight to land (44-48 ms once a frame at the save, named in
the frame line now); a landing leaves alone what title memory holds already (LEONIDA_LAND_SAME), so that
such a copy is not noted as a shader's write to its page. The wait went from 1.00 to 0.08-0.36 a frame;
the frame's length did not change measurably with the system heap in the way.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The title has a cheat system of its own: a table of sixteen handlers without
arguments, and the functions those call take plain arguments. Ten places in
its code are found by short byte signatures (each once in the executable),
which give the cheat dispatcher and table, the title's deferred call, the
player's ped, the functions that set a ped's wanted level, the time of day
and the forced weather type, and the globals they work on.
The title's once-a-frame call of its cheat input function becomes a call of
ours (a near stub, written before any title code runs); the menu only queues
a request, and the hook hands the title's own deferred-call queue (the one
its cheats go through) the work. Wanted level, clear, never wanted, hour,
clock paused, sync with system, weather by name, freeze weather, the health
cheat and the nine vehicle cheats are wired; the player's position and
heading come from the ped itself. Moving the player, god mode and the rest
still say why they are not there.
Off unless LEONIDA_GAME_ACTIONS=1: built and unit-tested, not yet run in the
title. LEONIDA_GAME_ACTIONS_RUN scripts commands for a test without the
keyboard and logs to %TEMP%\leonida-actions.
docs/mod-menu.md: how it was found, with counts; the 6,811 script command
wrappers (each carries its own 64-bit hash) and what was tried to find the
table that binds them.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The title outputs 16:9 whatever its window is, and the swap chain was stretched
over the window.
LEONIDA_ASPECT=21:9|32:9|W:H|auto makes the title's window in that shape (at the
height it asks for, then fitted to the screen as before). LEONIDA_PRESENT_SCALE
=fit keeps the picture's shape in a window of another one: the swap chain
becomes a frame of the window's shape at the picture's height, cleared to
black, with the picture copied unscaled into its middle; =stretch is the
present as it was. Unset: fit with LEONIDA_ASPECT, else stretch, so nothing
changes without them (a 16:9 window's frame is the picture and the copy is the
same CopyResource). With bars, frame generation is told where the picture is
in the back buffer.
This is the fallback, not a wider view. For the real thing the title has to
output a wide size: LEONIDA_OUTPUT=WIDTHxHEIGHT (experimental) changes the
3840x2160 row of its mode table together with the scanout reservation that
has to fit it (the check LEONIDA_OUTPUT_1440 tripped, at rva 0x247af2d, wants
under 2 MiB of the reservation left) and the Settings viewport, after VIctory's
native 1440p profile as runtime/src/display_profile.h records it.
docs/ultrawide.md lists what the executable shows of the output size, the
render size and the shapes it knows, and what a run has to answer before this
can be called ultrawide (whether a wide row is taken, the projection, the HUD).
Unit tests: the frames and shapes (aspect.rs), the reservation sum and the
three places against the 1.0.2.1 executable (hooks.rs). Not run in the game.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
DLSS and the frame generation tags were Series S only because both hang on
ffxDispatch, and the title only upscales through FidelityFX when its device
type is a Series S: on Series X its own temporal upscaler runs, as passes of
its own that hand nothing over.
LEONIDA_FSR_UPSCALER=1 gives every console the Series S answer in the
upscaler choice (rva 0x7e941f, `test al, al` -> `or al, 1`: FidelityFX when
the title has it). Off Series S that upscaler renders at scale 1.0, by a load
of its own, which LEONIDA_RENDER_SCALE now points at the scale as well
(constants for 1/3, 0.4, 0.5, 0.58, 0.6, 2/3, 0.75 and 1). The launcher takes
ffxDispatch on Series X too when that switch is on.
Frame generation is tagged from a stretched upscale as well, and says once
when no upscale has handed anything over.
Every place and constant is checked against the 1.0.2.1 executable by a test
that reads LEONIDA_GAME_DIR. Not run in the game yet.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ZiZc3's VI-Patch (github.com/ZiZc3/VI-Patch) is a patch set for the PS5 build of the title. It has no licence,
so nothing of it is copied: its lines are new bytes at PS5 addresses. What each patch does is taken, the places
were found in the Xbox executable, and the bytes written are our own (docs/vi_patch.md).
- 60 fps, no switch: the two places that turn the video settings' frame limit into the frame interval load 60
(RVA 0x224359a, 0x1e0fc62 in 1.0.2.1), so the title asks SetFrameIntervalX for 16 667 microseconds in place
of 33 333 and its own limiter follows.
- No vignette, LEONIDA_VIPATCH_NO_VIGNETTE=1: the jumps over the spotmeter_aiming and spotmeter_fast exposure
profiles are made unconditional (RVA 0x496ab6, 0x496b51).
- Skip intro logos, weather fix, first person, no clothing, Mandy replaces Lucia, no depth of field: not found
or not ported, each with its reason in the doc.
A place is a pattern of its bytes (?? for displacements), taken at the offset known for 1.0.2.1 or found by a
search of the image's code that must find it once; a patch is written only if all its places are found
(vipatch.rs, hooks::game_patches). Unit tests for the search, the plan, the table and the write into a made-up
image; with LEONIDA_GAME_DIR set the same run finds each pattern once in the retail executable.
Not run in the game.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Ported from Belobug/VIctory-Belobug-AMD d3cf70dc (renderer port 2, GPL-3.0;
introduced in 9997d25, memcpy marks 4cb90be, disjoint parts 4ad8527).
The six stores of the 1.0.2.1 executable's descriptor-table fillers
(+0x4d9efd0, +0x4eec8e0) are patched, byte-checked and behind the build's
hash, to set a byte per slot in maps of ours; sync_heaps takes the marked
slots in place of asking the write watch of the heap and reading ~290 changed
pages. Marked runs are coalesced (gaps up to 64 slots) into disjoint parts
(plan_parts), our own Create*View/CopyDescriptors marks too, and the title's
memcpy/memmove imports (chained after titlewrite's) mark the view records
they copy in. A fallback asks the watch every 8 frames (..._EVERY) and looks
at 16 pages whole (..._CHECK; 0: never asks), counting view records no mark
told of with the code that last faulted on their block.
Every site is left alone if its bytes differ or the hash is not the build's;
with a site unpatched the page route stays. With LEONIDA_AB naming the
switch, the stores are patched at start and the sync side toggles live.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tried twice in the title: the 2560x1440 window is made, then the title stops at its
own int3 after a size check against 0x1fffff, at render scale 0.75 and 1.0 alike.
Render scale 1.0 with the 4K output stops elsewhere (0x2219650). Not usable yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What: the 1.0.2.1 executable keeps its output modes in a table in .rdata (rva
0x615c100 is its last row: 3840x2160 at 60 Hz, after 720p, 936p, 1080p and 1440p);
the code that builds the mode list copies the rows, and the two checks for a 4K output
look 3840x2160 up in that list. The opt-in patch makes the last row 2560x1440, checked
byte for byte like the other levers.
Why: on the Series X profile the title upscales to 3840x2160 and the window shows it
at 1440p, so everything after the upscale runs at 2.25x the pixels it is shown at.
How checked: cargo test -p leonida-loader --lib hooks (4 pass, one new). Not yet
tried in the title; whether it presents 1440p is the next run. AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What changed:
- victory/ is now d3d12/;
- its crates are leonida-* (leonida_* code paths);
- the program is leonida.exe;
- settings are LEONIDA_*, and the older VICTORY_* names still work through apps/leonida/src/leonida.rs;
- the config file is leonida.toml;
- log names and user-facing text say Leonida.
What did not change: lines that credit upstream projects or people, URLs, copyright notices and the
GPL-3.0 LICENSE. d3d12/README.md opens with a Leonida section that says the runtime grew from
Marvisak/VIctory through trustno1-coder/VIctory-NVIDIA. The rest of that README is labelled as
trustno1-coder's.
The launchers (scripts/play-d3d12.ps1, scripts/play-linux.sh), docs/linux.md and
scripts/sync_victory.py (prefix d3d12) follow the move. Future upstream merges will need a
mapping from upstream's names onto these.
Builds with `cargo build --profile diag -p leonida --features diagnostics`. The settings alias
tests pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>