Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Shader Plugin / Shader Help
Re: Shader Plugin / Shader Help [message #389903 is a reply to message #389865] Wed, 10 June 2009 03:04 Go to previous messageGo to previous message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma:
General (1 Star)
Saberhawk wrote on Wed, 10 June 2009 00:50

Omar007 wrote on Tue, 09 June 2009 17:42

I know i have to do that but isnt the d3d9_30.dll already right?
It was added when installing the March 2009 SDK

So what do you thinnk would it be for March 2009 if this isnt the one?

PS. The only difference between his screenshot and mine if i where to post one is i don't have user32.lib in the Additional Dependencies. Although this is surely not the problem xD


March 2009 definately is not d3dx9_30.dll. I just don't feel like looking it up; the only confirmed DirectX SDK to build shaders.dll is the August 2006 one. Install that.

Ah you where indeed right. It was the file from the August 2006 SDK :S
I only cant find the more recent one. ATM im guessing on d3dx9_41.dll

EDIT: nope its not working but supposed to be this one i believe :S

EDIT2: I found this in shaders.cpp:
#if D3DX_SDK_VERSION != 30
#error The Renegade shaders.dll requires the DirectX August 2006 SDK installed in order to produce a proper executable. If you wish to use a different version of the SDK, modify the delay load dll in linker settings to point to the newer d3dx.dll
#endif

AFAIK this means even if i do change the Delay Load to the newest (confirmed that is d3dx9_41.dll) it will still give this error. Seems it doesnt check if it is newer/older yes or no but only if it is August 2006 version.

EDIT3: When i change
#if D3DX_SDK_VERSION != 30
to
#if D3DX_SDK_VERSION <= 30
it does seem to compile as it should. This way you should be able to use all version after August 2006.


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Wed, 10 June 2009 04:15]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rene cloaking sound
Next Topic: shader edit
Goto Forum:
  


Current Time: Thu Dec 19 12:04:58 MST 2024

Total time taken to generate the page: 0.01442 seconds