public bool TryDecompileBinary()
            {
                ParseBinary();
                Code = NSWShaderDecompile.DecompileShader(ShaderType, Data);

                if (Code.Length > 0)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
Exemple #2
0
 private string DecompileShader()
 {
     //Shader A and B usually need to be combined but atm it has some issues
     return(NSWShaderDecompile.DecompileShader(shaderType, data[1], Address));
 }
Exemple #3
0
 private string DecompileShader()
 {
     //Shader A and B usually need to be combined but atm it has some issues
     return(NSWShaderDecompile.DecompileShader(shaderType,
                                               Utils.SubArray(data[1], 48, (uint)data[1].Length - 48), 0));
 }