docs: title memory layout for 1.0.2.1 (static analysis, unverified) #1268

Open
Jonirulah wants to merge 1 commit from upstream-pr/1271 into main
Jonirulah commented 2026-11-26 07:40:30 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Jonirulah on 2026-11-26T07:40:30Z.


What this adds

docs/title-memory-layout.md: a reference for what the title (build 1.0.2.1) keeps where in memory, so the layer can read the engine's own state instead of inferring it.

  • The 174 MiB buffer the layer logs as title buffer X+0xae00000: where it is created, and its three parts (27 MiB of per-list dynamic data written by the CPU, then 47 and 100 MiB of per-frame draw data), plus the whole-buffer SRV and UAV the title creates over it.
  • Streaming state: asset stores and the global resource index, the loaded bitmap, the request engine and its steps, and the disk reads in flight.
  • Ped skinning buffers: the two output buffers, their per-frame cursors and the job records.

Status

Static analysis only. Nothing in it is verified at run time: I have the executable but not the game data, and the image was never executed. Every section says what was seen and what is a guess, and the document ends with eight read-only checks (expected values at given addresses) that would confirm or refute it. If someone with the title can run them, I will correct whatever fails.

This is documentation. It changes no code and proposes no fix.

Asset policy

The document holds no title code, listing, string or table: only addresses, field offsets and sizes, described in our own words, with names we chose. asset-policy.md allows per-build offsets of functions we hook; this lists addresses of functions and globals the layer does not hook (yet). If that is more than the policy intends, tell me what to cut.

Possible follow-up

A read-only, off-by-default diagnostic that logs the values in the checks, so one run confirms the document. Not included here.

AI-assisted, with human direction and review.

🤖 Generated with Claude Code

<!-- greyfinch-sync:fxceless/victory-fork:issue:6621883856 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1271). Originally posted by [Jonirulah](https://github.com/Jonirulah) on 2026-11-26T07:40:30Z. --- ## What this adds `docs/title-memory-layout.md`: a reference for what the title (build 1.0.2.1) keeps where in memory, so the layer can read the engine's own state instead of inferring it. - **The 174 MiB buffer** the layer logs as `title buffer X+0xae00000`: where it is created, and its three parts (27 MiB of per-list dynamic data written by the CPU, then 47 and 100 MiB of per-frame draw data), plus the whole-buffer SRV and UAV the title creates over it. - **Streaming state**: asset stores and the global resource index, the loaded bitmap, the request engine and its steps, and the disk reads in flight. - **Ped skinning buffers**: the two output buffers, their per-frame cursors and the job records. ## Status **Static analysis only. Nothing in it is verified at run time**: I have the executable but not the game data, and the image was never executed. Every section says what was seen and what is a guess, and the document ends with eight read-only checks (expected values at given addresses) that would confirm or refute it. If someone with the title can run them, I will correct whatever fails. This is documentation. It changes no code and proposes no fix. ## Asset policy The document holds no title code, listing, string or table: only addresses, field offsets and sizes, described in our own words, with names we chose. `asset-policy.md` allows per-build offsets of functions we hook; this lists addresses of functions and globals the layer does not hook (yet). If that is more than the policy intends, tell me what to cut. ## Possible follow-up A read-only, off-by-default diagnostic that logs the values in the checks, so one run confirms the document. Not included here. AI-assisted, with human direction and review. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1271:upstream-pr/1271'
git switch 'upstream-pr/1271'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1271'
git switch 'upstream-pr/1271'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1271'
git switch 'upstream-pr/1271'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1271'
git switch 'main'
git merge --squash 'upstream-pr/1271'
git switch 'main'
git merge --ff-only 'upstream-pr/1271'
git switch 'main'
git merge 'upstream-pr/1271'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!1268
No description provided.