[SOLVED] reshade not working with thrones of britannia

  • cirneco
  • Topic Author
More
4 years 2 months ago #1 by cirneco reshade not working with thrones of britannia was created by cirneco
Hi Crosire
First of all thanks for your reshade, it makes games so much better.

I can't make reshade to work with thrones of britannia.

04:06:58:923 [08796] | INFO | Initializing crosire's ReShade version '3.4.1.350' (32-bit) built on '2018-08-11 18:17:32' loaded from 'E:\SteamLibrary\steamapps\common\Total War Saga Thrones of Britannia\dxgi.dll' to 'E:\SteamLibrary\steamapps\common\Total War Saga Thrones of Britannia\thrones.exe' ...
04:06:59:036 [08796] | INFO | Registering hooks for 'C:\Windows\system32\d3d9.dll' ...
04:06:59:036 [08796] | INFO | > Delayed.
04:06:59:057 [08796] | INFO | Registering hooks for 'C:\Windows\system32\d3d10.dll' ...
04:06:59:058 [08796] | INFO | > Delayed.
04:06:59:080 [08796] | INFO | Registering hooks for 'C:\Windows\system32\d3d10_1.dll' ...
04:06:59:080 [08796] | INFO | > Delayed.
04:06:59:101 [08796] | INFO | Registering hooks for 'C:\Windows\system32\d3d11.dll' ...
04:06:59:102 [08796] | INFO | > Libraries loaded.
04:06:59:102 [08796] | INFO | > Found 2 match(es). Installing ...
04:06:59:144 [08796] | INFO | Registering hooks for 'C:\Windows\system32\dxgi.dll' ...
04:06:59:145 [08796] | INFO | > Delayed until first call to an exported function.
04:06:59:166 [08796] | INFO | Registering hooks for 'C:\Windows\system32\opengl32.dll' ...
04:06:59:166 [08796] | INFO | > Libraries loaded.
04:06:59:166 [08796] | INFO | > Found 360 match(es). Installing ...
04:06:59:217 [08796] | INFO | Registering hooks for 'C:\Windows\system32\user32.dll' ...
04:06:59:217 [08796] | INFO | > Libraries loaded.
04:06:59:217 [08796] | INFO | > Found 13 match(es). Installing ...
04:06:59:261 [08796] | INFO | Registering hooks for 'C:\Windows\system32\ws2_32.dll' ...
04:06:59:261 [08796] | INFO | > Libraries loaded.
04:06:59:262 [08796] | INFO | > Found 8 match(es). Installing ...
04:06:59:283 [08796] | INFO | Initialized.
04:06:59:291 [08796] | INFO | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 0018EBB8)' ...
04:06:59:293 [08796] | INFO | Installing export hooks for 'C:\Windows\system32\dxgi.dll' ...
04:06:59:293 [08796] | INFO | > Found 6 match(es). Installing ...
04:06:59:411 [08796] | INFO | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 0018EB6C)' ...
04:07:00:000 [08796] | INFO | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 13D74FE4)' ...
04:07:00:960 [08796] | INFO | Redirecting 'IDXGIFactory::CreateSwapChain(0B139BF0, 0B13DF48, 13D73B18, 13D73B00)' ...
04:07:00:960 [08796] | INFO | > Dumping swap chain description:
04:07:00:960 [08796] | INFO | +
+
+
04:07:00:960 [08796] | INFO | | Parameter | Value |
04:07:00:960 [08796] | INFO | +
+
+
04:07:00:960 [08796] | INFO | | Width | 1440 |
04:07:00:960 [08796] | INFO | | Height | 900 |
04:07:00:960 [08796] | INFO | | RefreshRate | 0 0 |
04:07:00:960 [08796] | INFO | | Format | 28 |
04:07:00:960 [08796] | INFO | | ScanlineOrdering | 0 |
04:07:00:960 [08796] | INFO | | Scaling | 0 |
04:07:00:960 [08796] | INFO | | SampleCount | 1 |
04:07:00:960 [08796] | INFO | | SampleQuality | 0 |
04:07:00:960 [08796] | INFO | | BufferUsage | 32 |
04:07:00:960 [08796] | INFO | | BufferCount | 2 |
04:07:00:960 [08796] | INFO | | OutputWindow | 000E042C |
04:07:00:960 [08796] | INFO | | Windowed | FALSE |
04:07:00:960 [08796] | INFO | | SwapEffect | 0 |
04:07:00:960 [08796] | INFO | | Flags | 0x2 |
04:07:00:960 [08796] | INFO | +
+
+
04:07:01:378 [08796] | WARN | > Skipping swap chain because it was created without a (hooked) Direct3D device.
04:07:27:237 [08796] | INFO | Exiting ...
04:07:27:237 [08796] | INFO | Uninstalling 394 hook(s) ...
04:07:27:237 [08796] | INFO | Exited.

This is the log for when I tried with an older version of reshade since Iread somewhere that it use to work with it.

And this is the log with the latest version.
04:15:58:812 [04664] | INFO | Initializing crosire's ReShade version '4.5.4.774' (32-bit) built on '2020-02-07 23:50:15' loaded from "E:\SteamLibrary\steamapps\common\Total War Saga Thrones of Britannia\dxgi.dll" into "E:\SteamLibrary\steamapps\common\Total War Saga Thrones of Britannia\thrones.exe" ...
04:15:58:962 [04664] | INFO | Registering hooks for "user32.dll" ...
04:15:58:962 [04664] | INFO | > Libraries loaded.
04:15:58:962 [04664] | INFO | > Found 13 match(es). Installing ...
04:15:59:002 [04664] | INFO | Registering hooks for "ws2_32.dll" ...
04:15:59:002 [04664] | INFO | > Libraries loaded.
04:15:59:002 [04664] | INFO | > Found 8 match(es). Installing ...
04:15:59:041 [04664] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
04:15:59:042 [04664] | INFO | > Delayed.
04:15:59:062 [04664] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
04:15:59:062 [04664] | INFO | > Delayed.
04:15:59:082 [04664] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
04:15:59:083 [04664] | INFO | > Delayed.
04:15:59:102 [04664] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
04:15:59:102 [04664] | INFO | > Libraries loaded.
04:15:59:102 [04664] | INFO | > Found 2 match(es). Installing ...
04:15:59:141 [04664] | INFO | Registering hooks for "C:\Windows\system32\d3d12.dll" ...
04:15:59:141 [04664] | INFO | > Delayed.
04:15:59:161 [04664] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
04:15:59:161 [04664] | INFO | > Delayed until first call to an exported function.
04:15:59:180 [04664] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
04:15:59:180 [04664] | INFO | > Libraries loaded.
04:15:59:181 [04664] | INFO | > Found 360 match(es). Installing ...
04:15:59:210 [04664] | INFO | Initialized.
04:15:59:218 [04664] | INFO | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 0018EBB8) ...
04:15:59:220 [04664] | INFO | Installing export hooks for "C:\Windows\system32\dxgi.dll" ...
04:15:59:220 [04664] | INFO | > Found 6 match(es). Installing ...
04:15:59:322 [04664] | INFO | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 0018EB6C) ...
04:15:59:877 [04664] | INFO | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 13D746DC) ...
04:16:00:814 [04664] | INFO | Redirecting IDXGIFactory::CreateSwapChain(this = 0AF39BF0, pDevice = 0AF3DF48, pDesc = 13D73210, ppSwapChain = 13D731F8) ...
04:16:00:814 [04664] | INFO | > Dumping swap chain description:
04:16:00:814 [04664] | INFO | +
+
+
04:16:00:814 [04664] | INFO | | Parameter | Value |
04:16:00:814 [04664] | INFO | +
+
+
04:16:00:814 [04664] | INFO | | Width | 1440 |
04:16:00:814 [04664] | INFO | | Height | 900 |
04:16:00:815 [04664] | INFO | | RefreshRate | 0 0 |
04:16:00:815 [04664] | INFO | | Format | 28 |
04:16:00:815 [04664] | INFO | | ScanlineOrdering | 0 |
04:16:00:815 [04664] | INFO | | Scaling | 0 |
04:16:00:815 [04664] | INFO | | SampleCount | 1 |
04:16:00:815 [04664] | INFO | | SampleQuality | 0 |
04:16:00:815 [04664] | INFO | | BufferUsage | 32 |
04:16:00:815 [04664] | INFO | | BufferCount | 2 |
04:16:00:815 [04664] | INFO | | OutputWindow | 00040518 |
04:16:00:815 [04664] | INFO | | Windowed | FALSE |
04:16:00:815 [04664] | INFO | | SwapEffect | 0 |
04:16:00:815 [04664] | INFO | | Flags | 0x2 |
04:16:00:815 [04664] | INFO | +
+
+
04:16:01:229 [04664] | WARN | Skipping swap chain because it was created without a (hooked) Direct3D device.
04:16:20:568 [04664] | INFO | Exiting ...
04:16:20:568 [04664] | INFO | Uninstalling 394 hook(s) ...
04:16:20:568 [04664] | INFO | Finished exiting.

I'd appreciate if you could look into it, but of course only if you have time to spare, it's not important matter.

Thanks
Cirneco

Please Log in or Create an account to join the conversation.

  • crosire
More
4 years 2 months ago #2 by crosire Replied by crosire on topic reshade not working with thrones of britannia
Looks like D3D device is created before DXGI is loaded (based on log), so ReShade could not hook it when installed as dxgi.dll. Rename it to d3d11.dll and it may work.
The following user(s) said Thank You: cirneco

Please Log in or Create an account to join the conversation.

  • cirneco
  • Topic Author
More
4 years 2 months ago #3 by cirneco Replied by cirneco on topic reshade not working with thrones of britannia
thanks Crosire, it didn't work with d3d11 but I tried with opengl.dll and it did.

Please Log in or Create an account to join the conversation.