emoose / MBINCompiler

Now maintained by monkeyman192: https://github.com/monkeyman192/MBINCompiler
Other
43 stars 69 forks source link

Decompiler crashes on GCUIGLOBALS file #98

Closed ClassyCircuit closed 5 years ago

ClassyCircuit commented 5 years ago

GCUIGLOBALS.GLOBAL.MBIN cannot be decompiled, it always crashes with the following error:

Values index out of Range. Struct: libMBIN.Models.Structs.GcScanEffectData field: ScanEffectType ERROR: An unknown exception occurred! Error Stacktrace: at libMBIN.Models.NMSTemplate.FinishDeserialize() at libMBIN.Models.NMSTemplate.DeserializeBinaryTemplate(BinaryReader reader, String templateName) at libMBIN.Models.NMSTemplate.DeserializeValue(BinaryReader reader, Type field, NMSAttribute settings, Int64 templatePosition, FieldInfo fieldInfo, NMSTemplate parent) at libMBIN.Models.NMSTemplate.DeserializeBinaryTemplate(BinaryReader reader, String templateName) at libMBIN.MBINFile.GetData() at MBINCompiler.Program.DecompileFile(String inputPath, String outputPath, Boolean getVersion, Boolean verbose) at MBINCompiler.Program.Main(String[] args)