Skip to content

Port to Skyrim SE 1.7.99 (Address Library format 5) - #4

Open
drLemis wants to merge 1 commit into
MaskedRPGFan:mainfrom
drLemis:se-1.7.99-port
Open

Port to Skyrim SE 1.7.99 (Address Library format 5)#4
drLemis wants to merge 1 commit into
MaskedRPGFan:mainfrom
drLemis:se-1.7.99-port

Conversation

@drLemis

@drLemis drLemis commented Aug 28, 2026

Copy link
Copy Markdown

Skyrim SE 1.7.99 Port

This PR updates FormList Manipulator to work with Skyrim SE 1.7.99 (released August 20, 2026), which introduced Address Library format 5 and broke many SKSE plugins.

What changed

Build CommonLibSSE-NG from source (alandtse/CommonLibVR ng branch v6.7.0) instead of using the vcpkg-colorglass registry package (v3.7.0, which predates 1.7.99).

Source code changes (2 files, ~20 lines):

  • \ExternalModules.hpp: \SKSE::WinAPI\ namespace removed in CommonLib 6.7.0 → direct Win32 API
  • \LogInfo.hpp: \std::make_format_args\ broken in MSVC 14.44 C++23 → \mt::format\

Build system changes (3 files):

  • \CMakeLists.txt: Build CommonLibNG from source via \dd_subdirectory\
  • \cpkg.json: Replace \commonlibsse-ng\ with CommonLib's transitive deps
  • \cpkg-configuration.json: Add default vcpkg registry

Testing

  • Built successfully with Visual Studio 2022 (MSVC 14.44)
  • Verified DLL loads in Skyrim SE 1.7.99
  • No logic changes, pure compatibility update

Credits

Original mod by MaskedRPGFan (MIT License)
Port using CommonLibVR ng branch by alandtse

@drLemis
drLemis force-pushed the se-1.7.99-port branch 2 times, most recently from a1585e7 to 8adde1b Compare August 28, 2026 23:04
Build CommonLibSSE-NG from source (alandtse/CommonLibVR ng branch v6.7.0)
which has full 1.7.99 support, since the vcpkg-colorglass registry only
ships v3.7.0 (predates 1.7.99).

Changes:
- CMakeLists.txt: Build CommonLibNG from source via add_subdirectory
- vcpkg.json: Replace commonlibsse-ng with CommonLib's transitive deps
- vcpkg-configuration.json: Add default vcpkg registry for new deps
- ExternalModules.hpp: SKSE::WinAPI namespace removed in CommonLib 6.7.0,
  replaced with direct Win32 API calls (HMODULE, GetModuleHandleW, MessageBoxA)
- LogInfo.hpp: std::vformat + std::make_format_args broken in MSVC 14.44
  C++23 mode, replaced with fmt::format(fmt::runtime(...))

No logic changes. Pure dependency/API compatibility update.
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