Originally Posted by
lubchoh
Hello guys, I am using the latest build and Windows7 x64 and I have the following error when I launch Mooege.exe:
[ Info] [MPQPatchChain]: Found a total of 335 assets from DB catalog and postponed loading because lazy loading is activated.
[26.01.2012 21:21:30.268] [Fatal] [Program]: Mooege terminating because of unhandled exception. - [Exception] System.TypeInitializationException: The type initializer for 'Mooege.Core.GS.Items.ItemGenerator' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at CrystalMpq.MpqFileStream.ReadPatchInfoHeader(MpqArchive archive, Int64 offset)
at CrystalMpq.MpqFileStream..ctor(MpqFile file, Stream baseStream)
at Mooege.Common.MPQ.FileFormats.GameBalance..ctor(MpqFile file)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct signature, RuntimeType declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Mooege.Common.MPQ.MPQAsset.RunParser()
at Mooege.Common.MPQ.Asset.get_Data()
at Mooege.Core.GS.Items.ItemGenerator.LoadItems()
at Mooege.Core.GS.Items.ItemGenerator..cctor()
--- End of inner exception stack trace ---
at Mooege.Core.GS.Items.ItemGenerator.get_TotalItems()
at Mooege.Program.Main(String[] args)
If anyone had the same error and feels like helping I'd appreciate it. Thanks!