Welcome, Guest.
Username: Password: Remember me

TOPIC: how to open .fxc files?

how to open .fxc files? 1 year 1 month ago #1

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar
  • Offline
  • If there is no struggle, there is no progress.
  • Posts: 351
  • Thank you received: 218
It be great if someone could help me with this :)
Last Edit: 1 year 1 month ago by Quentin-Tarantino.
The administrator has disabled public write access.

how to open .fxc files? 1 year 1 month ago #2

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
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.
Last Edit: 1 year 1 month ago by Marty McFly.
The administrator has disabled public write access.

how to open .fxc files? 1 year 1 month ago #3

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar
  • Offline
  • If there is no struggle, there is no progress.
  • Posts: 351
  • Thank you received: 218
Double post
Last Edit: 1 year 1 month ago by Quentin-Tarantino.
The administrator has disabled public write access.

how to open .fxc files? 1 year 1 month ago #4

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar
  • Offline
  • If there is no struggle, there is no progress.
  • Posts: 351
  • Thank you received: 218
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.
The administrator has disabled public write access.

how to open .fxc files? 1 year 1 month ago #5

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 609
  • Thank you received: 716
Some GTA V shaders have clear content, but only control values etc, the real shadercode is compiled.
The administrator has disabled public write access.
The following user(s) said Thank You: Quentin-Tarantino

how to open .fxc files? 1 year 1 month ago #6

  • Quentin-Tarantino
  • Quentin-Tarantino's Avatar
  • Offline
  • If there is no struggle, there is no progress.
  • Posts: 351
  • Thank you received: 218
Marty McFly wrote:
Some GTA V shaders have clear content, but only control values etc, the real shadercode is compiled.

Thanks for the info :)
The administrator has disabled public write access.