Commit Graph

94 Commits

Author SHA1 Message Date
a1a17f8d0d docs(gamedata): remove merge-duplicated Timecycle, Fog Volume, and Dirt blocks
Repair the broken CTyreDataSet table tail and collapse contradictory duplicated
hypothesis blocks in Timecycle, Fog Volume, and VehSpawnIntensities sections.

AI-assisted: Antigravity gemini-4-neon.
2026-11-26 22:12:24 -03:00
6e85823da4 gamedata_reader: preserve empty polymorphic objects 2026-11-25 16:05:38 +03:00
4e70e9c106 Accelerate world atlas mask matching with optional Rust
Co-Authored-By: GPT 6.2 Sol <noreply@openai.com>
2026-11-23 20:54:13 +01:00
6f58bd2c56 gamedata_index: a --json/--csv path cannot be a carved stream (EGEN-GAMEDATA-STREAM-OVERWRITE) (#6753)
Squash-merged after diff review of PR #6753
2026-11-23 10:47:18 -06:00
2e52b2f1d7 Docs after round 44: one row per topic, escaped literal pipes, one copy of each repeated line and list item, one i18n row per language
Also: #2490's committed conflict markers in fssm_crosscheck.md resolved to main's text, the SHADER-605 section
moved below the troubleshooting table it split, a header rule for the export-format table, two backticked
paths that name no Leonida file, and the BOM dropped from anim_move.py and its test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:24:16 -05:00
b3d22f79bf Merge pull request #4415 from Alpaca-exe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:32 -05:00
0bc0c5ab0b Merge pull request #4368 from Alpaca-exe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:05 -05:00
96612b65fb Merge pull request #4353 from Mast3rL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:13:56 -05:00
887484a7e1 Merge pull request #4326 from Alpaca-exe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:13:34 -05:00
7b36dd4bdd Merge pull request #4266 from Jeremy Goldberg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:56 -05:00
9bcac58004 Merge pull request #4256 from Jeremy Goldberg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:51 -05:00
3d9314ef34 Merge pull request #4242 from Silent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/gamedata.md
2026-11-22 23:12:42 -05:00
9581acf057 Merge pull request #4219 from Jeremy Goldberg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:28 -05:00
922a0d03b1 Merge pull request #4207 from Silent
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:12:21 -05:00
2f37cc631f Merge pull request #3992 from Alex Collini
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:14 -05:00
8fa7aa9c9f Merge pull request #3901 from JavierBlanco23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/gamedata.md
2026-11-22 23:09:24 -05:00
d51d946533 Merge pull request #3888 from throny
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/gamedata.md
2026-11-22 23:09:15 -05:00
4762a3f018 Merge pull request #3880 from Ewann
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/gamedata.md
2026-11-22 23:09:11 -05:00
104689ac03 Merge pull request #3873 from JavierBlanco23
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:09:06 -05:00
2bea67b802 Merge pull request #3850 from throny
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:53 -05:00
798d8a6241 Merge pull request #3832 from ismailchaka1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:08:43 -05:00
a8e529494a docs/gamedata: clarify NavPred block field range, door section list, and case-insensitive matching 2026-11-23 04:17:51 +01:00
01ae62c873 gamedata_blobs: compute VFX data lines, Region 3 spans, and fix docs/tool alignment 2026-11-23 04:16:33 +01:00
3cbf800bc5 gamedata_blobs: decode common.rpf text preload/VFX settings and binary tables 2026-11-23 02:19:36 +01:00
bf9a2633df gamedata_sps1: decode common.rpf SPS1 shader-preset table and join SGD5 effects 2026-11-23 02:05:27 +01:00
e4f403a836 docs: measure the weather document's Mod* axes, vocabulary mismatches and TimeMult
Rebased on current main with the Rain claim corrected after reproduction:
Rain is nonzero in 7 of the 25 data sets (8 types read them), not the 14
HeavyRain-tagged types.
2026-11-22 21:51:27 -03:00
4d5800ad97 docs/gamedata: measure 14 door, ped loadout, lasso, climbing and AI rule schemas 2026-11-23 01:51:16 +01:00
390bfc0088 world_grid_atlas: address pre-PR review
- --json is refused anywhere under <work>/assets or the carve (links
  resolved), not only over a manifest.
- Order fill keeps the longest run of anchors consistent with archive
  order instead of dropping greedily after one wrong anchor.
- Duplicate tile records, tiles in other archives and dictionaries that
  hold only part of a shared group are counted and printed.
- Shoreline reports anchors moved by the alignment and unplaced tiles
  with features; the summary prints tile and fallback sizes and formats.
- A carve without heightmaps says so instead of reporting 0 of 0.
- Non-square or too small tiles, one-cell grids and fractional grid sizes
  are rejected with one stderr line; the JSON write is atomic.
- docs: quoted numbers now name their field; -300 m is at the PAMH floor,
  not below it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:49:52 -05:00
c3b541264a world_grid_atlas: place the water grid tiles and check zInflation
The four GridAtlasInfo grids are water data: water height (R16), shoreline
(BGRA) and two water fog textures (BC6H). Their tiles are named only by the
grid's suffix. The tool places them by matching each tile with the grid's
fallback mosaic and checks archive order: the tile dictionaries are stored
in text order of the decimal cell index.

zInflation is checked against the world's height data: all heightmap Z
ranges and the water heights lie inside origin z +- 1,000. The water-height
scale (about 41 units per metre) and the north-up row order come from a fit
against the MHIU terrain.

Tests: stdlib logic tests plus a synthetic forward check (numpy/Pillow).
docs/gamedata.md "Grid atlases" is updated from the tool's output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:39:17 -05:00
391b3a9954 veh_spawn_intensities: refuse non-finite values; keep only the open hypothesis (review fixes)
shdann's report: a NaN or infinite intensity value came back as success and
json.dump wrote an invalid JSON body. The conversion now requires a finite
value, one ERROR line and exit 2, with a regression over a NaN fixture.

Pipodi's heads-up on the row: #3992 measures the Channel numbering, so the
closing hypothesis line keeps only the band-per-mask question.
2026-11-22 21:34:03 -03:00
07084c4e41 docs(gamedata): measure custom cloud falloff and signed output
Refs: #4084
2026-11-22 19:25:38 -05:00
73cff52b52 docs(ocean): distinguish horizontal and spatial nearest sites
Refs: #4084, #4256
2026-11-22 19:24:29 -05:00
49adfea16f docs(ocean): identify controls for preset selection
Refs: #4084, #1072
2026-11-22 19:22:37 -05:00
2efbe33b6d veh_spawn_intensities: measure the vehicle spawn intensity bands (ASSET-335)
The table is 31 vehicle-class entries, each with 7 intensity bands of
DirtMin/DirtMax and (in most signatures) a 0.8..1.0 mud range in band 7, plus
rain gating fields. 9 distinct band signatures carry the 31 entries; band 7
ladders through recurring endpoints and the bands are draw ranges, not
partitions. The docs row keeps only the channel-numbering hypothesis, which
Pipodi's #3992 answers; whether a spawn picks one band per AlphaChannels entry
is left open. The tool prints the aggregate census only and never prints
entry names, which are game data.
2026-11-22 21:16:06 -03:00
b318c73e9c docs(gamedata): describe the PAMH tile coordinate label bit
ASSET-346. Derive tile coordinates from their bounds and document why different cells can share the seven-byte label.

Refs: #787, #4084
2026-11-22 19:05:22 -05:00
35fa527615 fog_volumes: handle corrupt/truncated zlib streams, add regression test, reconcile data/story000 counts 2026-11-23 00:16:32 +01:00
d141b4ae0e mask_channels: left-edge wrap test; gamedata intro scoped to its table (review nits)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:47:54 +01:00
afdbc53daf gamedata: AlphaChannels Channel numbers the dirt mask's R, G, B in order (ASSET-304)
tools/mask_channels.py counts per-channel range, coverage and 4-connected blobs of a DDS export.
On the ped dirt mask: alpha constant 255; G a soft layer (never below 90) used alone by the
dusty/urban entries; R broad (92% one blob at >=64) used alone by snow; B speckled (7.6x R's
blobs) used alone by the spotty entry. The reversed order contradicts both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:45:46 +01:00
88d94c75b3 fog_volumes: remove 256 KiB cap, distinguish stored vs distinct records, report 0x7a scan counts 2026-11-22 23:36:55 +01:00
c79a05339d docs/gamedata: zero is the most frequent second number; meaning and blend stay open (ASSET-310)
The keyframe-range control (kacper-serewis on #3880): among the 25,732
keyframe-matched pairs with a 0 second number, the first number is also
outside the keyframe range in 15,183, so the comparison does not tell
what either number means.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:35:12 +01:00
c4e16231dc ASSET-312: local-space distances are unknown; proximity is not containment
Review of #3888: the 7 origin volumes have only local offsets, so their
distance to interior points is unknown without the parent transform; point
proximity cannot establish containment; and the 385 pack records of #3873 are
record occurrences, not independent placement evidence.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 23:27:02 +01:00
dea102da9c PROC-190: the interpolation labels are stored metadata; the command exports JSON
Review of #3850: the runtime's interval selection and its use of the
interpolation_type label are not verified, and gamedata_reader prints summary
counts while the sample records go to the JSON export.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 23:25:15 +01:00
56cd4d6e3b docs/tools: measure timecycle plain-modifier number pairs (ASSET-310) 2026-11-22 23:22:04 +01:00
3373cec492 ASSET-312: fog volumes, IntExtMode and BlendMode against placement and interiors
BlendMode splits the 14 common.rpf volumes exactly by placement (0 on the
7 world-placed, 1 on the 7 at the origin); IntExtMode is 0 in all 14 and
no volume lies within 100 m of any of the 2,280 InteriorNames points, so
its meaning stays a hypothesis.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:17:56 +01:00
9c92137a4c docs/gamedata: what the two plain timecycle-modifier numbers show (ASSET-310)
Measured over the 29,727 two-number variables of the plain modifiers: the
second number is 0 in 88 % of pairs, the pair is not an ordered range, the
non-zero second numbers do not follow the first, and a 0 second number sits
outside the keyframe range of its variable in 17,041 pairs. The
endpoint-blend reading is therefore replaced by the measurement; what the
second field does when set stays open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:13:19 +01:00
ac2f4d237d docs/tools: package-wide fog volume census and 0x7a scanner (ASSET-308) 2026-11-22 23:11:04 +01:00
1f7ce1abcd Merge pull request #3824 from Kacper Serewis 2026-11-22 17:04:04 -05:00
b99ca4931b PROC-190: Docs: list the 13 timecycle sample hours from time_data
docs/gamedata.md called the hour of each timecycle sample unmeasured in
the timecycle section, while a paragraph that had ended up under the
tyre section said this build reads them from time_data. Move that
paragraph back into the timecycle section, drop the stale note, and add
the measured hours with the payload offset and the command that prints
them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-22 23:03:47 +01:00
d0a2c7c91c Merge pull request #3206 from andretuta
# Conflicts:
#	docs/gamedata.md
2026-11-22 17:00:56 -05:00
08d6d755c5 docs: shore waves' lateralCoord runs along the line; what waveType changes (ASSET-307)
Measured over the 434 ShoreWavePlacementData patches and 7,839 control
points of my own 1.0.2.1 package (aggregate numbers only):

- lateralCoord is linear in arc length along the polyline, at one rate
  everywhere: |b| median 0.00200 per world unit, 1.0 every ~500 units,
  the same for every waveType. It decreases strictly along 416 of the
  434 patches (b < 0 on 426); only 197 of 7,405 steps reverse, by a
  median 0.018. The earlier "not monotonic along 433 of 434" counted
  increasing values only.
- waveType doesn't change amplitude (1.0 everywhere) or that rate. Type 3
  has the shortest reach (maxDistance median 64.6, the only values below
  17), and the six type 2 patches lie in one area. What the types select
  stays open.
2026-11-22 21:58:11 +00:00