upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/mod-menu.md
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-27 18:06:59 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-27 18:06:59 -0500
commit0d8fcf4a030d945f119fb9cf08c38d38f70d46ef (patch)
tree66973a5a2b9090fa64a78e5f766278ac89c5712b /docs/mod-menu.md
parent34025b5be60d74a8529212cabf223b1b5c1ff252 (diff)
parentf33c963a5c2e905cd1d474c07418f5593619b1f4 (diff)
Merge remote-tracking branch 'old/port/kbm' into next
# Conflicts: # docs/gameinput.md
Diffstat (limited to 'docs/mod-menu.md')
-rw-r--r--docs/mod-menu.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/mod-menu.md b/docs/mod-menu.md
index 064fa1390..18023dd0f 100644
--- a/docs/mod-menu.md
+++ b/docs/mod-menu.md
@@ -194,9 +194,11 @@ menu.
194 way). Our hook is the one 194 way). Our hook is the one
195 `call` of the cheat input function: it calls that function, then, if something was asked, gives the same queue 195 `call` of the cheat input function: it calls that function, then, if something was asked, gives the same queue
196 a closure of its own. So our work runs exactly where a cheat of the title's would. 196 a closure of its own. So our work runs exactly where a cheat of the title's would.
197- **Finding it again.** Ten places are named by patterns of 24 to 77 bytes (19 to 36 of them fixed, `??` for 197- **Finding it again.** Eleven places are named by patterns of 24 to 77 bytes (19 to 36 of them fixed, `??` for
198 what another build changes: short signatures, no longer than they must be), which give 19 things: 8 functions, 198 what another build changes: short signatures, no longer than they must be), which give 20 things: 8 functions,
199 the hook's call, 9 globals and the place of the level in the wanted state. Each 199 the hook's call, 10 globals and the place of the level in the wanted state (the eleventh place, the global of
200 the player's vehicle, is for the keyboard and mouse layout and is looked up without the game actions too:
201 `docs/gameinput.md`). Each
200 pattern is in the 99.9 MB of code exactly once (`cargo test -p leonida-loader game_actions` with 202 pattern is in the 99.9 MB of code exactly once (`cargo test -p leonida-loader game_actions` with
201 `LEONIDA_GAME_DIR` set checks it, and that functions lie in code and globals behind it). None contains a load 203 `LEONIDA_GAME_DIR` set checks it, and that functions lie in code and globals behind it). None contains a load
202 of the thread's TLS array, which the loader rewrites. A place that is not found leaves its items saying so; the 204 of the thread's TLS array, which the loader rewrites. A place that is not found leaves its items saying so; the
@@ -396,7 +398,7 @@ interpreter is simply not found by these signatures, which is why the run-time s
396 Skipped without a D3D12 device. 398 Skipped without a D3D12 device.
397- `cargo test -p leonida-hle --features diagnostics --lib -- gameinput clock`: the input shim with the kept keys in 399- `cargo test -p leonida-hle --features diagnostics --lib -- gameinput clock`: the input shim with the kept keys in
398 place, and the title's clock. 400 place, and the title's clock.
399- `cargo test -p leonida-loader --lib game_actions`: the ten places on made-up code (found wherever they lie, 401- `cargo test -p leonida-loader --lib game_actions`: the eleven places on made-up code (found wherever they lie,
400 displacements and numbers read, a place missing, twice or pointing outside left out), the hook on made-up code 402 displacements and numbers read, a place missing, twice or pointing outside left out), the hook on made-up code
401 that runs (the update step calls a function of ours and returns as before) and, with `LEONIDA_GAME_DIR` set to 403 that runs (the update step calls a function of ours and returns as before) and, with `LEONIDA_GAME_DIR` set to
402 the package's folder, every place once in the retail executable, functions in code and globals behind it. 404 the package's folder, every place once in the retail executable, functions in code and globals behind it.