Peregrine
-
However, in Falcon all ground units movement restrictions are encoded in each tile (paths and areas). This, unless again deeper code changes are made, can throw monkey wrench into attempt to get all that looking more like real map and not what was described above “generic”.
This is interesting to me, you mean that the data is actually saved ON the tile texture?? Hell I have no idea really but that sounds VERY odd to me. Anyway, I don’t see why a “vector” suit won’t be able to hold all such data as necessary (again, assuming we will over get there in the first place :))
-
Military version of outerra.
WOW “… There are no limits in TitanIM, geographically or conceptually.”
- video -
GOD…… this is realism …!!!
-
This is interesting to me, you mean that the data is actually saved ON the tile texture?? Hell I have no idea really but that sounds VERY odd to me. Anyway, I don’t see why a “vector” suit won’t be able to hold all such data as necessary (again, assuming we will over get there in the first place :))
Not “on” the tile (texture) but in the texture.bin which holds all the roads, rivers and areas (like forest).
Gr Falcas
-
GOD…… this is realism …!!!
No its not. This is just visuals. The engine has some potentials though.
-
This is interesting to me, you mean that the data is actually saved ON the tile texture?? Hell I have no idea really but that sounds VERY odd to me. Anyway, I don’t see why a “vector” suit won’t be able to hold all such data as necessary (again, assuming we will over get there in the first place )
Yes, path and area information restricting/facilitating GU movement is strictly related to each terrain tile and limited to size of the tile. Now, in addition to all this there is tree autogen info there (still that is just format of area - point coord and radius). Some of the tiles (without roads/bridges, without water) have no such a information attached to them. All that is stored in texture.bin.
I also think this can be stored in vector suite, but not without deeper and more significant changes in the code. -
So Texture.bin it is, thanx guys!
-
I just want to back up to something I-Hawk said. While I really appreciate the enthusiasm and great ideas presented the last few pages, for me, as a simmer, I’m ok with “good enough.” Please understand, I’d love to have the best terrain available, too. But what we have in 4.33 right now is, IMHO, “good enough.” What you guys did with the auto-gen trees is friggin’ magical. And everything just looks a bit better to me.
If Peregrine enables us to generate theaters much more easily and faster than using the older tools, that in and of itself can be game changing. With the talent on these boards, things like that ever-elusive Europe or Vietnam suddenly become completely viable.
BMS is in such a sweet spot right now. I’m still stunned and amazed at how this sim has matured, and for a $6 investment on Good Old Games anyone with the will can join in.
Awesome stuff.
I’m glad so many of you talented individuals devote your time to making this sim more fun for us end users.
-
-
FSX isn’t a good reference I’m afraid for performance… Number of draw calls for the terrain and memory usage is too high, probably.
I sure hope next generation terrain will not need anything close to 4096 textures…
Guys see this kind of terrain, this is the ultimate terrain engine AFAIK, and it doesn’t seem to use any photoreal, does it?
http://www.outerra.com/wgallery.htmlI don’t like photoreal, they look good but I just think they don’t fit the Sim ATM, the terrain needs to fit the Sim, and I’m not conviced photoreal does for BMS at its present state (which is good!, lovin it :)).
-
photoreal is another thing and accuracy or recognizing Gibraltar is another thing. Gibraltar sure could not be photoreal but not as it can be done by Flacon engine now.
Wanting to fly to Grand canyon or other landmarks that every one knows in their country is another thing.
if tiles are the problem we will be ok if not everyone is not photoreal but having a hill next to an airport or an airport with different elevations as in real would be another thing. u can do it and now if you ask me but the effort needed is a killer, and will not be that good.
-
I know this tool is probably going slower than most would hope. I’ve attached a preview build (buggy things removed, some UI doesn’t work) just so you guys had a chance to play around with it. Initial source code to the bms plugin is provided so you can see what/how to build plugins. Hopefully after the holidays I’ll have some of the requested tools for painting tiles and editing stuff done so people can get to work.
-
Thanx m8. Not working on my win 10 laptop but thanx anyway.
2015-12-28 10:40:13,512 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 10:40:13,681 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) 2015-12-28 10:40:40,095 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 10:40:40,111 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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)
-
Try again, I was having a similar issue on my test box right after uploading. I’ve reuploaded a copy that should work.
-
Also note that while I try to handle exceptions in the Debug.log, there may be cases where it slips through and crashes the application.
Running with admin privledges helps but not always.
Also note that if you play with the bms plugin, be prepared to see 4+GB ram usage. Optimizations will come after the editing tools are done.
-
I’ve been looking forward to this!
Same issues with me sadly - tried running as admin too. Here’s the trace:
2015-12-28 11:17:36,865 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 11:17:36,888 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) 2015-12-28 11:17:42,031 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace ---
Cheers,
Del
-
Hi
The same problem with me.
Cheers,
Dado
-
with the new one:
2015-12-28 16:35:03,038 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 16:35:04,671 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) 2015-12-28 16:36:57,637 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 16:36:57,665 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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)
-
with the new one:
2015-12-28 16:35:03,038 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 16:35:04,671 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) 2015-12-28 16:36:57,637 - System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Peregrine.UI.MapView' that matches the specified binding constraints threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at Peregrine.Core.Singleton`1.get_Instance() at Peregrine.UI.MapView..ctor() in C:\Users\aeon\Projects\Peregrine\Peregrine\Peregrine.UI\Map\MapView.xaml.cs:line 47 --- End of inner exception stack trace --- at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc) at System.Windows.Application.DoStartup() at System.Windows.Application.<.ctor>b__1_0(Object unused) 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) 2015-12-28 16:36:57,665 - System.NullReferenceException: Object reference not set to an instance of an object. at Peregrine.MainWindow.ShowPopup(String Message) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 47 at Peregrine.MainWindow.Current_DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in C:\Users\aeon\Projects\Peregrine\Peregrine\Shell\MainWindow.xaml.cs:line 86 at System.Windows.Threading.Dispatcher.CatchException(Exception e) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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)
Thanks,
The issue here is trying to load SQLite. Peregrine is a 64-bit application only, so if you are on 32-bit windows, Peregrine won’t work. It requires more than 4gb of ram. Also, if you are running windows xp, it also won’t work. Windows 7 is the minimum system os. I’ll see about working through the SQLite problems and report back.
-
I’ve updated the zipfile linked to in post #1 with a new version that bypasses SQLite caching (for now). Please test this version out and see if that solves your AccessViolationException issues.