Having CTD with Kingdoms of Amalur Re-reckoning

So I Originally had this problem:

@Kaldaien suggested I change SleeplessWindowThread=false due it it being defaulted to true.

This is what my koa.ini is set to (default except the change to the above line):

[Compatibility.General]
DisableBloatWare_NVIDIA=false
RehookLoadLibrary=false

[SpecialK.System]
ShowEULA=false
Silent=false
LogLevel=0
IgnoreRTSSHookDelay=false
UseCrashHandler=true
GameOutput=true
EnableCEGUI=true
SafeInitCEGUI=true
TraceLoadLibrary=true
StrictCompliant=false
Version=0.11.0.48

[ImGui.Render]
DisableAlpha=false
AntialiasLines=true
AntialiasContours=true

[API.Hook]
LastKnown=64
ddraw=true
d3d8=true
d3d9=true
d3d9ex=true
d3d11=true
OpenGL=true

[NVIDIA.API]
DisableHDR=false
Disable=false

[NVIDIA.Bugs]
AnselSleepsWithFishes=true

[Input.Keyboard]
CatchAltF4=true
DisabledToGame=false

[Input.Mouse]
DisabledToGame=false

[Input.Cursor]
Manage=false
KeyboardActivates=true
Timeout=1.5
ForceCaptureInUI=false
UseHardwareCursor=true
BlockInvisibleCursorInput=false
NoWarpUI=true
NoWarpVisibleGameCursor=true
FixSynapticsTouchpadScroll=false
AntiwarpDeadzonePercent=2.5
UseRelativeInput=true

[Input.Gamepad]
DisabledToGame=false
DisablePS4HID=false
AllowHapticUI=true
DisableRumble=false

[Input.XInput]
Rehook=false
PlaceholderMask=0
UISlot=0
SlotReassignment=0,1,2,3

[Input.Steam]
UISlot=0

[Threads.Analyze]
MemoryAllocation=false
FileActivity=false

[Window.System]
Borderless=false
Center=false
RenderInBackground=false
MuteInBackground=false
XOffset=0.0%
YOffset=0.0%
ConfineCursor=false
UnconfineCursor=false
PersistentDragPos=false
Fullscreen=false
FixMouseCoords=false
AlwaysOnTop=0
DisableScreensaver=false
DontHookWndProc=false
OverrideRes=0x0

[Display.Output]
ForceFullscreen=false
ForceWindowed=false

[Render.FrameRate]
TargetFPS=0.0
BackgroundFPS=0.0
SleeplessRenderThread=true
SleeplessWindowThread=false
EnableMMCSS=true
MaxBusyWaitPercent=0.825
WaitForVBLANK=false
PreRenderLimit=-1
BackBufferCount=-1
PresentationInterval=-1
RescanRatio=-1/1
RefreshRate=-1.0
LimitEnforcementPolicy=4

[FrameRate.Control]
OverrideCPUCoreCount=-1

[Render.DXGI]
MaxDeltaTime=0
UseFlipDiscard=false
DisableFlipModel=false
AllowTearingInDWM=true
DropLateFrames=true
MaxRes=0x0
MinRes=0x0
SwapChainWait=0
Scaling=DontCare
ScanlineOrder=DontCare
ExceptionMode=DontCare
EnableDebugLayer=false
SafeFullscreenMode=false
Use64BitDepthStencil=false
IsolateD3D11DeferredContexts=false
SkipSwapChainPresentTest=false
OverrideMSAA=-1

[Textures.D3D11]
Cache=true
PreciseHash=false
Inject=true
InjectionKeepsFormat=false
GenerateMipmaps=false

[Textures.Cache]
MaxEntries=65536
MinEntries=512
MaxEvict=1024
MinEvict=64
MaxSizeInMiB=2048
MinSizeInMiB=384
IgnoreNonMipmapped=false
AllowStaging=false
AllowUnsafeRefCounting=false
ManageResidency=false

[Render.D3D9]
ForceD3D9Ex=false
EnableTextureMods=false

[Render.OSD]
ShowInVideoCapture=true
HDRLuminance=4.375

[Textures.General]
ResourceRoot=SK_Res
DumpOnFirstLoad=false

[DPI.Scaling]
Disable=false
PerMonitorAware=false
MonitorAwareOnAllThreads=false

[Steam.Achievements]
SoundFile=

[Steam.System]
AppID=1041720
AutoInitDelay=0
AutoPumpCallbacks=true
BlockUserStatsCallback=false
FilterExternalDataFromCallbacks=true
PreLoadSteamClient=false
PreLoadSteamOverlay=false
ForceLoadSteamAPI=false
AutoInjectSteamAPI=true
NotifyCorner=DontCare
ReuseOverlayPause=true
SteamPipeDLL=steam_api.dll
CallbackThrottle=-1

[Steam.Social]
OnlineStatus=-1

[Steam.Log]
Silent=false

[Steam.DRMWorks]
SpoofBLoggedOn=false

[Steam.Screenshots]
EnableSmartCapture=true

[AMD.ADL]
Disable=false

[SpecialK.HDR]
scRGBLuminance_[0]=1.0
scRGBGamma_[0]=1.0
InputColorSpace_[0]=4
OutputColorSpace_[0]=4
scRGBLuminance_[1]=1.0
scRGBGamma_[1]=1.0
InputColorSpace_[1]=4
OutputColorSpace_[1]=4
scRGBLuminance_[2]=1.0
scRGBGamma_[2]=1.0
InputColorSpace_[2]=4
OutputColorSpace_[2]=4
scRGBLuminance_[3]=1.0
scRGBGamma_[3]=1.0
InputColorSpace_[3]=4
OutputColorSpace_[3]=4
Use10BitSwapChain=false
Use16BitSwapChain=false
Promote8BitRTsTo16=false
Promote10BitRTsTo16=true
Promote11BitRTsTo16=true
AllowFullLuminance=false
Preset=0

[HDR.Presets]
Activate0=F1
Activate1=F2
Activate2=F3
Activate3=F4

[D3D11.Hooks]
D3D11CreateDevice=c:\windows\system32\d3d11.dll?538e0
c:\windows\system32\d3d11.dll=Direct3D 11 Runtime  10.0.19041.1 (WinBuild.160101.0800)
D3D11CreateDeviceAndSwapChain=c:\windows\system32\d3d11.dll?53810
EnableGlobalCache=true
EnableLocalCache=false

[DXGI.Hooks]
IDXGIFactory_CreateSwapChain=c:\windows\system32\dxgi.dll?62ec0
c:\windows\system32\dxgi.dll=DirectX Graphics Infrastructure  10.0.19041.488 (WinBuild.160101.0800)
IDXGIFactory2_CreateSwapChainForHwnd=c:\windows\system32\dxgi.dll?63720
IDXGISwapChain_Present=c:\windows\system32\dxgi.dll?6de40
IDXGISwapChain1_Present1=c:\windows\system32\dxgi.dll?6dd00
IDXGIFactory2_CreateSwapChainForCoreWindow=c:\windows\system32\dxgi.dll?63590
EnableGlobalCache=true
EnableLocalCache=false

This is what the crash log file is showing:

09/17/2020 21:56:05.168: DebugHelper Symbol Search Path......: 
09/17/2020 21:56:05.168: Special K Debug Symbols Loaded From.: C:\Users\*****\Desktop\specialk\SpecialK32.pdb
09/17/2020 21:56:23.603: 
	Unhandled Top-Level Exception (c0000005):

-----------------------------------------------------------
[! Except !] 	<< EXCEPTION_ACCESS_VIOLATION >>
-----------------------------------------------------------
[  Thread  ]  ~ Name.....: "[GAME] Primary Render Thread"
[ FaultMod ]  # File.....: 'D:\Kingdoms of Amalur Re-Reckoning\steam_api.dll'
[ FaultMod ]  * EIP Addr.: steam_api.dll+0007E2F6h
[StackFrame] <-> Eip=50c6e2f6h, Esp=0075b73ch, Ebp=0075b768h
[StackFrame] >-< Esi=4aa58ff8h, Edi=51098617h
[  GP Reg  ]   eax:    0x00000001    ebx:    0x0075c5d8
[  GP Reg  ]   ecx:    0x77963000    edx:    0x0099b730
[ GP Flags ]   EFlags: 0x00210246
-----------------------------------------------------------
  steam_api.dll >                      THQNO_Matchmaking
  steam_api.dll >                      THQNO_Matchmaking
 SpecialK32.dll >           SK_ImGui_GamepadComboDialog0
 SpecialK32.dll >                  SK_ImGui_ControlPanel
 SpecialK32.dll >      SK_ImGui_InstallOpenCloseCallback
 SpecialK32.dll >                     SK_ImGui_DrawFrame
 SpecialK32.dll >             SKX_D3D11_EnableFullscreen
 SpecialK32.dll >             SKX_D3D11_EnableFullscreen
 SpecialK32.dll >                      SKX_SetPluginName
        koa.exe >               keen::graphics::endFrame  <    c:\unit4projects\koar\root\code\library\modules\runtime\graphics\sources\d3d11\graphicssystem_d3d11.cpp:662>
        koa.exe >  keen::GameFramework::Internal::render  < c:\unit4projects\koar\root\code\library\modules\runtime\gameframework\sources\global\gameframeworkmain.cpp:169>
        koa.exe >              keen::GameFramework::main  < c:\unit4projects\koar\root\code\library\modules\runtime\gameframework\sources\global\gameframeworkmain.cpp:222>
        koa.exe >                                WinMain  <c:\unit4projects\koar\root\code\library\modules\runtime\gameframework\sources\win32\gameframework_win32.cpp:1143>
        koa.exe >                      __tmainCRTStartup  <                                                              f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c:275>
   KERNEL32.DLL >                    BaseThreadInitThunk
      ntdll.dll >      RtlGetAppContainerNamedObjectPath
      ntdll.dll >      RtlGetAppContainerNamedObjectPath
-----------------------------------------------------------

09/17/2020 21:56:23.622: 
	Unhandled Top-Level Exception (c0000005):

-----------------------------------------------------------
[! Except !] 	<< EXCEPTION_ACCESS_VIOLATION >>
-----------------------------------------------------------
[  Thread  ]  ~ Name.....: "[GAME] Primary Render Thread"
[ FaultMod ]  # File.....: 'D:\Kingdoms of Amalur Re-Reckoning\steam_api.dll'
[ FaultMod ]  * EIP Addr.: steam_api.dll+0007E2F6h
[StackFrame] <-> Eip=50c6e2f6h, Esp=0075b73ch, Ebp=0075b768h
[StackFrame] >-< Esi=4aa58ff8h, Edi=51098617h
[  GP Reg  ]   eax:    0x00000001    ebx:    0x0075c5d8
[  GP Reg  ]   ecx:    0x77963000    edx:    0x0099b730
[ GP Flags ]   EFlags: 0x00210246
-----------------------------------------------------------
  steam_api.dll >                      THQNO_Matchmaking
  steam_api.dll >                      THQNO_Matchmaking
 SpecialK32.dll >           SK_ImGui_GamepadComboDialog0
 SpecialK32.dll >                  SK_ImGui_ControlPanel
 SpecialK32.dll >      SK_ImGui_InstallOpenCloseCallback
 SpecialK32.dll >                     SK_ImGui_DrawFrame
 SpecialK32.dll >             SKX_D3D11_EnableFullscreen
 SpecialK32.dll >             SKX_D3D11_EnableFullscreen
 SpecialK32.dll >                      SKX_SetPluginName
        koa.exe >               keen::graphics::endFrame  <    c:\unit4projects\koar\root\code\library\modules\runtime\graphics\sources\d3d11\graphicssystem_d3d11.cpp:662>
        koa.exe >  keen::GameFramework::Internal::render  < c:\unit4projects\koar\root\code\library\modules\runtime\gameframework\sources\global\gameframeworkmain.cpp:169>
        koa.exe >              keen::GameFramework::main  < c:\unit4projects\koar\root\code\library\modules\runtime\gameframework\sources\global\gameframeworkmain.cpp:222>
        koa.exe >                                WinMain  <c:\unit4projects\koar\root\code\library\modules\runtime\gameframework\sources\win32\gameframework_win32.cpp:1143>
        koa.exe >                      __tmainCRTStartup  <                                                              f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c:275>
   KERNEL32.DLL >                    BaseThreadInitThunk
      ntdll.dll >      RtlGetAppContainerNamedObjectPath
      ntdll.dll >      RtlGetAppContainerNamedObjectPath
-----------------------------------------------------------

Anyone have any ideas?

Try the following edit to your INI:

Since you claim to be using the GOG version of the game, there’s no reason to enable Special K’s Steam stuff. It’s amazing how weird these things get when you take a game from GOG and Special K sees that it ships with SteamAPI and starts using it, and then the game blows up.

It happens A LOT. Game developers really should not be shipping support libraries for other stores with their games. This works in reverse too, I have a bunch of Steam games that boot up Galaxy.dll even though I don’t even have GOG Galaxy installed anywhere on my system.

@Kaldaien Thanks I’ll give it a shot! Well from the mouth of the developers I work with…they claim “most devs are pretty lazy”. And it looks like the edit worked!