SR3 Shader Dumper

This is a tool that will disassemble a Saints Row 3 shader file (the shaders are in the shaders.vpp_pc file) and show all the shader code contained in that file. I wrote it to help me to work out the format of the shader files and ultimately the format of the 3d mesh files.

Please note that this utility uses parts from the Direct X 11 SDK, so it may not work under Windows XP (as it doesn't do Direct X 11).

The html files the program generates are not to the W3C standards but they work OK in Firefox and Internet Explorer.

Usage:

To dump the shaders to a html file:
DumpShaders <filename>.fxo_pc or <filename>.fxo_pc_dx11

It will generate a <filename>.html file in the same directory as the shader file.
i.e.

DumpShaders bb-norender_bs.fxo_pc

It will create a file called bb-norender_bs.fxo_pc.html with the shader information in it.
 

Attachments

  • DumpShaders_v1.7z
    35.7 KB · Views: 784
Back
Top