Closed RhesusTOR closed 7 years ago
Executing the latest release of MBINCompiler (or any of the 3 different version I have archived) on any of the following ENTITY.MBIN files generates the same type of error:
The error thrown in every case:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Invalid list read, magic 00000000 expected xxxxxx01 at MBINCompiler.Models.NMSTemplate.DeserializeList[T](BinaryReader reader, FieldInfo field, NMSAttribute settings, Int64 templateStartOffset, NMSTemplate parent) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at MBINCompiler.Models.NMSTemplate.DeserializeValue(BinaryReader reader, Type field, NMSAttribute settings, Int64 templatePosition, FieldInfo fieldInfo, NMSTemplate parent) at MBINCompiler.Models.NMSTemplate.DeserializeBinaryTemplate(BinaryReader reader, String templateName) at MBINCompiler.Models.NMSTemplate.DeserializeGenericList(BinaryReader reader, Int64 templateStartOffset, NMSTemplate parent) at MBINCompiler.Models.NMSTemplate.DeserializeValue(BinaryReader reader, Type field, NMSAttribute settings, Int64 templatePosition, FieldInfo fieldInfo, NMSTemplate parent) at MBINCompiler.Models.NMSTemplate.DeserializeBinaryTemplate(BinaryReader reader, String templateName) at MBINCompiler.MBINFile.GetData() at MBINCompiler.Program.DecompileFile(String input, String output) at MBINCompiler.Program.Main(String[] args)
Executing the latest release of MBINCompiler (or any of the 3 different version I have archived) on any of the following ENTITY.MBIN files generates the same type of error:
The error thrown in every case:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Invalid list read, magic 00000000 expected xxxxxx01 at MBINCompiler.Models.NMSTemplate.DeserializeList[T](BinaryReader reader, FieldInfo field, NMSAttribute settings, Int64 templateStartOffset, NMSTemplate parent) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at MBINCompiler.Models.NMSTemplate.DeserializeValue(BinaryReader reader, Type field, NMSAttribute settings, Int64 templatePosition, FieldInfo fieldInfo, NMSTemplate parent) at MBINCompiler.Models.NMSTemplate.DeserializeBinaryTemplate(BinaryReader reader, String templateName) at MBINCompiler.Models.NMSTemplate.DeserializeGenericList(BinaryReader reader, Int64 templateStartOffset, NMSTemplate parent) at MBINCompiler.Models.NMSTemplate.DeserializeValue(BinaryReader reader, Type field, NMSAttribute settings, Int64 templatePosition, FieldInfo fieldInfo, NMSTemplate parent) at MBINCompiler.Models.NMSTemplate.DeserializeBinaryTemplate(BinaryReader reader, String templateName) at MBINCompiler.MBINFile.GetData() at MBINCompiler.Program.DecompileFile(String input, String output) at MBINCompiler.Program.Main(String[] args)