Repository navigation
sf-patch-day 0.3.0
What's new
sf-patch-day 0.3.0 says which framework each SFSE plugin was built with: CommonLibSF, plain SFSE (SFSE's own plugin API without CommonLibSF), or "can't tell". It also says whether the plugin shows signs of using Address Library. Each answer comes with the evidence that decided it. sf-patch-day reads the DLL's bytes for this, and a same-name PDB beside it when there is one. It never loads or runs the DLL, and it says "can't tell" rather than guess. The verdicts and exit codes haven't changed.
Example
This is a real run on one installed plugin (the mod and author names changed):
> .\sf-patch-day.cmd dlls "C:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\SFSE\Plugins\NewModB.dll"
sf-patch-day 0.3.0 dlls
Game version: 1.16.244 (read from C:\Program Files (x86)\Steam\steamapps\common\Starfield\Starfield.exe)
SFSE: 0.2.21 for this game version found (sfse_1_16_244.dll)
Address Library: versionlib-1-16-244-0.bin found (C:\Program Files (x86)\Steam\steamapps\common\Starfield\Data\SFSE\Plugins)
WORKS NewModB.dll
'NewModB' by AuthorB, plugin version 1.4.17; Address Library; 1.14.70+ structure layout
framework: CommonLibSF (11 CommonLibSF source paths, commonlib-shared, 17 RE type names); Address Library: yes (version data, versionlib file name, Address Library text)
why: lists 1.16.244
Frameworks: CommonLibSF 1, plain SFSE 0, can't tell 0
RESULT: everything checked loads (works: 1)
On a Steam install with 15 SFSE plugins, the last lines read Frameworks: CommonLibSF 3, plain SFSE 7, can't tell 5.
Changes
dllsprints aframework:line for each SFSE plugin and aFrameworks:count before theRESULT:line. README.md, "Which framework a plugin uses", explains the signs it counts and the rule it applies.dlls --jsonadds the keysframework,framework_why,framework_evidence,uses_address_libraryandaddress_library_evidenceto each SFSE plugin, andframeworksto the report. No key was renamed or removed.- A PDB with the same name as the DLL, in the same folder or the same zip folder, is read too. A PDB bigger than 1 GB (512 MB inside a zip) is skipped.
- The README shows how to check one DLL (
dlls <file.dll>). - The README says that Vortex deploys mods into Data and Mod Organizer 2 never does.
SHA-256 of sf-patch-day-0.3.0.zip: d51b57e999ad1af2f2563aee210d8832c7a16b3a08373ed289af2c77c9e7dc72