https://bugs.winehq.org/show_bug.cgi?id=44717
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Alistair,
thanks, confirming working.
It seems this was the only thing needed. For whatever reason, it didn't do any serious stuff with script control. The game runs without any overrides.
NOTE: If the WINEPREFIX gets updated due to newer Wine version you always need to move 'kernel32.dll' placeholder out of the way again (windows/system32 for 32-bit WINEPREFIX, windows/syswow64 in 64-bit WINEPREFIX).
--- snip --- $ pwd /home/focht/wine-games/wineprefix64-steam/drive_c/Program Files (x86)/Steam
$ WINEDEBUG=+seh,+loaddll,+process,+debugstr,+msscript,+jscript,+relay wine ./steam.exe -applaunch 337640 -no-cef-sandbox -nominidumps -nobreakpad -noassert -nocrashdialog -windowed >>log.txt 2>&1 ... 0069:Call KERNEL32.LoadLibraryExW(0033f58e L"C:\windows\system32\msscript.ocx",00000000,00000008) ret=10085b02 0069:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\msscript.ocx" at 0x7c420000: builtin 0069:Call PE DLL (proc=0x7c432e07,module=0x7c420000 L"msscript.ocx",reason=PROCESS_ATTACH,res=(nil)) 0069:trace:msscript:DllMain (0x7c420000 1 (nil)) 0069:Ret PE DLL (proc=0x7c432e07,module=0x7c420000 L"msscript.ocx",reason=PROCESS_ATTACH,res=(nil)) retval=1 0069:Call msscript.ocx.DllGetClassObject(0033f8f8,7e0ab748,0033f908) ret=7dfcc117 0069:trace:msscript:DllGetClassObject (CLSID_ScriptControl {00000001-0000-0000-c000-000000000046} 0x33f908) 0069:trace:msscript:ClassFactory_QueryInterface (0x7c43e5e4)->(IID_IClassFactory 0x33f908) 0069:trace:msscript:ClassFactory_AddRef (0x7c43e5e4) 0069:Ret msscript.ocx.DllGetClassObject() retval=00000000 ret=7dfcc117 0069:trace:msscript:ScriptControl_CreateInstance ((nil) {00000000-0000-0000-c000-000000000046} 0x33f90c) 0069:trace:msscript:ScriptControl_QueryInterface (0x2082a30)->(IID_IUnknown 0x33f90c) 0069:trace:msscript:ScriptControl_AddRef (0x2082a30) ref=2 0069:trace:msscript:ScriptControl_Release (0x2082a30) ref=1 0069:trace:msscript:ClassFactory_Release (0x7c43e5e4) 0069:fixme:msscript:ScriptControl_QueryInterface (0x2082a30)->({00000126-0000-0000-c000-000000000046} 0x33fa04) 0069:trace:msscript:ScriptControl_QueryInterface (0x2082a30)->(IID_IScriptControl 0x3378e58) 0069:trace:msscript:ScriptControl_AddRef (0x2082a30) ref=2 0069:trace:msscript:ScriptControl_Release (0x2082a30) ref=1 0069:trace:msscript:ScriptControl_put_AllowUI (0x2082a30)->(ffffffff) 0069:trace:msscript:ScriptControl_put_Language (0x2082a30)->(L"JScript") 0069:trace:msscript:ActiveScriptSite_AddRef (0x2024dd0) ref=2 0069:trace:msscript:ActiveScriptSite_GetLCID (0x2024dd0, 0x33f92c) 0069:trace:msscript:ActiveScriptSite_AddRef (0x2024dd0) ref=3 0069:fixme:msscript:ActiveScriptSite_OnStateChange (0x2024dd0, 5) ... 007f:Call PE DLL (proc=0x7c432e07,module=0x7c420000 L"msscript.ocx",reason=PROCESS_DETACH,res=0x1) 007f:trace:msscript:DllMain (0x7c420000 0 0x1) ... --- snip ---
$ wine --version wine-3.3-263-gbf7b21ec7b
Regards