hand79 wrote:For me the patch works fine, too. Hope the new SKSE will work without steam. Somebody knows something about this?
Yes, for sure. Analysing the source code, it appears that skse can work both with steam or without it.
Code: Select all
// inject the dll
switch(procType)
{
case kProcType_Steam:
{
std::string steamHookDllPath = runtimeDir + "\\skse_steam_loader.dll";
injectionSucceeded = InjectDLLThread(&procInfo, steamHookDllPath.c_str(), true);
}
break;
case kProcType_Normal:
if(InjectDLL(&procInfo, dllPath.c_str(), &procHookInfo))
{
injectionSucceeded = true;
}
break;
default:
HALT("impossible");
}
In the new alpha release, devs have created a new option that forces skse to load the skse_steam_loader dll, even if you do not use steam to run TESV.exe.
The new parameter is -forcesteamloader.
It works perfecly in a shortcut, or within Mod Organizer, in order to launch skse with the sheson's fix activated.
Also, don't forget to modify skse.ini like this:
Code: Select all
[Memory]
DefaultHeapInitialAllocMB=768
ScrapHeapSizeMB=256
The result in skse_loader.log =>
Code: Select all
skse loader 01070000 01CF1D4742ED2343 6.1 (7601)
runtime root = D:\Loisirs\RPG\Skyrim\
config path = D:\Loisirs\RPG\Skyrim\Data\SKSE\skse.ini
procPath = D:\Loisirs\RPG\Skyrim\\TESV.exe
launching: TESV.exe (D:\Loisirs\RPG\Skyrim\\TESV.exe)
dwSignature = FEEF04BD
dwStrucVersion = 00010000
dwFileVersionMS = 00010009
dwFileVersionLS = 00200000
dwProductVersionMS = 00010009
dwProductVersionLS = 00200000
dwFileFlagsMask = 00000017
dwFileFlags = 00000000
dwFileOS = 00000004
dwFileType = 00000001
dwFileSubtype = 00000000
dwFileDateMS = 00000000
dwFileDateLS = 00000000
version = 0001000900200000
normal exe
hook call addr = 00F56831
load lib addr = 0106B0B4
dll = D:\Loisirs\RPG\Skyrim\\skse_1_9_32.dll
main thread id = 2296
forcing steam loader
hookBase = 001F0000
loadLibraryAAddr = 75384977
hook thread complete
launching
Note the
forcing steam loader line.
The result in skse_steam_loader.log =>
Code: Select all
skse loader 01070000 (steam) 01CF1D47434C5A4E 6.1 (7601)
base addr = 72CF0000
GetSystemTimeAsFileTime IAT = 0106B1D8
original GetSystemTimeAsFileTime = 753834A9
patched GetSystemTimeAsFileTime = 72CF16C0
GetStartupInfoA IAT = 0106B1D0
original GetStartupInfoA = 75380E00
patched GetStartupInfoA = 72CF16E0
InstallHook: thread = 2296 retaddr = 00F69112 hookSrc = 0
appPath = D:\Loisirs\RPG\Skyrim\TESV.exe
dwSignature = FEEF04BD
dwStrucVersion = 00010000
dwFileVersionMS = 00010009
dwFileVersionLS = 00200000
dwProductVersionMS = 00010009
dwProductVersionLS = 00200000
dwFileFlagsMask = 00000017
dwFileFlags = 00000000
dwFileOS = 00000004
dwFileType = 00000001
dwFileSubtype = 00000000
dwFileDateMS = 00000000
dwFileDateLS = 00000000
version = 0001000900200000
normal exe
dll = D:\Loisirs\RPG\Skyrim\skse_1_9_32.dll
old winmain = 0069D1D0
runtime root = D:\Loisirs\RPG\Skyrim\
config path = D:\Loisirs\RPG\Skyrim\Data\SKSE\skse.ini
overriding memory pool sizes
default heap = 768MB (effective 512MB if not preloading animations)
scrap heap = 256MB
OnHook: thread = 2296
calling winmain
returned from winmain (0)
Note the
default heap = 768MB (effective 512MB if not preloading animations) line, as well as the
scrap heap = 256MB line.