Skip to content

Add Address Library IDs for planet survey / knowledge / star-map scan - #41

Closed
pjmagee wants to merge 1 commit into
libxse:mainfrom
pjmagee:feat/survey-planet-scan-ids
Closed

Add Address Library IDs for planet survey / knowledge / star-map scan#41
pjmagee wants to merge 1 commit into
libxse:mainfrom
pjmagee:feat/survey-planet-scan-ids

Conversation

@pjmagee

@pjmagee pjmagee commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds verified Address Library IDs used by planet survey / PlayerKnowledge / star-map scan workflows (production-tested in Complete Planet Survey on Starfield 1.16.236–1.16.244).

ID-only PR (matches recent contributions such as book-event IDs): no speculative class layouts or offset structs. Layout notes stay in comments / call sites until dedicated headers can be proposed separately.

Namespaces added / extended

Namespace IDs
BGSPlanet SetTraitKnown 52155, ProgressUpdater 52157, ScanLevelWriter 52173, SurveyDiscriminator 938333
BSGalaxy::KnowledgeManager GetSingleton 126578
BSComponentDB2 Lookup 126806
BSTArray U32PushGrow 35755
MiscStat entry count / table base / tracking / flora-fauna-unique name keys
PlayerKnowledge IncrementScanFlag 124898, SetPercentByte 124899, SpeciesSlotHash 124901
Scannable ResolveCanonicalForm 83006
Survey CheckNotify 97853, Aggregator 1016657, AggregatorBufferFree 65318, ScanCompletePlanet 102650
StarMap RefreshPanelData 93988, ScanHandler 94011
TESForm AllFormsMap 883341

Explicit non-goals

Test plan

  • IDs present and non-zero in versionlib-1-16-244-0.bin
  • Same IDs resolve on 1.16.236 / 1.16.242 / 1.16.244 in Complete Planet Survey load-time probe
  • CI / xmake build green on this PR
  • Reviewer sanity-check namespaces match project conventions

… paths

IDs verified against Starfield 1.16.236-1.16.244 versionlibs and used in
production by the Complete Planet Survey SFSE plugin. ID-only addition -
no speculative class layouts (layouts remain documented at call sites until
dedicated headers land).

Includes: BSGalaxy knowledge manager singleton, knowledge DB lookup,
PlayerKnowledge slot writers, survey notify/aggregator/scan-complete,
BGSPlanet trait/progress/scan-level writers, star-map panel handlers,
misc-stat table globals, scannable canonical resolve, BSTArray u32 grow,
TESForm all-forms map holder.

Does not fill StarMapMenu_* GetEventSource zeros: id 142196 is not a
TLS-style GetEventSource and needs separate identification.
@pjmagee

pjmagee commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

Consolidating fork branches: same commits now live on upstream-fixes. Replacing with a PR from pjmagee:upstream-fixes.

@pjmagee pjmagee closed this Jul 18, 2026
@pjmagee
pjmagee deleted the feat/survey-planet-scan-ids branch July 18, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant