rebtd7 / FF13Fix

Performance and bug fixes for the PC versions of FF13 and FF13-2
GNU General Public License v3.0
329 stars 22 forks source link

Interoperability with dgVoodoo2? #90

Open abelian424 opened 2 years ago

abelian424 commented 2 years ago

AFAIK this game works fine with dgVoodoo2 dx9-to-dx11 wrapper, but since it uses dx9.dll it can't be used with FF13Fix. As per PCGamingWiki this is the only way to use Auto HDR with this game unless if you have a copy of the game on Xbox One/Series X/S.

abelian424 commented 2 years ago

Looks like there is a reshade shader that reproduces auto HDR functionality by MajorPainTheCactus

abelian424 commented 2 years ago

The addon doesn't work. "A fatal error concerning DirectX has occurred.(5) DirectX VertexShader 2.0 is not supported."

abelian424 commented 2 years ago

You can rename the 32-bit D3D9.dll file from dgVoodoo2 to reshade32.dll and it'll work. This means you have to choose between dgVoodoo2 or ReShade.

abelian424 commented 2 years ago

10:47:38.613 00003580 HWND 0x003E0BBC: ClassName "Static", WindowName: "test" 10:47:38.614 00003580 MainContext::HookDirect3DCreate9 10:47:38.890 00003580 hkIDirect3D9::CreateDevice 10:47:38.890 00003580 hkIDirect3D9::ApplyCreateDeviceFix 10:47:38.891 00003580 BehaviorFlags: 00000056 D3DCREATE_FPU_PRESERVE D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE 10:47:38.891 00003580 BackBufferCount: BackBufferCount set to 3 10:47:38.983 00024728 HWND 0x00210D4A: ClassName "DGVOODOOCOMM", WindowName: "" 10:47:39.051 00003580 HWND 0x00460FE8: ClassName "SQEX.CDev.Engine.Framework.MainWindow", WindowName: "" 10:47:39.055 00003580 MainContext::HookDirect3DCreate9 10:47:39.323 00003580 hkIDirect3D9::CreateDevice 10:47:39.323 00003580 hkIDirect3D9::ApplyCreateDeviceFix 10:47:39.324 00003580 BehaviorFlags: 00000056 D3DCREATE_FPU_PRESERVE D3DCREATE_HARDWARE_VERTEXPROCESSING D3DCREATE_MULTITHREADED D3DCREATE_PUREDEVICE 10:47:39.324 00003580 BackBufferCount: BackBufferCount set to 3 10:47:39.324 00003580 Changing refresh rate from 60 to 0 10:47:39.463 00003580 HWND 0x00230D72: ClassName "CicMarshalWndClass", WindowName: "CicMarshalWnd" 10:47:39.465 00003580 HWND 0x00240D72: ClassName "CicMarshalWndClass", WindowName: "CicMarshalWnd" 10:47:39.523 00022840 HWND 0x00130FE6: ClassName "DGVOODOOCOMM", WindowName: "" 10:47:39.979 00017488 HWND 0x00640F44: ClassName "DIEmWin", WindowName: "DIEmWin" 10:47:39.981 00004856 HWND 0x001D0DD2: ClassName "OleMainThreadWndClass", WindowName: "OleMainThreadWndName" 10:47:41.528 00002540 Waited 2004.348300 ms 10:47:41.528 00002540 Starting FFXIII one time RAM patches. 10:47:41.529 00002540 NOPing the in-game instruction that sets the frame rate. 10:47:41.529 00002540 Removing game slow and synchronous controller continuous controller scanning... 10:47:41.529 00002540 Fixing ScissorRect... 10:47:41.530 00002540 Enabling controller vibration... 10:47:41.530 00002540 Frame pacer target frame rate is at address d8c6070 10:47:41.530 00002540 Frame pacer disabled. 10:47:41.531 00002540 Finished FF13 One Time Fixes 10:49:58.252 00003580 HWND 0x003B0CBE: ClassName "SystemUserAdapterWindowClass", WindowName: "" 10:49:58.267 00003580 hkIDirect3DDevice9::Reset 10:49:58.267 00003580 BackBufferCount: BackBufferCount set to 3 10:49:58.271 00003580 Changing refresh rate from 60 to 0 10:49:58.312 00018596 HWND 0x00410F84: ClassName "DXGIWatchdogThreadWindow", WindowName: "DXGIWatchdogThreadWindow" 10:49:58.313 00022912 HWND 0x00350FD0: ClassName "D3DProxyWindow", WindowName: "D3DProxyWindow" 10:49:58.319 00019152 HWND 0x006E0FC2: ClassName "D3DProxyWindow", WindowName: "D3DProxyWindow" 10:49:58.321 00019152 HWND 0x001D104A: ClassName "OleMainThreadWndClass", WindowName: "OleMainThreadWndName" 10:49:58.614 00003580 Unloaded ReShade32.dll

shinra358 commented 3 weeks ago

change dgvd2 dx9 dll to dxvk.dll. It'll work.