rollingrock / EngineFixesVR

Port of SSE Engine Fixes for Skyrim VR
MIT License
67 stars 9 forks source link

tbb.dll and tbbmalloc.dll needed by CK fixes. #12

Open ex0-tekk opened 3 years ago

ex0-tekk commented 3 years ago

Hi, are these 2 files from the newest CK fixes ok to use in place of yours? ver. 2019.9.0.0 https://www.nexusmods.com/skyrimspecialedition/mods/20061 Mod Last Updated: March 23, 2021

This mod uses 2 of the same files that you're telling users to delete or replace with yours, so i just want to be 100% sure.

rollingrock commented 3 years ago

I probably have more up to date versions so probably better to use mine.

ex0-tekk commented 3 years ago

Great, thanks for the quick reply!

Drakonas commented 3 years ago

Should we leave the tbb12.dll named tbb12.dll? Name it tbb.dll? Or will tbb12.dll be picked up automatically by CK, and we just delete the tbb.dll?

Currently with tbb.dll deleted and with your tbb12.dll and tbbmalloc.dll, CK crashes.

rollingrock commented 3 years ago

you should not leave tbb.dll in there. But really if everything is installed correctly there should be nothing that picks up tbb.dll so I'm not sure why it would be crashing for you.

ex0-tekk commented 3 years ago

CK does NOT work without tbb.dll, it MUST be left in there in order for CK to work.

rollingrock commented 3 years ago

by CK you mean creation kit?

rollingrock commented 3 years ago

Nevermind sorry I'm caught up. in that case it should be fine to leave both in there but if that doesn't work then you might need to swap them in and out depending on if you want to use creation kit or play the game.

ex0-tekk commented 3 years ago

Yes, swapping is also a great option as tbb.dll is only needed by CK.

rollingrock commented 3 years ago

I might try to find a solution so that only one tbb.dll is required but right now i'm not sure of backwards compatibility. When I had initially done a test it did not work but I don't know if that's because of the dll as i did not spend any time with it.

Drakonas commented 3 years ago

Yes CK = CreationKit. Swapping seems to be the only option currently. With both the tbb and your tbb12/tbbmalloc dll's, CK (CreationKit) will crash.

rollingrock commented 3 years ago

OK cool that's good to know. I'll research if I can get a better solution. I might be able to put tbb12.dll somewhere else that won't crash CK.

Drakonas commented 3 years ago

For the time being, I made a batch script you can use with MO2 or other tools to automatically swap the DLL's and wait for the CreationKit.exe process to close to revert.

Prerequisites:

  1. Have EngineFixesVR dll's as the default (d3dx9_42.dll, tbb12.dll and tbbmalloc.dll)
  2. Have the tbb.dll, tbbmalloc.dll, and winhttp.dll from the latest CreationKitFixes installed, but tbbmalloc.dll named tbbmalloc.dll.CK. winhttp.dll is only used in CK, so it doesn't need to be handled. tbb.dll is required.

    ren tbbmalloc.dll tbbmalloc.dll.vr
    ren tbbmalloc.dll.CK tbbmalloc.dll
    ren tbb12.dll tbb12.dll.vr
    
    start /d "%cd%" /wait CreationKit.exe
    
    ren tbbmalloc.dll tbbmalloc.dll.CK
    ren tbbmalloc.dll.vr tbbmalloc.dll
    ren tbb12.dll.vr tbb12.dll
ex0-tekk commented 3 years ago

Interesting, I don't have issues with CK crashing, ever, with d3dx9_42.dll, tbb.dll, tbb12.dll, tbbmalloc.dll all in the same folder, and using the latest CK fixes.

https://www.nexusmods.com/skyrimspecialedition/mods/20061

When using the original CK release, It is HIGHLY recommend downloading and manually installing this critical CK update if you haven't, it will make CK load MUCH faster, and, no more clicking buttons to load (ignore all), with this update, CK is fully automated on start-up and runs optimized as it should.

I can use this EngineFixesVR mod + CK + This CK Update, with ALL the required files in my SkyrimVR folder, no problems, game runs great, CK runs great.

Drakonas commented 3 years ago

I am.... it crashes with the files installed and yours overwriting it.

I found out tbb.dll is required by SkyrimVR. Adjusted my script.

These are the DLL's in my folder:

Screenshot

Drakonas commented 3 years ago

I noticed in my screenshot that it had xShadowman's plugin loader in there (DINPUT8.dll). I've removed that. I'll have to test this further.