About this mod
Redirects "Documents\My Games\SKYRIM.INI\" to "Documents\My Games\Skyrim Special Edition\" via MO2 VFS.
- Requirements
- Permissions and credits
- Changelogs
Since upgrading to 1.6.117x users may have noticed they have 2 folders in documents
Documents\My Games\Skyrim.INI
and
Documents\My Games\Skyrim Special Edition
Some plugins compiled with older common lib will incorrectly write logs to Documents\My Games\SKYRIM.INI\SKSE\*.log
So my OCD got triggered and I created this simple plugin that stupidly redirects all read/write attempts
Documents\My Games\SKYRIM.INI -> Documents\My Games\Skyrim Special Edition
Installation:
- Close MO2
- drop SKSELogRedirector.py to your <MO2>\plugins\ directory
- remove Documents\My Games\Skyrim.INI folder, it should only contain log files that get re-created every game start.
- alternatively move contents of Documents\My Games\Skyrim.INI to Documents\My Games\Skyrim Special Edition if you don't want to delete it.
- Open MO2, launch game via SKSE as usual, Skyrim.INI folder should not appear anymore. All logs will properly go to Documents\My Games\Skyrim Special Edition\SKSE\
Optional GOG version also provided, can be used in addition to main file.
Redirects "Skyrim Special Edition" -> "Skyrim Special Edition GOG"
A user also reported files can get created in Documents\My Games\Skyrim VR, despite running SSE 1.6.117x with no VR installed.
I've uploaded optional file to take care of that as well.
You don't need it unless you encounter this bug.
Don't try to use it on actual VR mo2 instance - things will break ;=)
Don't pester SKSE team, they are aware.
Some into and quote from here:
https://stepmodifications.org/forum/topic/19517-sse-161170-or-mo2-now-making-skyrimini-folder/
Despite the name of the function, this is actually a bug in a CommonLib
function caused by the Address Library. The CommonLib function calls a
game function identified by an Address Library ID to get the log path.
Unfortunately, since the Address Library is impossible to check by hand
for accuracy, the ID started to refer to the wrong function after one
update. I assume at least one of the CommonLib forks out there has been
updated to fix this, but plugins will need to be recompiled against a
newer version of CommonLib to receive the fix.
Also big fat warning about Windows 11.
MO2 currently has a bug on win11, where some .dll and python plugins simply ignore VFS and can escape it.
It's a very very major bug that forced me to downgrade to Win10.
I have no idea if this plugin catches all .dll that write to Skyrim.INI on win11 as I can't test. But users report it works fine on win11.
MIT Licensed
Based on
- https://github.com/Exit-9B/LOOTConfigLoader/blob/main/lootconfigloader/lootconfigmapper.py
- https://github.com/LostDragonist/MO2-Plugins/blob/master/src/GameRedirector/GameRedirector.py
- https://github.com/Osmosis-Wrench/Settings-Files-Mapper/blob/main/plugins/SettingsFilesMapper.py