← 1.20 ReplayEntropic Dev

REPLAY 1.20 · RESEARCH NOTES

The asset brain

A linked map of loading, rendering, and collision evidence.

34 notes · Latest source update
SOURCE NOTE · Updated 2026-09-28 14:20:05 UTC
On this page

GfxWorld and Lighting

Target-binary evidence

Atlas indexes Load_ProcessStructLayout_GfxWorld at RVA 0x4D1BA0 (10,209 bytes), associated with archive_impl_r_bsp_db.h:32687-32938. Additional target symbols in the same module include the generated GfxWorldDpvs*, primary-light, cell, surface, and transient-zone load families. These are target-symbol facts; source layout status is scoped in Evidence Scope.

Candidate serialized layout

  • Candidate GfxWorld: size 0x41E0, alignment 0x10. Its leading registered fields include bspVersion, primary-light counters/ranges, sort keys, and GfxWorldDpvsPlanes; later components include transient/cell data, surfaces, static models, draw data, dynamic-lightset, static/dynamic DPVS, Umbra gates/tome, and stream-tree grids. Source: archive_impl_r_bsp_db.h:32687-32938; early fields and major groups at lines 32689-32757, visibility/shadow groups at 32901-32905, Umbra at 32907-32923, streaming grids at 32931-32935.
  • Candidate source registers GfxWorld::surfaces at 0xC8, smodels at 0x170, draw at 0x488, dpvs at 0x3BE8, and dpvsDyn at 0x3E60; these numbers are source-candidate offsets only.
  • The world record registers primaryLightCount near the header (candidate offset 0x18) and a GfxDynamicLightset; this establishes named lighting/world records in the source candidate, but not the whole primary-light payload representation.

Format observations

The generated asset schema places render geometry, static models, world draw structures, light data, and visibility payloads beneath a single GfxWorld record, with a mix of inline records and pointer/array members. Loader names and source member registrations establish that division. A complete serialized map format still requires stream and pointer-fixup traces.

Confidence and unknowns

  • High: target GfxWorld layout-registration loader exists at RVA 0x4D1BA0 in the indexed binary.
  • Medium: Atlas source association to the cited generated file.
  • Candidate only: world size/member offsets.
  • Unknown: target exactness, BSP version values, light record layouts, cell-to-surface indexing, static/dynamic DPVS bitset encoding, transient-zone payload boundaries, and resource pointer packing.

Evidence: Evidence Scope · Atlas validation · GfxWorld source.