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

Importing saves causes a crash #39

Open
Ninetales10 opened this issue Aug 13, 2020 · 0 comments
Open

Importing saves causes a crash #39

Ninetales10 opened this issue Aug 13, 2020 · 0 comments

Comments

@Ninetales10
Copy link

Ninetales10 commented Aug 13, 2020

[CoCEd: 1.3.3.223]
System.NotImplementedException: Unknown endianness
at CoCEd.Model.AmfReader.ReadStandardFile(AmfFile file, String& name) in c:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\Model\AmfReader.cs:line 51
at CoCEd.Model.AmfReader.Run(AmfFile file, String& name, SerializationFormat& format) in c:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\Model\AmfReader.cs:line 35
at CoCEd.Model.AmfFile..ctor(String path) in c:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\Model\AmfFile.cs:line 36


after i tried to load the save anyway, it crashed and i got the error message below.

[CoCEd: 1.3.3.223]
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func2 selector)
at CoCEd.ViewModel.ArrayVM1..ctor(AmfObject obj, Func2 selector) in C:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\ViewModel\VM.cs:line 305
at CoCEd.ViewModel.CockArrayVM..ctor(GameVM game, AmfObject obj) in C:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\ViewModel\CockVM.cs:line 13
at CoCEd.ViewModel.GameVM..ctor(AmfFile file, GameVM previousVM, ModType modType) in C:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\ViewModel\GameVM.cs:line 74
at CoCEd.ViewModel.VM.Load(String path, SerializationFormat expectedFormat, Boolean createBackup) in C:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\ViewModel\VM.cs:line 151
at CoCEd.ViewModel.FileVM.OnClick() in C:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\ViewModel\FilesVM.cs:line 446
at CoCEd.View.TopBar.subMenu_Click(Object sender, RoutedEventArgs e) in C:\Users\tmedwards\Documents\Visual Studio 2017\Projects\CoCEd\CoCEd\View\TopBar.xaml.cs:line 126
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Here are the files in question.

CoCEd.zip

@Ninetales10 Ninetales10 changed the title Cant import saves Importing saves causes a crash Aug 13, 2020
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