<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/vi_patch.md, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-27T16:07:54+00:00</updated>
<entry>
<title>Game patches after VI-Patch: 60 fps always on, no vignette by LEONIDA_VIPATCH_NO_VIGNETTE</title>
<updated>2026-11-27T16:07:54+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T16:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c400d773a72f0fe3bd9dc4b35abf10fcf97ed7c2'/>
<id>urn:sha1:c400d773a72f0fe3bd9dc4b35abf10fcf97ed7c2</id>
<content type='text'>
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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
