Skip to content

feat: ngify#93

Open
alandtse wants to merge 7 commits intoaers:masterfrom
alandtse:pr/ngify
Open

feat: ngify#93
alandtse wants to merge 7 commits intoaers:masterfrom
alandtse:pr/ngify

Conversation

@alandtse
Copy link
Copy Markdown

Port EngineFixesSkyrim64 to a single unified DLL targeting SE 1.5.97,
AE 1.6.x, and VR 1.4.15 using CommonLib-NG.

alandtse and others added 5 commits April 12, 2026 16:11
Port EngineFixesSkyrim64 to a single unified DLL targeting SE 1.5.97,
AE 1.6.x, and VR 1.4.15 using CommonLib-NG.
…bmodule

Replace raw magic numbers with named enum constants now exposed by the
updated CommonLibSSE submodule (alandtse/CommonLibVR b8c2fb0):
- BSLightingAmbientSpecular: 0x20000/0x200 → TechniqueFlag::kAmbientSpecular/kSpecular
- BSLightingShaderForceAlphaTest: remove local raw constants, use
  BSShaderMaterial::Feature + TechniqueFlag::kDoAlphaTest + kTechniqueIDBase
- BSLightingShaderParallaxBug: 0x3 → Feature::kParallax
- MemoryAccessErrors: 12 → DataID::kTotal, array index → DataID::kParticleDensity
- MusicOverlap: correct vtable source BGSMusicType::VTABLE[1] → BSIMusicType::VTABLE[0]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
VR lacks the caller-side parent-cell null checks that SE added to
IsPlayerInRegion. Patch at REL::ID(21322)+0x22 to load the player
singleton, guard both the player pointer and its parent cell before
calling GetRegionList, and skip cleanly if either is null.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- bGetKeywordItemCount: default true → false (fix has known side-effects)
- bCleanSKSECoSaves: default false → true (safe cleanup, on by default)
- bDupeAddonNodes (VR): default false → true; improve description

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ScrapHeap and MemoryManager both redirect to TBB; using them
independently causes alloc/free type mismatches that crash. Remove the
separate bOverrideScrapHeap setting and always install ScrapHeap inside
the bOverrideMemoryManager branch. Update save_game_max_size guard and
config files accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@alandtse
Copy link
Copy Markdown
Author

Leaving this here in case you're interested. Otherwise I'll just keep the port for Engine Fixes VR.

alandtse and others added 2 commits April 12, 2026 17:05
Switches submodule from lazy_esl branch to ng tip (42c65076f).
ng 4.14.0 includes TechniqueFlag enum and kTechniqueIDBase for BSLightingShader,
fixing the build failure in bslightingambientspecular and bslightingshader_force_alpha_test.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rLoadedGameLimit

Keys were registered as "bRefrMainMenuLimit"/"bRefrLoadedGameLimit" (wrong b prefix
for U32 values), so user edits to those TOML entries had no effect. Defaults happened
to match so no runtime impact, but the TOML was silently ignored.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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