[SOLVED] Spellforce Platinum Edition (Good Old Games)
- Cloudbill
- Topic Author
Less
More
9 years 2 weeks ago #1
by Cloudbill
Spellforce Platinum Edition (Good Old Games) was created by Cloudbill
I have never been able to get Reshade with this game. I started using Reshade from version 14 and all of the version since then till now do not work. It is a DX9 game from 2004. It has the D3D9 log file :
www.mediafire.com/download/bde44i3yvi2e9av/D3D9.log
. I have even tried using the ASCII shader from SweetFX to see if it is loading any shaders at all. It doesn't appear to be.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
9 years 2 weeks ago - 9 years 2 weeks ago #2
by crosire
Replied by crosire on topic Spellforce Platinum Edition (Good Old Games)
Game seems to bypass wrappers and loads the DLL directly from the system folder (well it loads it from the game folder first, but then unloads it again and falls back to the real one in the system folder).
So wrapping won't work already, now there is still the possibility to inject the DLL into the process: Unfortunately any attempt in preventing the game from unloading the DLL again fails. Windows has a few builtin mechanics to do that, but they have no effect.
The only way I got it working was to inject a second DLL into the process directly at startup and have it override the path to the D3D DLL when the game loads it, thus redirecting any attempts to load from the system directory back to the actual ReShade DLL.
So wrapping won't work already, now there is still the possibility to inject the DLL into the process: Unfortunately any attempt in preventing the game from unloading the DLL again fails. Windows has a few builtin mechanics to do that, but they have no effect.
The only way I got it working was to inject a second DLL into the process directly at startup and have it override the path to the D3D DLL when the game loads it, thus redirecting any attempts to load from the system directory back to the actual ReShade DLL.
Last edit: 9 years 2 weeks ago by crosire.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
9 years 2 weeks ago - 9 years 2 weeks ago #3
by crosire
Replied by crosire on topic Spellforce Platinum Edition (Good Old Games)
Here's how to get it working:
- Download the patch I quickly put together: SpellforceFix.dll
- Download a DLL injection tool and configure it to inject the patch DLL into the Spellforce process at startup.
When using ENBInjector you'd need to edit the INI to this for example:[LIBRARY] LibraryName=SpellforceFix.dll [TARGETPROCESS] ProcessName0=SpellForce.exe
- Download ReShade and copy the archive contents into the Spellforce directory. Do NOT rename the ReShade DLL (leave it at "ReShade32.dll")!!
- Run the DLL injection tool.
- Run the game.
- Profit!
Last edit: 9 years 2 weeks ago by crosire.
The following user(s) said Thank You: Cloudbill
Please Log in or Create an account to join the conversation.
- Cloudbill
- Topic Author
Less
More
9 years 2 weeks ago #4
by Cloudbill
Replied by Cloudbill on topic Spellforce Platinum Edition (Good Old Games)
Works flawlessly, thank you very much. Too bad it has to be a "dirty" fix. Don't misunderstand, I am ecstatic for this fix. I can finally play this oldie with SweetFX.
Please Log in or Create an account to join the conversation.
- vierlex
Less
More
8 years 10 months ago #5
by vierlex
Replied by vierlex on topic Spellforce Platinum Edition (Good Old Games)
Hi,
I was trying this on the steam version.
During the initial loading screen I get the reshade message on the top left. (version number, url whatnot..)
but it crashes before going into the intros/splash screens.
here is are the contents of the ReShade32.log
23/05/2015 04:12:30:187 [02716] | INFO | Initializing Crosire's ReShade version '0.18.4.849' built on '2015-05-13 10:46:00' loaded from "E:\Steam\steamapps\common\Spellforce Platinum Edition\ReShade32.dll" to "E:\Steam\steamapps\common\Spellforce Platinum Edition\Spellforce.exe" ...
23/05/2015 04:12:30:217 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
23/05/2015 04:12:30:217 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:217 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
23/05/2015 04:12:30:217 [02716] | INFO | > Libraries loaded.
23/05/2015 04:12:30:217 [02716] | INFO | > Found 9 match(es). Installing ...
23/05/2015 04:12:30:277 [02716] | INFO | > Installed 9 hook(s).
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Libraries loaded.
23/05/2015 04:12:30:287 [02716] | INFO | > Found 4 match(es). Installing ...
23/05/2015 04:12:30:307 [02716] | INFO | > Installed 4 hook(s).
23/05/2015 04:12:30:307 [02716] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
23/05/2015 04:12:30:317 [02716] | INFO | > Libraries loaded.
23/05/2015 04:12:30:317 [02716] | INFO | > Found 8 match(es). Installing ...
23/05/2015 04:12:30:367 [02716] | INFO | > Installed 8 hook(s).
23/05/2015 04:12:30:367 [02716] | INFO | Initialized.
23/05/2015 04:12:30:367 [02716] | INFO | Redirecting 'Direct3DCreate9(31)' ...
23/05/2015 04:12:30:457 [02716] | INFO | Redirecting 'IDirect3D9::CreateDevice(01054FF8, 0, 1, 003E045A, 0x50, 09DE0320, 09DE0358)' ...
23/05/2015 04:12:30:807 [02716] | INFO | Recreated effect environment on runtime 0D2D1060.
23/05/2015 04:12:38:237 [02716] | INFO | Exiting ...
23/05/2015 04:12:38:237 [02716] | INFO | Uninstalling 26 hook(s) ...
23/05/2015 04:12:38:397 [02716] | INFO | Exited.
I was trying this on the steam version.
During the initial loading screen I get the reshade message on the top left. (version number, url whatnot..)
but it crashes before going into the intros/splash screens.
here is are the contents of the ReShade32.log
Warning: Spoiler!
23/05/2015 04:12:30:187 [02716] | INFO | Initializing Crosire's ReShade version '0.18.4.849' built on '2015-05-13 10:46:00' loaded from "E:\Steam\steamapps\common\Spellforce Platinum Edition\ReShade32.dll" to "E:\Steam\steamapps\common\Spellforce Platinum Edition\Spellforce.exe" ...
23/05/2015 04:12:30:217 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
23/05/2015 04:12:30:217 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:217 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
23/05/2015 04:12:30:217 [02716] | INFO | > Libraries loaded.
23/05/2015 04:12:30:217 [02716] | INFO | > Found 9 match(es). Installing ...
23/05/2015 04:12:30:277 [02716] | INFO | > Installed 9 hook(s).
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Delayed.
23/05/2015 04:12:30:277 [02716] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
23/05/2015 04:12:30:277 [02716] | INFO | > Libraries loaded.
23/05/2015 04:12:30:287 [02716] | INFO | > Found 4 match(es). Installing ...
23/05/2015 04:12:30:307 [02716] | INFO | > Installed 4 hook(s).
23/05/2015 04:12:30:307 [02716] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
23/05/2015 04:12:30:317 [02716] | INFO | > Libraries loaded.
23/05/2015 04:12:30:317 [02716] | INFO | > Found 8 match(es). Installing ...
23/05/2015 04:12:30:367 [02716] | INFO | > Installed 8 hook(s).
23/05/2015 04:12:30:367 [02716] | INFO | Initialized.
23/05/2015 04:12:30:367 [02716] | INFO | Redirecting 'Direct3DCreate9(31)' ...
23/05/2015 04:12:30:457 [02716] | INFO | Redirecting 'IDirect3D9::CreateDevice(01054FF8, 0, 1, 003E045A, 0x50, 09DE0320, 09DE0358)' ...
23/05/2015 04:12:30:807 [02716] | INFO | Recreated effect environment on runtime 0D2D1060.
23/05/2015 04:12:38:237 [02716] | INFO | Exiting ...
23/05/2015 04:12:38:237 [02716] | INFO | Uninstalling 26 hook(s) ...
23/05/2015 04:12:38:397 [02716] | INFO | Exited.
The following user(s) said Thank You: Cloudbill
Please Log in or Create an account to join the conversation.
- Cloudbill
- Topic Author
Less
More
8 years 10 months ago #6
by Cloudbill
Replied by Cloudbill on topic Spellforce Platinum Edition (Good Old Games)
If your using the current framework or Reshade+SweetFX I would assume it might not work because the Reshade32.dll hasn't been altered. I haven't tried updating the Reshade files I use with this game.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
8 years 10 months ago #7
by crosire
Replied by crosire on topic Spellforce Platinum Edition (Good Old Games)
ReShade wasn't altered for this. As usual, don't have any external overlays running. In this case better no Steam overlay too.
Please Log in or Create an account to join the conversation.
- vierlex
Less
More
8 years 10 months ago - 8 years 10 months ago #8
by vierlex
Replied by vierlex on topic Spellforce Platinum Edition (Good Old Games)
hm? ive been using the latest reshade+sweetfx..
i disabled the steam overlay thing but results in the same error/behaviour
edt: the hex codes were a bit different this time
oh well, i just get the gog version then.
i disabled the steam overlay thing but results in the same error/behaviour
edt: the hex codes were a bit different this time
23/05/2015 16:43:13:722 [09996] | INFO | Redirecting 'IDirect3D9::CreateDevice(002FA950, 0, 1, 003E09B2, 0x50, 09DE0320, 09DE0358)' ...
23/05/2015 16:43:14:092 [09996] | INFO | Recreated effect environment on runtime 0D1D1060.
oh well, i just get the gog version then.
Last edit: 8 years 10 months ago by vierlex.
Please Log in or Create an account to join the conversation.
- Cloudbill
- Topic Author
Less
More
8 years 10 months ago #9
by Cloudbill
Replied by Cloudbill on topic Spellforce Platinum Edition (Good Old Games)
So all I have to do is overwrite with Reshade 18.4 and framework and it will still work like it does with the older version of Reshade as long as I use the modified ENB injector you made for the game? Is that right or am I missing something?
Please Log in or Create an account to join the conversation.
- crosire
Less
More
8 years 10 months ago #10
by crosire
Replied by crosire on topic Spellforce Platinum Edition (Good Old Games)
That's right.
Please Log in or Create an account to join the conversation.
- Cloudbill
- Topic Author
Less
More
8 years 10 months ago #11
by Cloudbill
Replied by Cloudbill on topic Spellforce Platinum Edition (Good Old Games)
I'm getting a black screen and freeze with 18.4
Here's the log:
Here's the log:
Warning: Spoiler!
24/05/2015 10:29:45:899 [05504] | INFO | Initializing Crosire's ReShade version '0.18.4.849' built on '2015-05-13 10:46:00' loaded from "C:\Program Files (x86)\SpellForce - Platinum Edition\ReShade32.dll" to "C:\Program Files (x86)\SpellForce - Platinum Edition\SpellForce.exe" ...
24/05/2015 10:29:45:943 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
24/05/2015 10:29:45:944 [05504] | INFO | > Delayed.
24/05/2015 10:29:45:944 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
24/05/2015 10:29:45:944 [05504] | INFO | > Libraries loaded.
24/05/2015 10:29:45:944 [05504] | INFO | > Found 9 match(es). Installing ...
24/05/2015 10:29:46:045 [05504] | INFO | > Installed 9 hook(s).
24/05/2015 10:29:46:045 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
24/05/2015 10:29:46:047 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:047 [05504] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
24/05/2015 10:29:46:047 [05504] | INFO | > Libraries loaded.
24/05/2015 10:29:46:059 [05504] | INFO | > Found 4 match(es). Installing ...
24/05/2015 10:29:46:104 [05504] | INFO | > Installed 4 hook(s).
24/05/2015 10:29:46:104 [05504] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
24/05/2015 10:29:46:104 [05504] | INFO | > Libraries loaded.
24/05/2015 10:29:46:106 [05504] | INFO | > Found 8 match(es). Installing ...
24/05/2015 10:29:46:198 [05504] | INFO | > Installed 8 hook(s).
24/05/2015 10:29:46:198 [05504] | INFO | Initialized.
24/05/2015 10:29:46:209 [05504] | INFO | Redirecting 'Direct3DCreate9(31)' ...
24/05/2015 10:29:46:337 [05504] | INFO | Redirecting 'IDirect3D9::CreateDevice(00F21CA0, 0, 1, 0016078E, 0x50, 062B3320, 062B3358)' ...
24/05/2015 10:29:46:535 [05504] | INFO | Recreated effect environment on runtime 00FDE930.
24/05/2015 10:29:46:568 [06024] | INFO | Redirecting 'Direct3DCreate9(32)' ...
24/05/2015 10:29:46:578 [06024] | INFO | Redirecting 'IDirect3D9::CreateDevice(077811A0, 0, 1, 001B073E, 0x22, 0A58F868, 0A58F9CC)' ...
24/05/2015 10:29:46:594 [06024] | WARN | > 'IDirect3D9::CreateDevice' failed with 'D3DERR_DEVICELOST'!
24/05/2015 10:29:46:594 [06024] | INFO | Redirecting 'Direct3DCreate9Ex(32, 0A58F9D4)' ...
24/05/2015 10:29:46:605 [06024] | INFO | Redirecting 'IDirect3D9Ex::CreateDeviceEx(09F2D0E0, 0, 1, 001B073E, 0x22, 0A58F868, 00000000, 0A58F9D8)' ...
24/05/2015 10:29:46:634 [06024] | INFO | Recreated effect environment on runtime 0A0A7E08.
24/05/2015 10:30:48:793 [05504] | INFO | Redirecting 'IDirect3DDevice9::Reset(00FD0F80, 062B3320)' ...
24/05/2015 10:30:48:995 [05504] | INFO | Recreated effect environment on runtime 00FDE930.
24/05/2015 10:30:48:996 [05504] | INFO | Loading effect from "C:\Program Files (x86)\SpellForce - Platinum Edition\ReShade.fx" ...
24/05/2015 10:30:49:463 [05504] | INFO | Exiting ...
24/05/2015 10:30:49:463 [05504] | INFO | Uninstalling 28 hook(s) ...
24/05/2015 10:30:49:755 [05504] | INFO | Exited.
24/05/2015 10:29:45:943 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
24/05/2015 10:29:45:944 [05504] | INFO | > Delayed.
24/05/2015 10:29:45:944 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
24/05/2015 10:29:45:944 [05504] | INFO | > Libraries loaded.
24/05/2015 10:29:45:944 [05504] | INFO | > Found 9 match(es). Installing ...
24/05/2015 10:29:46:045 [05504] | INFO | > Installed 9 hook(s).
24/05/2015 10:29:46:045 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
24/05/2015 10:29:46:046 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:046 [05504] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
24/05/2015 10:29:46:047 [05504] | INFO | > Delayed.
24/05/2015 10:29:46:047 [05504] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
24/05/2015 10:29:46:047 [05504] | INFO | > Libraries loaded.
24/05/2015 10:29:46:059 [05504] | INFO | > Found 4 match(es). Installing ...
24/05/2015 10:29:46:104 [05504] | INFO | > Installed 4 hook(s).
24/05/2015 10:29:46:104 [05504] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
24/05/2015 10:29:46:104 [05504] | INFO | > Libraries loaded.
24/05/2015 10:29:46:106 [05504] | INFO | > Found 8 match(es). Installing ...
24/05/2015 10:29:46:198 [05504] | INFO | > Installed 8 hook(s).
24/05/2015 10:29:46:198 [05504] | INFO | Initialized.
24/05/2015 10:29:46:209 [05504] | INFO | Redirecting 'Direct3DCreate9(31)' ...
24/05/2015 10:29:46:337 [05504] | INFO | Redirecting 'IDirect3D9::CreateDevice(00F21CA0, 0, 1, 0016078E, 0x50, 062B3320, 062B3358)' ...
24/05/2015 10:29:46:535 [05504] | INFO | Recreated effect environment on runtime 00FDE930.
24/05/2015 10:29:46:568 [06024] | INFO | Redirecting 'Direct3DCreate9(32)' ...
24/05/2015 10:29:46:578 [06024] | INFO | Redirecting 'IDirect3D9::CreateDevice(077811A0, 0, 1, 001B073E, 0x22, 0A58F868, 0A58F9CC)' ...
24/05/2015 10:29:46:594 [06024] | WARN | > 'IDirect3D9::CreateDevice' failed with 'D3DERR_DEVICELOST'!
24/05/2015 10:29:46:594 [06024] | INFO | Redirecting 'Direct3DCreate9Ex(32, 0A58F9D4)' ...
24/05/2015 10:29:46:605 [06024] | INFO | Redirecting 'IDirect3D9Ex::CreateDeviceEx(09F2D0E0, 0, 1, 001B073E, 0x22, 0A58F868, 00000000, 0A58F9D8)' ...
24/05/2015 10:29:46:634 [06024] | INFO | Recreated effect environment on runtime 0A0A7E08.
24/05/2015 10:30:48:793 [05504] | INFO | Redirecting 'IDirect3DDevice9::Reset(00FD0F80, 062B3320)' ...
24/05/2015 10:30:48:995 [05504] | INFO | Recreated effect environment on runtime 00FDE930.
24/05/2015 10:30:48:996 [05504] | INFO | Loading effect from "C:\Program Files (x86)\SpellForce - Platinum Edition\ReShade.fx" ...
24/05/2015 10:30:49:463 [05504] | INFO | Exiting ...
24/05/2015 10:30:49:463 [05504] | INFO | Uninstalling 28 hook(s) ...
24/05/2015 10:30:49:755 [05504] | INFO | Exited.
Please Log in or Create an account to join the conversation.
- crosire
Less
More
8 years 10 months ago #12
by crosire
Replied by crosire on topic Spellforce Platinum Edition (Good Old Games)
Mmh, too bad. Well, in that case stick to the old version. But it should be possible to keep the new framework shaders.
Please Log in or Create an account to join the conversation.