Skatezilla's DCS Updater Utility GUI

Copy Paste the debug code

I installed in default location. Stand by for debug

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Eagle Dynamics\DCS World OpenBeta/Config/Options.lua'.
File name: 'C:\Program Files\Eagle Dynamics\DCS World OpenBeta/Config/Options.lua'
   at Microsoft.VisualBasic.FileSystem.FileCopy(String Source, String Destination)
   at DCSUpdaterUtility.Form_Main.FolderScanAndVerify()
   at DCSUpdaterUtility.Form_Main.Form1_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DCS Updater Utility
    Assembly Version: 1.1.0.1016
    Win32 Version: 12.26.2018
    CodeBase: file:///C:/Users/kstas/OneDrive/Desktop/DCS%20Updater%20Utility.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

because you are putting the DCS Install Folder Path in the Saved Games Path.

Thanks but how to fix…I cant get utility to run I deleted then ran it again with same result

@unpilot

Skate probably means to say that you put the wrong folder location into this field, circled in red here.

What you should put there is probably C:\Users[your name]\Saved Games\DCS
or C:\Users[your name]\Saved Games\DCS.openbeta

in my case, it is D:\Doc\Saved Games\DCS.openbeta but that is because I moved the Saved Games folder to a different drive.

EDIT: some explanation

DCS has an install or program files folder, typically in C:\Program Files\Eagle Dynamics\DCS and a Saved Games folder, which is the one I mentioned above.

In the install folder, all files are kept that are the same for everybody: maps, simulation, default skins and missions, and the modules themselves. Everything that you get when you download DCS, or a module.

In the Saved Games folder, DCS puts everything that is different for every player: graphics and sound settings, keybinds, snapviews, custom user-made missions, custom skins.
As a bonus, most mods that add a new aircraft/boat/vehicle to the game (such as the awesome, free, fully clickable, A-4 Skyhawk) can also be put in Saved Games.

The advantage of this is that the DCS Updater can update the entire install folder without a risk of deleting any of the custom skins/missions/keybinds you made.

1 Like

Thanks but I am truly stuck now as I have deleted the utility tried cleaning the registry of any traces and downloaded and ran utility again and get same result. So I cant get to the filed were I will be able to change that.

Oh, you can’t get to settings because this happens during startup?
That really sucks.

I got it sorted. I just clicked on continue and after some time (not sure how long as I ate dinner) I came back and the utility was running. I then changed the saved file location and bang…all good.

Going to play around a bit and see what up!

Thanks for the help.

1 Like

delete the config files in:
/<Username>/Appdata/Local/Skate_Zilla_Graphics_Stud/

1 Like

I have it working thanks!

For some reason the networking bits are broken. The below log pops up in an error box when I click the version number refresh. Obviously this box is online lol. Tool used to work perfectly before (well almost, previous version tended to b0rk the bit of its config file where it writes the window position, making it no longer display)

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The remote name could not be resolved: 'skate-zilla-graphics.000webhostapp.com'
   at System.Net.HttpWebRequest.GetResponse()
   at DCSUpdaterUtility.Form_Main.CHECKDCSVERSIONS()
   at DCSUpdaterUtility.Form_Main.Button_DCS_SERVER_VER_Click_1(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
DCS Updater Utility
    Assembly Version: 1.1.0.1016
    Win32 Version: 12.26.2018
    CodeBase: file:///H:/DCS%20World/DCS%20Updater%20Utility.exe
-------------------    ---------------------
    Microsoft.VisualBasic
        Assembly Version: 10.0.0.0
        Win32 Version: 14.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Runtime.Remoting
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

Might be a server issue with the webhost.

01.01.2019 / 1.1.0.1017:
-Adjusted Some Tool Tips
-Reduced Size Options Removed
-Adjusted Sys Tray Restore option to “Maximize” Window
-Removed Orphaned Instances Telling App to Hide / Show
-Added Presets to Save/Load Last Selected on Launch/Quit

2 Likes

Hey Skatezilla,
Thank you for giving us this great tool I have had a problem since todays update. I cant “Maximize” the window. It runs minimized and I cant figure out how to make it… well Big again. I cant use it like this. Do you know about this issue?

WinKey + Up is Maximize.

Ive removed the “hide from taskbar” code a few builds back

In this folder:

C:\Users\[yourname]\AppData\Local\Skate_Zilla_Graphics_Stud\DCS_Updater_Utility.exe_StrongName_eyxzuj3cktofe3uzj1jdj4xy20o4mjbq\1.1.0.1018\

You will find a file called user.config. In it is a line that goes like this:

<setting name="MainFormLocation" serializeAs="String"> <value>169, 517</value>

The values in that setting will from time to time go haywire. Like 32000, 32000. This will make the app not draw its window when it should. If you edit it back to a more sensible value such as 3, 3 the app should show up again.

It’s an older bug and I believe I have reported it earlier to @SkateZilla. I can’t for the life of me figure out the steps to reproduce, so that sucks and I’m sorry for that :wink:

p.s. @SkateZilla might we get VoiceAttack listed in the “apps launched with DCS” header?

4 Likes

@shurem,
Thank You sir! Works like a charm.

1 Like

The position thing is weird, which is why I removed the “Hide” Command, I may add some code to the restore option to move to a 0,0 location. And check VB.net to see if anyone else has this issue.

The launch with apps section was setup for supported apps, tue next piblic build will have custom launch script though which would open up everything to be launched.

1 Like