StochasticTinkr / PerformanceTuner

Fallout4 Mod for Improving Game Performance
10 stars 1 forks source link

dxgi.dll causes Creation Kit to crash #6

Open ScottyDoesKnow opened 6 years ago

ScottyDoesKnow commented 6 years ago

Any idea why this would be? Renaming it while using the creation kit avoids the issue, so it's not the biggest deal. Crashes immediately, this is from Event Viewer:

Faulting application name: CreationKit.exe, version: 1.10.15.0, time stamp: 0x5985bd97 Faulting module name: dxgi.dll, version: 0.0.0.0, time stamp: 0x5a288493 Exception code: 0xc00000fd Fault offset: 0x0000000000009806 Faulting process id: 0xb18 Faulting application start time: 0x01d36f1026161eb1 Faulting application path: G:\SteamLibrary\steamapps\common\Fallout 4\CreationKit.exe Faulting module path: G:\SteamLibrary\steamapps\common\Fallout 4\dxgi.dll Report Id: 2aa424a9-cb66-4ba9-bc2f-b731fd1af844 Faulting package full name: Faulting package-relative application ID:

StochasticTinkr commented 6 years ago

If you have any ideas on how to fix this, let me know. In the mean time, you'll just have to move dxgi.dll out of the way when you want to use CK, and then move it back when you play FO4

RabbitB commented 6 years ago

While this isn't a solution, I have come up with a mitigation--a batch file that automatically handles the dll for you, while using the CK.

@echo off
setlocal enabledelayedexpansion
title Launch Fallout 4 Creation Kit

rem     The purpose of this launcher is to help automate the process of launching the Creation Kit. There are certain dll mods 
rem     which crash the Creation Kit, so this batch file temporarily disables them, launches the Creation Kit and then reenables 
rem     them when the Creation Kit is closed.

if not exist CreationKit.exe goto no_ck_found
if exist dxgi.dll goto dxgi_rename
goto ck_start

:dxgi_rename
    ren dxgi.dll dxgi__disabled.dll
    goto ck_start

:ck_start
    start /wait CreationKit.exe

    if exist dxgi__disabled.dll (
        ren dxgi__disabled.dll dxgi.dll
    )

    goto commonexit

:no_ck_found
    echo Cannot find Creation Kit. Exiting.
    goto commonpause

:commonexit
exit

:commonpause
pause