ENB log of shader compiler errors

share shaders here
Post Reply
  • Author
  • Message
Offline
User avatar
*master*
Posts: 229
Joined: 21 Feb 2013, 03:21
Location: Los Angeles, CA

ENB log of shader compiler errors

Boris,
I am wondering if it would be possible for you to pass on any of the errors from the shader compiler to a log file? As it is, if I make a syntax or other error in my code (.i.e. enbeffect.fx) and <Apply Changes> in the ENB GUI, Skyrim will crash and I have no log of any errors. I thought of trying to find a free HLSL compiler online, but I could not find anything besides the Microsoft fxc.exe tool. Any help is appreciated.
Thanks!
_________________
i7-4970K 4.8ghz, 16gb ram, Geforce Titan X 12gb vram, win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17447
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: ENB log of shader compiler errors

NVidia FXComposer? I can't output errors, because it's a lot of text which will be below the GUI, so not very usable, especially when multiple shaders output their warnings. Log is what i prefer to not do at all, users with SSD will burn in hell. Try out FXComposer (better version pre 2.0, like 1.8), i'll think about ideal solution for reporting errors, but already thought about it and don't like them all.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
*master*
Posts: 229
Joined: 21 Feb 2013, 03:21
Location: Los Angeles, CA

Re: ENB log of shader compiler errors

FXComposer works great for this, thanks for the idea.!
_________________
i7-4970K 4.8ghz, 16gb ram, Geforce Titan X 12gb vram, win7

Offline
User avatar
*master*
Posts: 229
Joined: 21 Feb 2013, 03:21
Location: Los Angeles, CA

Re: ENB log of shader compiler errors

Does anyone have advice on getting effect.txt to compile as an hlsl shader in FXComposer? Why is it effect.txt and not effect.fx? Thanks for any help!
_________________
i7-4970K 4.8ghz, 16gb ram, Geforce Titan X 12gb vram, win7

Offline
User avatar
*master*
Posts: 229
Joined: 21 Feb 2013, 03:21
Location: Los Angeles, CA

Re: ENB log of shader compiler errors

Nevermind about FxComposer, I have a work around of just also saving as effect.fx. I'm still curious about the naming of effect.txt though. Thanks.
_________________
i7-4970K 4.8ghz, 16gb ram, Geforce Titan X 12gb vram, win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17447
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: ENB log of shader compiler errors

File was named as txt, because .fx is not format of shaders, file extention for hlsl not strictly defined and users don't know what .fx is, but they can open .txt easily to understand that file is available for editing.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

Offline
User avatar
*master*
Posts: 229
Joined: 21 Feb 2013, 03:21
Location: Los Angeles, CA

Re: ENB log of shader compiler errors

Thanks for the info. Out of curiosity, is effect.txt handled in a different way than the others? I noticed that it does not CTD on errors like enbeffect.fx does.
_________________
i7-4970K 4.8ghz, 16gb ram, Geforce Titan X 12gb vram, win7

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17447
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: ENB log of shader compiler errors

Enbeffect.fx is required to run the mod, the shader don't have internal dublicate and i ignore case of missing or wrong file as without it all you can see is black-white image with red sky. In the past many users reported this as bug and i'm tired to explain, so changed behavior to crash on errors to stay away from all these. You know, it's very hard to stay cool when hundreds say the same thing again and again and again while it's their own mistakes.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
Post Reply