Welcome, Guest.
Username: Password: Remember me

TOPIC: ReShade 3.0 and Thief DS (Sneaky Upgraded) crash

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #1

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
Shader compilation related crash.
Lastest beta of Sneaky Upgrade: www.dropbox.com/s/axedbqqmr8bedv9/Setup_...e_1.1.7.502.exe?dl=1

+dgVoodoo2 2.53.

Putting only FXAA and LumaSharpen in Shader folder -> no crash.
Putting all the shaders (DISABLED) -> crash

27/09/2016 19:57:24:547 [05012] | INFO | Compiling 'C:\ReShade 3\Shaders\MXAO12b.fx' ...
27/09/2016 19:57:24:677 [05012] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\MXAO12b.fx':
E:\Thief - Deadly Shadows\System\Shader@0x16083BE0(37,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed
C:\ReShade 3\Shaders\MXAO12b.fx(185, 6): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x160868C0(37,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed
C:\ReShade 3\Shaders\MXAO12b.fx(192, 6): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x160868C0(37,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed
C:\ReShade 3\Shaders\MXAO12b.fx(260, 6): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x160868C0(37,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed
C:\ReShade 3\Shaders\MXAO12b.fx(295, 6): error: internal shader compilation failed
Last Edit: 4 months 4 weeks ago by lowenz.
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
Are you using any shaders outside those from GitHub? Because again I'm not able to reproduce this in the game + update. Tried on two systems.
Cheers, crosire =)
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #3

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
crosire wrote:
Are you using any shaders outside those from GitHub? Because again I'm not able to reproduce this in the game + update. Tried on two systems.
Yes, that package

27/09/2016 21:53:55:552 [08104] | INFO | Compiling 'C:\ReShade 3\Shaders\Monochrome.fx' ...
27/09/2016 21:53:55:560 [08104] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\Monochrome.fx':
E:\Thief - Deadly Shadows\System\Shader@0x15A1A420(36,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed
C:\ReShade 3\Shaders\Monochrome.fx(18, 8): error: internal shader compilation failed

27/09/2016 21:53:55:572 [08104] | INFO | Compiling 'C:\ReShade 3\Shaders\MouseOverlay.fx' ...
27/09/2016 21:53:55:580 [08104] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\MouseOverlay.fx':
E:\Thief - Deadly Shadows\System\Shader@0x15A1A420(30,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s17 failed
C:\ReShade 3\Shaders\MouseOverlay.fx(23, 8): error: internal shader compilation failed

27/09/2016 21:53:55:593 [08104] | INFO | Compiling 'C:\ReShade 3\Shaders\MXAO12b.fx' ...
27/09/2016 21:53:55:724 [08104] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\MXAO12b.fx':
E:\Thief - Deadly Shadows\System\Shader@0x15B08560(29,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s18 failed
C:\ReShade 3\Shaders\MXAO12b.fx(185, 6): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x15B08560(29,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s18 failed
C:\ReShade 3\Shaders\MXAO12b.fx(192, 6): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x15B08560(29,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s18 failed
C:\ReShade 3\Shaders\MXAO12b.fx(260, 6): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x15B08560(29,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s18 failed
C:\ReShade 3\Shaders\MXAO12b.fx(295, 6): error: internal shader compilation failed
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #4

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
And when I remove some shaders,, others give me the same error:

27/09/2016 21:58:21:381 [03508] | INFO | Compiling 'C:\ReShade 3\Shaders\Outline.fx' ...
27/09/2016 21:58:21:424 [03508] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\Outline.fx':
E:\Thief - Deadly Shadows\System\Shader@0x14BE1200(37,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed
C:\ReShade 3\Shaders\Outline.fx(75, 8): error: internal shader compilation failed

27/09/2016 21:58:21:425 [03508] | INFO | Compiling 'C:\ReShade 3\Shaders\Technicolor.fx' ...
27/09/2016 21:58:21:438 [03508] | INFO | > Successfully compiled.
27/09/2016 21:58:21:445 [03508] | INFO | Compiling 'C:\ReShade 3\Shaders\TiltShift.fx' ...
27/09/2016 21:58:21:478 [03508] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\TiltShift.fx':
E:\Thief - Deadly Shadows\System\Shader@0x14BDFC40(33,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s17 failed
C:\ReShade 3\Shaders\TiltShift.fx(31, 8): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x14BDFC40(33,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s17 failed
C:\ReShade 3\Shaders\TiltShift.fx(44, 8): error: internal shader compilation failed
E:\Thief - Deadly Shadows\System\Shader@0x14BDFC40(33,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s17 failed
C:\ReShade 3\Shaders\TiltShift.fx(72, 8): error: internal shader compilation failed

27/09/2016 21:58:21:479 [03508] | INFO | Compiling 'C:\ReShade 3\Shaders\Vignette.fx' ...
27/09/2016 21:58:21:488 [03508] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\Vignette.fx':
E:\Thief - Deadly Shadows\System\Shader@0x14BE09C0(33,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s17 failed
C:\ReShade 3\Shaders\Vignette.fx(41, 8): error: internal shader compilation failed

27/09/2016 21:58:21:499 [03508] | INFO | Compiling 'C:\ReShade 3\Shaders\YACA.fx' ...
27/09/2016 21:58:21:559 [03508] | ERROR | Failed to compile 'C:\ReShade 3\Shaders\YACA.fx':
E:\Thief - Deadly Shadows\System\Shader@0x14BE0BA0(39,14-29): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s18 failed
C:\ReShade 3\Shaders\YACA.fx(28, 8): error: internal shader compilation failed
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #5

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
Update: it seems this bug is not related to a specific shader but to the number of shaders in the Shaders folder.....20+reshade.fx is the limit.
After that limit I get the crash.

Is it even possible?
Last Edit: 4 months 4 weeks ago by lowenz.
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #6

  • JBeckman
  • JBeckman's Avatar
  • Offline
  • Posts: 180
  • Thank you received: 36
Yes ReShade 3 compiles all shaders it detects so the "best" is to only have those shaders you want to use there and leave the others in say a sub folder or elsewhere so they do not get loaded.
(Also helps with performance and of course the compilation time is reduced with less active shaders.)

Can also copy them in while the game is running and use the in-game ReShade GUI to reload active shaders and then add in the newly added shaders then. :)
Last Edit: 4 months 4 weeks ago by JBeckman.
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #7

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2540
  • Thank you received: 1455
lowenz wrote:
reshade.fx
Ouch. ReShade.fx from 1.1/2.0 should NOT be in there!!! ReShade 3.0 cannot handle so many effects in a single file. It isn't made for that. It expects effects to be in separate files in which case you can have much more than 20 shaders. There is NO limit.
Cheers, crosire =)
Last Edit: 4 months 4 weeks ago by crosire.
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 4 weeks ago #8

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
Pardon: reshade.fxH
I got the shader codes and 3 FXH files (SMAA, FXAA, ReShade)

I really can't understand why Thief DS can't load more than 20 shaders and other games run (now) well.
Mind that if I load reshade without the path of shaders folder AND I add it then hit reload the game DOESN'T crash. The crash is only when the shaders are loaded automatically @start!
Last Edit: 4 months 4 weeks ago by lowenz.
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 3 weeks ago #9

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
I can confim with an example:
If I load LumaSharpen (which I know having NO issues by itself ) as shader 22 Thief DS crashes @start.
If I load LumaSharpen as shader 21 Thief DS works with no problem

tested with new package (updated some minutes ago).
Last Edit: 4 months 3 weeks ago by lowenz.
The administrator has disabled public write access.

ReShade 3.0 and Thief DS (Sneaky Upgraded) crash 4 months 3 weeks ago #10

  • lowenz
  • lowenz's Avatar
  • Offline
  • Posts: 164
  • Thank you received: 15
Original game + dgVoodoo 2 is working



Issue reported to author of Sneaky Upgrade ;)
Last Edit: 4 months 3 weeks ago by lowenz.
The administrator has disabled public write access.