Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error traceback when decompiling Guitar Hero: World Tour PC .fxc Shaders #14

Open
OktoberfestTheEnthusiast opened this issue Jan 7, 2025 · 0 comments

Comments

@OktoberfestTheEnthusiast

So I've recently went back to decompile some of the .fxc shader files from Guitar Hero: World Tour PC. But it gives me a traceback when trying to decompile it, only gets .asm extracted.

Writing HairShader_0_ps0.asm
Writing HairShader_0_ps0.fx
Process terminated. Assertion failed.
at HlslDecompiler.Hlsl.InstructionParser.ReadConstantDeclaration(BinaryReader ctabReader) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Hlsl\InstructionParser.cs:line 201
at HlslDecompiler.Hlsl.InstructionParser.ParseConstantTableComment(D3D9Instruction instruction) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Hlsl\InstructionParser.cs:line 183
at HlslDecompiler.Hlsl.InstructionParser.ParseInstruction(D3D9Instruction instruction) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Hlsl\InstructionParser.cs:line 72
at HlslDecompiler.Hlsl.InstructionParser.ParseToAst(ShaderModel shader) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Hlsl\InstructionParser.cs:line 42
at HlslDecompiler.Hlsl.InstructionParser.Parse(ShaderModel shader) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Hlsl\InstructionParser.cs:line 21
at HlslDecompiler.HlslWriter.Write(String hlslFilename) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Hlsl\HlslWriter.cs:line 104
at HlslDecompiler.Program.ReadShaderModel(String baseFilename, FileStream inputStream, Boolean doAstAnalysis) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Program.cs:line 56
at HlslDecompiler.Program.Main(String[] args) in G:\Documents\ghwt-de-volatile-master\HlslDecompiler\Program.cs:line 28

HairShader.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant