BeamRider / VRK-Releases

VRK releases, wiki and issue tracking
16 stars 0 forks source link

DCS Mig-19 training mission crash VRK #21

Open patengelbert opened 3 years ago

patengelbert commented 3 years ago

Description: DCS Mig-19 training mission crash VRK Version: 1.4.3.10 Details: The DCS training missions crash the VR Kneeboard application when loaded manually or automatically. This is due to two desktop.ini files in the .miz files that fail to be extracted. The contents of the affected files have the following format (note desktop.ini in KNEEBOARD folder and desktop.ini in KNEEBOARD/IMAGES) and fail to be extracted as a flat file structure:

-   mission
-   options
-   tree.txt
-   warehouses
-   
----KNEEBOARD
-   -   desktop.ini
-   -   
-   ----IMAGES
-           desktop.ini
-           KNEEBOARD_01.jpg
-           KNEEBOARD_02.jpg
-           
----l10n
    ----CN
    -       dictionary
    -       M05_CN.png
    -       mapResource
    -       
    ----DEFAULT
            1.ogg
            10.ogg
            11.ogg
            12.ogg
            4.ogg
            5.ogg
            6.ogg
            7.ogg
            8.ogg
            9.ogg
            dictionary
            M5 Nav 512.png
            mapResource
            N01.ogg
            N02.ogg
            N03.ogg
            N13.ogg
            N14.ogg
            N15.ogg
            N16.ogg
            N17.ogg
            N18.ogg
            N19.ogg
            N20.ogg
            N21.ogg
            N22.ogg
            N23.ogg
            N24.ogg
            N25.ogg
            N26m2.ogg
            N27.ogg
            N28.ogg
            N29.ogg
            N30.ogg
            N31.ogg
            N32.ogg
            n33.ogg
            n34.ogg
            N35.ogg
            N36.ogg
            N37.ogg
            N38.ogg
            N39.ogg
            N40.ogg
            N41.ogg
            N42.ogg
            N43.ogg
            N44.ogg
            N45.ogg

The logs show:

2021-06-19 19:07:53,446 [1] ERROR VRKneeboard.App - System.IO.IOException: Cannot create a file when that file already exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
   at VRKneeboard.MainWindow.MizFlattenImagesDires(String dir)
   at VRKneeboard.MainWindow.<LoadMiz>d__91.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VRKneeboard.MainWindow.<AddMiz_Click>d__73.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VRKneeboard.MainWindow.<AddMiz1_Click>d__71.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   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)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   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 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext 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)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at VRKneeboard.App.Main()