how to open .fxc files?

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar Topic Author
  • Offline
  • Posts: 351
4 years 8 months ago - 4 years 8 months ago #1 by Quentin-Tarantino
It be great if someone could help me with this :)

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

  • Posts: 1221
4 years 8 months ago - 4 years 8 months ago #2 by Marty McFly
fxc are compiled HLSL shaderfiles so even if you can disassemble them, you end up with ASM which would need translation and interpretation to ReShade FX which is very hard for any shaders that are not extremely small. There is a python script around that can disassemble fxc.

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

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar Topic Author
  • Offline
  • Posts: 351
4 years 8 months ago - 4 years 8 months ago #3 by Quentin-Tarantino
Double post

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

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar Topic Author
  • Offline
  • Posts: 351
4 years 8 months ago #4 by Quentin-Tarantino

Marty McFly wrote: fxc are compiled HLSL shaderfiles so even if you can disassemble them, you end up with ASM which would need translation and interpretation to ReShade FX which is very hard for any shaders that are not extremely small. There is a python script around that can disassemble fxc.


Marty its for the Shader files in GTA V. I want to mess with some shadows, Fur, Hair etc.

For example:

Shader: Hair.fxc
Changes:
//#define INTERPOLATION_LOD_GS
float g_ScreenWidth = 1280.0; to 1920
float g_ScreenHeight = 1024.0; to 1080
float g_InterpolationLOD = 1.0; to 2.0

RasterizerState SolidNoCull
{
FillMode = Solid;
CullMode = None;
AntialiasedLineEnable = false; to true

I found some interesting shader tweaks like the above on the web and i want to test them out.

Problem is that it doesn't say how to open the files!
I am working on a world overhaul mod for GTA V and i have already changed a lot of files with OpenIV and so far it looks alive
but if i just could get those shader files opened it be icing on the cake before i release it.

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

  • Posts: 1221
4 years 8 months ago #5 by Marty McFly
Some GTA V shaders have clear content, but only control values etc, the real shadercode is compiled.
The following user(s) said Thank You: Quentin-Tarantino

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

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar Topic Author
  • Offline
  • Posts: 351
4 years 8 months ago #6 by Quentin-Tarantino

Marty McFly wrote: Some GTA V shaders have clear content, but only control values etc, the real shadercode is compiled.


Thanks for the info :)

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