<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/modding.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-12-01T15:17:21+00:00</updated>
<entry>
<title>Merge pull request #2181 from Tauwni/fix/mods-gui-tkinter-hint-macos</title>
<updated>2026-12-01T15:17:21+00:00</updated>
<author>
<name>Aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-12-01T15:17:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=96befbdd3eefea0359420fa36d63d7d9622272e4'/>
<id>urn:sha1:96befbdd3eefea0359420fa36d63d7d9622272e4</id>
<content type='text'>
leonida_mods gui: on macOS, the missing-Tkinter hint names Homebrew's python-tk@&lt;version&gt; (MODS-GUI-TKINTER-HINT-MACOS)</content>
</entry>
<entry>
<title>Merge pull request #1835 from RK28A/mods-package-file-names</title>
<updated>2026-11-28T20:15:57+00:00</updated>
<author>
<name>MoonEyes</name>
<email>ducoinbenjamin@yahoo.fr</email>
</author>
<published>2026-11-28T20:15:57+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=fab16f9512708cf5dc79756c2c6e2809b1c3d56d'/>
<id>urn:sha1:fab16f9512708cf5dc79756c2c6e2809b1c3d56d</id>
<content type='text'>
leonida_mods: install accepts the file names pack writes (MODS-PACKAGE-FILE-NAMES)</content>
</entry>
<entry>
<title>leonida_mods gui: on macOS, the missing-Tkinter hint names Homebrew's python-tk@&lt;version&gt;</title>
<updated>2026-11-26T03:04:16+00:00</updated>
<author>
<name>Tauwni</name>
<email>102470988+Tauwni@users.noreply.github.com</email>
</author>
<published>2026-11-26T03:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=1c06996a0899d60c2df0d4eb2e5a653db00cb683'/>
<id>urn:sha1:1c06996a0899d60c2df0d4eb2e5a653db00cb683</id>
<content type='text'>
Homebrew's Python ships without Tkinter, so ./Mods.sh on a Mac stopped with the Debian hint (sudo apt install
python3-tk). The hint now names the formula for the running version; docs/modding.md says it too.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>leonida_mods: install accepts the file names pack writes</title>
<updated>2026-11-25T12:24:35+00:00</updated>
<author>
<name>RK28A</name>
<email>243808451+RK28A@users.noreply.github.com</email>
</author>
<published>2026-11-25T12:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=58f14c3d68abcc0cca70d4f10965dae313988b6b'/>
<id>urn:sha1:58f14c3d68abcc0cca70d4f10965dae313988b6b</id>
<content type='text'>
zip_parts() decided whether a package member's name was safe by comparing
it with safe_folder_name(), which makes a tidy folder label out of free
text: it also collapses runs of spaces, strips them at both ends and cuts
at 80 characters. So a mod holding `read  me.txt`, a file name with an
ideographic space or one longer than 80 characters packed without a word
and could not be installed again: "unsafe ZIP member name". The same ZIP
made by hand was refused the same way.

Members are now checked with portable_name(): no separator, control or
reserved character, no trailing dot or space, not a device name. It also
refuses `COM1 .log`, which the label comparison let through.

`pack` runs the same check before it writes anything, so it stops at a
file `install` would refuse (`con.txt` or `a:b` made on Linux) instead of
writing a package nobody can install.
</content>
</entry>
<entry>
<title>leonida_mods: read mod.json as the runtime does, camera section and byte-order mark included</title>
<updated>2026-11-25T12:23:54+00:00</updated>
<author>
<name>RK28A</name>
<email>243808451+RK28A@users.noreply.github.com</email>
</author>
<published>2026-11-25T12:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c5b09c21ec63a21d48fa2078bb2e7e8f4fa6bd93'/>
<id>urn:sha1:c5b09c21ec63a21d48fa2078bb2e7e8f4fa6bd93</id>
<content type='text'>
The manager checks a manifest with its own copy of the rules in
runtime/src/mods.h, and the copy had fallen behind in three places.

The "camera" section was not read at all. `list` said of mods/first_person,
which ships in this repository, "no archetype_swaps; this mod currently
changes nothing", and `check` passed a section the runtime skips the mod
for: an unknown view_mode, a first_person_value that is not a whole number
0-255, contexts that are not whole numbers.

A UTF-8 byte-order mark in front of mod.json was reported as invalid JSON,
although the runtime skips it and docs/modding.md says it is accepted.
Notepad's "UTF-8 with BOM" and Windows PowerShell 5.1's -Encoding utf8
write one. `enable`, `disable` and `install` failed on it too. A UTF-16
file is now named as the runtime names it.

"archetype_swaps": null passed as a mod without swaps; the runtime refuses
it.

`list` and `list --json` now show the camera a mod sets, and which mod's
camera wins when several enabled mods have one.
</content>
</entry>
<entry>
<title>build(linux): add Build.sh and Mods.sh, the shell counterparts of Build.bat and Mods.bat</title>
<updated>2026-11-24T01:51:04+00:00</updated>
<author>
<name>bhimio rice</name>
<email>bhimio@bhimio.xyz</email>
</author>
<published>2026-11-24T01:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5a8af54cbdd291ec5767c256d2b8b0242e207bc5'/>
<id>urn:sha1:5a8af54cbdd291ec5767c256d2b8b0242e207bc5</id>
<content type='text'>
Linux and macOS had no one-command entry point: Build.bat and Mods.bat are
cmd.exe scripts. Build.sh and Mods.sh find Python 3.12 or newer (the
versioned python3.N first, since a distribution's python3 can be older)
and run make_game.py or the mod manager's window with -I, passing every
argument through. They install and download nothing.

tests/test_shell_launchers.py runs both against stub interpreters on a
private PATH. The mod manager's missing-Tkinter message now names the
distribution package off Windows.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>mods: the mod manager and four manifest-only examples</title>
<updated>2026-11-23T20:47:00+00:00</updated>
<author>
<name>Nolan Cotter</name>
<email>186326284+NolanCotter@users.noreply.github.com</email>
</author>
<published>2026-11-23T20:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=234d657349b66c6375e4b72946b43b2eebac2fd3'/>
<id>urn:sha1:234d657349b66c6375e4b72946b43b2eebac2fd3</id>
<content type='text'>
tools/leonida_mods.py manages the port's mods folder: create, install,
list, check, enable, disable, pack, remove and a gta6rt launcher, with a
Tkinter window behind Mods.bat on Windows. Packages are plain ZIPs with
mod.json at the top level; the installer refuses paths that climb out of
the package and never touches game data. mods/ ships four archetype-swap
examples, three of them installed disabled.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin &lt;158243242+devin-ai-integration[bot]@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>docs: mark the d3d12_vulkan.md and modding.md notes the executable checklist was missing (#5288)</title>
<updated>2026-11-23T16:38:03+00:00</updated>
<author>
<name>evilclanker9000</name>
<email>45567075+evilclanker9000@users.noreply.github.com</email>
</author>
<published>2026-11-23T16:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=15a686db318c7b5001eb60a1e49da37b14cb946e'/>
<id>urn:sha1:15a686db318c7b5001eb60a1e49da37b14cb946e</id>
<content type='text'>
Squash-merged after diff review of PR #5288</content>
</entry>
<entry>
<title>mods: a mod.json with a UTF-8 byte-order mark loads; UTF-16 is named; contexts are bounded before the cast (#6724)</title>
<updated>2026-11-23T16:00:38+00:00</updated>
<author>
<name>Enzo BILLIS</name>
<email>enzo.billis@gmail.com</email>
</author>
<published>2026-11-23T16:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=a637671a940f9c66f296ce3a4ea12d614f894c88'/>
<id>urn:sha1:a637671a940f9c66f296ce3a4ea12d614f894c88</id>
<content type='text'>
Squash-merged after diff review of PR #6724 - mods: a mod.json with a UTF-8 byte-order mark loads; UTF-16 is named; contexts are bounded before the cast</content>
</entry>
<entry>
<title>Mods: first-person view, the base (camera section, view-mode getter hook)</title>
<updated>2026-11-23T04:14:27+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T04:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=98fa503f8a19c3ed65df1f4f2f0e4571aa42c4f7'/>
<id>urn:sha1:98fa503f8a19c3ed65df1f4f2f0e4571aa42c4f7</id>
<content type='text'>
mod.json gains "camera": {"view_mode": "first_person"|"default", "first_person_value", "contexts"}.
gta6rt --view-mode-getter RVA hooks the game's view-mode getter with a result-override thunk (code_hooks.h:
the original runs, then its result and first argument go through leonida::mods::override_view_mode), so the listed
contexts answer first person and the others keep the game's mode. mods/first_person asks for it on foot.

docs/modding.md records why switching a mode is enough: the game's tuning data refers to a first-person view
(FirstPersonDirectionDot, UseFirstPersonCameraMatrix on cloth capsules, FIRST_PERSON_VIEW hit-reaction recovery, a
firstpersonshooter HUD texture; RDR2's engine branch), while GTA V's camera class names are not present by joaat.
The context numbering and the first-person enum value (4, GTA V's) are manifest settings to confirm in the
executable. ctest mods and code_hooks cover the parser, the override and the thunk on x64 code in memory.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
