FF13Fix icon indicating copy to clipboard operation
FF13Fix copied to clipboard

FFXIII crashes on startup

Open Fwha opened this issue 4 years ago • 5 comments

When I start the game from launcher, it just doesn't even start. If I delete the fix though, the game starts. This is what's in the log file. The only mod I have is the playstation button mod. Otherwise, it's a fresh install.

[TIME]		[THREAD]	[LOG]
14:51:16.286	00004048	FF13Fix 1.6.4 https://github.com/rebtd7/FF13Fix
14:51:16.286	00004048	Enabling hooks:
14:51:16.286	00004048	initializeHooks = 0
14:51:16.288	00004048	Loaded C:\Windows\system32\d3d9.dll
14:51:16.288	00004048	createHookDirect3DCreate9 = 0
14:51:16.301	00004048	enableHookDirect3DCreate9 = 0
14:51:16.301	00004048	createHookDirect3DCreate9Ex = 0
14:51:16.313	00004048	enableHookDirect3DCreate9Ex = 0
14:51:16.313	00004048	createHookCreateWindowExA = 0
14:51:16.326	00004048	enableHookCreateWindowExA = 0
14:51:16.326	00004048	createHookCreateWindowExW = 0
14:51:16.338	00004048	enableHookCreateWindowExW = 0
14:51:16.338	00004048	createHookSetWindowLongA = 0
14:51:16.350	00004048	enableHookSetWindowLongA = 0
14:51:16.350	00004048	createHookSetWindowLongW = 0
14:51:16.362	00004048	enableHookSetWindowLongW = 0
14:51:17.114	00004048	HWND 0x001207CC: ClassName "OleMainThreadWndClass", WindowName: "OleMainThreadWndName"
14:51:19.999	00004048	MainContext::HookDirect3DCreate9
14:51:20.036	00004048	hkIDirect3D9::GetAdapterIdentifier
14:51:20.038	00004048	hkIDirect3D9::GetAdapterIdentifier
14:51:20.040	00004048	MainContext::HookDirect3DCreate9Ex
14:51:20.215	00004048	HWND 0x007A07A2: ClassName "Static", WindowName: "test"
14:51:20.215	00004048	MainContext::HookDirect3DCreate9
14:51:20.246	00004048	hkIDirect3D9::CreateDevice
14:51:20.246	00004048	hkIDirect3D9::ApplyCreateDeviceFix
14:51:20.246	00004048	BehaviorFlags: 00000056 D3DCREATE_FPU_PRESERVE D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE
14:51:20.246	00004048	BackBufferCount: BackBufferCount set to 3
14:51:20.839	00004048	WARNING: Reference count for IDirect3D9 is wrong: 465C73B8 0 1
14:51:20.841	00004048	HWND 0x001307CC: ClassName "SQEX.CDev.Engine.Framework.MainWindow", WindowName: ""
14:51:20.843	00004048	MainContext::HookDirect3DCreate9
14:51:20.849	00004048	hkIDirect3D9::CreateDevice
14:51:20.849	00004048	hkIDirect3D9::ApplyCreateDeviceFix
14:51:20.849	00004048	BehaviorFlags: 00000056 D3DCREATE_FPU_PRESERVE D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE
14:51:20.849	00004048	BackBufferCount: BackBufferCount set to 3
14:51:20.849	00004048	Changing refresh rate from 60 to 0
14:51:20.887	00004048	HWND 0x001706CE: ClassName "CicMarshalWndClass", WindowName: "CicMarshalWnd"
14:51:20.888	00004048	HWND 0x001806CE: ClassName "CicMarshalWndClass", WindowName: "CicMarshalWnd"
14:51:20.924	00007932	HWND 0x003C0524: ClassName "D3DProxyWindow", WindowName: "D3DProxyWindow"
14:51:21.486	00004048	WARNING: Reference count for IDirect3D9 is wrong: 08D04380 0 2

Fwha avatar Mar 28 '21 21:03 Fwha

@Nucleoprotein It seems there's still something wrong with the ref count unfortunately... WARNING: Reference count for IDirect3D9 is wrong

rebtd7 avatar Mar 30 '21 13:03 rebtd7

@Fwha please add system spec, CPU, GPU and OS. I think this is from Windows 7?

Nucleoprotein avatar Mar 30 '21 17:03 Nucleoprotein

1070 ti i7 6700k windows 10 64bit

Fwha avatar Mar 31 '21 00:03 Fwha

I do not know if this is the same problem or not but FF13-2 also crashes for me on startup. I have 7.1 audio and after some testing I noticed that the game starts without crashing if i turn off compatibility mode to windows 8, however doing so means that I now have an annoying buzzing in my ear. Removing FF13Fix but turning on compatibility mode with windows 8 lets the game launch without crashing and not having an annoying buzzing sound in the audio. It seams that FF13Fix is not compatible with windows compatibility mode since having both on causes the game to crash on startup.

My system is: i5-3570K R9 390X Windows 10 64bit

This is what FF13Fix.log read with out compatibility mode where the game launches without crashing: [TIME] [THREAD] [LOG] 11:30:03.081 00007488 FF13Fix 1.6.4 https://github.com/rebtd7/FF13Fix 11:30:03.081 00007488 Enabling hooks: 11:30:03.082 00007488 initializeHooks = 0 11:30:03.087 00007488 Loaded C:\WINDOWS\system32\d3d9.dll 11:30:03.087 00007488 createHookDirect3DCreate9 = 0 11:30:03.115 00007488 enableHookDirect3DCreate9 = 0 11:30:03.116 00007488 createHookDirect3DCreate9Ex = 0 11:30:03.147 00007488 enableHookDirect3DCreate9Ex = 0 11:30:03.147 00007488 createHookCreateWindowExA = 0 11:30:03.173 00007488 enableHookCreateWindowExA = 0 11:30:03.173 00007488 createHookCreateWindowExW = 0 11:30:03.197 00007488 enableHookCreateWindowExW = 0 11:30:03.197 00007488 createHookSetWindowLongA = 0 11:30:03.223 00007488 enableHookSetWindowLongA = 0 11:30:03.223 00007488 createHookSetWindowLongW = 0 11:30:03.252 00007488 enableHookSetWindowLongW = 0 11:30:03.252 00007488 AutoFix for "Final Fantasy XIII-2" enabled 11:30:03.252 00007488 Base Addr = a10000 11:30:03.413 00007488 HWND 0x00170D68: ClassName "OleMainThreadWndClass", WindowName: "OleMainThreadWndName" 11:30:07.758 00007488 MainContext::HookDirect3DCreate9 11:30:07.829 00007488 hkIDirect3D9::GetAdapterIdentifier 11:30:07.831 00007488 hkIDirect3D9::GetAdapterIdentifier 11:30:07.833 00007488 hkIDirect3D9::GetAdapterIdentifier 11:30:07.838 00007488 MainContext::HookDirect3DCreate9Ex 11:30:08.004 00007488 HWND 0x00390D34: ClassName "Static", WindowName: "test" 11:30:08.004 00007488 MainContext::HookDirect3DCreate9 11:30:08.062 00007488 hkIDirect3D9::CreateDevice 11:30:08.063 00007488 hkIDirect3D9::ApplyCreateDeviceFix 11:30:08.063 00007488 BehaviorFlags: 00000054 D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE 11:30:08.063 00007488 BackBufferCount: BackBufferCount set to 3 11:30:08.114 00007488 HWND 0x00180D68: ClassName "SQEX.CDev.Engine.Framework.MainWindow", WindowName: "" 11:30:08.117 00007488 MainContext::HookDirect3DCreate9 11:30:08.175 00007488 hkIDirect3D9::CreateDevice 11:30:08.176 00007488 hkIDirect3D9::ApplyCreateDeviceFix 11:30:08.176 00007488 BehaviorFlags: 00000054 D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE 11:30:08.176 00007488 BackBufferCount: BackBufferCount set to 3 11:30:08.627 00007488 HWND 0x00230E0E: ClassName "CicMarshalWndClass", WindowName: "CicMarshalWnd" 11:30:08.769 00014428 HWND 0x002D0D08: ClassName "DIEmWin", WindowName: "DIEmWin" 11:30:10.217 00014144 Waited 2003.811400 ms 11:30:10.217 00014144 Starting FFXIII-2 one time RAM patches. 11:30:10.217 00014144 Frame pacer disabled 11:30:10.217 00014144 Frame rate should not be changed (config = 0) 11:30:10.218 00014144 Removing game slow and synchronous controller continuous controller scanning... 11:30:10.218 00014144 Enabling controller vibration... 11:30:10.218 00014144 Finished FF13-2 One Time Fixes 11:36:48.499 00007488 HWND 0x001C0C20: ClassName "UserAdapterWindowClass", WindowName: "" 11:36:48.608 00007488 Unloaded C:\WINDOWS\system32\d3d9.dll

This is what FF13Fix.log reads with compatibility mode to windows 8 turned on and the game crashing on startup: [TIME] [THREAD] [LOG] 11:50:45.154 00015640 FF13Fix 1.6.4 https://github.com/rebtd7/FF13Fix 11:50:45.154 00015640 Enabling hooks: 11:50:45.154 00015640 initializeHooks = 0 11:50:45.159 00015640 Loaded C:\WINDOWS\system32\d3d9.dll 11:50:45.160 00015640 createHookDirect3DCreate9 = 0 11:50:45.185 00015640 enableHookDirect3DCreate9 = 0 11:50:45.185 00015640 createHookDirect3DCreate9Ex = 0 11:50:45.209 00015640 enableHookDirect3DCreate9Ex = 0 11:50:45.209 00015640 createHookCreateWindowExA = 0 11:50:45.231 00015640 enableHookCreateWindowExA = 0 11:50:45.231 00015640 createHookCreateWindowExW = 0 11:50:45.254 00015640 enableHookCreateWindowExW = 0 11:50:45.254 00015640 createHookSetWindowLongA = 0 11:50:45.278 00015640 enableHookSetWindowLongA = 0 11:50:45.278 00015640 createHookSetWindowLongW = 0 11:50:45.301 00015640 enableHookSetWindowLongW = 0 11:50:45.302 00015640 AutoFix for "Final Fantasy XIII-2" enabled 11:50:45.302 00015640 Base Addr = a10000 11:50:45.489 00015640 HWND 0x00260DD6: ClassName "OleMainThreadWndClass", WindowName: "OleMainThreadWndName" 11:50:49.999 00015640 MainContext::HookDirect3DCreate9 11:50:50.073 00015640 hkIDirect3D9::GetAdapterIdentifier 11:50:50.075 00015640 hkIDirect3D9::GetAdapterIdentifier 11:50:50.076 00015640 hkIDirect3D9::GetAdapterIdentifier 11:50:50.089 00015640 MainContext::HookDirect3DCreate9Ex 11:50:50.282 00015640 HWND 0x001A0D2A: ClassName "Static", WindowName: "test" 11:50:50.283 00015640 MainContext::HookDirect3DCreate9 11:50:50.345 00015640 hkIDirect3D9::QueryInterface 11:50:50.345 00015640 hkIDirect3D9::CreateDevice 11:50:50.345 00015640 hkIDirect3D9::ApplyCreateDeviceFix 11:50:50.345 00015640 BehaviorFlags: 00000054 D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE 11:50:50.345 00015640 BackBufferCount: BackBufferCount set to 3 11:50:50.418 00015640 HWND 0x00270DD6: ClassName "SQEX.CDev.Engine.Framework.MainWindow", WindowName: "" 11:50:50.421 00015640 MainContext::HookDirect3DCreate9 11:50:50.483 00015640 hkIDirect3D9::QueryInterface 11:50:50.483 00015640 hkIDirect3D9::CreateDevice 11:50:50.483 00015640 hkIDirect3D9::ApplyCreateDeviceFix 11:50:50.484 00015640 BehaviorFlags: 00000054 D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE 11:50:50.484 00015640 BackBufferCount: BackBufferCount set to 3

slavic0369 avatar Jun 23 '21 18:06 slavic0369

I have the same issues as the OP. Game does not launch (or crashes, but with no error message). If I remove the d3d9.dll file from the bin folder, it launches correctly. Unfortunately I'm unable to play the game at resolutions higher than 720p, because of scaling issues.

Specs :

  • Windows 10
  • AMD Ryzen 5 2600
  • 16 GB RAM
  • RX 590

10:28:35.698 00027060 WARNING: Reference count for IDirect3D9 is wrong: 08A50D08 0 2

fueled13 avatar Dec 23 '23 15:12 fueled13