Jump to content

[AnyOS] KSP Mod Admin v2 - Mod install with a few clicks


MacTee

Recommended Posts

I can paste that I have displayed. But I use Russian ver. of Windows 8. You can try to understand.

ßþôрþñýðѠøýфþрüðцøѠþñ øÑÂÿþûь÷þòðýøø þÿõрðтøòýþù

(JIT) þтûðôúø òüõÑÂтþ ôðýýþóþ ôøðûþóþòþóþ

þúýð ÑÂþôõрöøтÑÂѠò úþýцõ ÑÂтþóþ ÑÂþþñщõýøÑÂ.

************** âõúÑÂÑ‚ øÑÂúûючõýøѠ**************

System.ArgumentOutOfRangeException: ×ýðчõýøõ '-1' ýõôþÿуÑÂтøüþ ôûѠ'LargeChange'. 'LargeChange' ôþûöýþ ñыть ñþûьшõ øûø рðòýþ 0.

ØüѠÿðрðüõтрð: LargeChange

ò System.Windows.Forms.ScrollBar.set_LargeChange(Int32 value)

ò KSPMODAdmin.Utils.CommonTools.TreeListViewEx.UpdateScrollBars()

ò KSPMODAdmin.Utils.CommonTools.TreeListViewEx.RecalcLayout()

ò KSPMODAdmin.Utils.CommonTools.TreeListViewNodes.Clear()

ò KSPMODAdmin.Views.ucOptions.set_KnownPaths(List`1 value)

ò KSPMODAdmin.MainForm.SetKnownPaths()

ò KSPMODAdmin.MainForm.SetAppConfigValues()

ò KSPMODAdmin.MainForm.LoadAppConfig()

ò KSPMODAdmin.MainForm.MainForm_Load(Object sender, EventArgs e)

ò System.Windows.Forms.Form.OnLoad(EventArgs e)

ò System.Windows.Forms.Form.OnCreateControl()

ò System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

ò System.Windows.Forms.Control.CreateControl()

ò System.Windows.Forms.Control.WmShowWindow(Message& m)

ò System.Windows.Forms.Control.WndProc(Message& m)

ò System.Windows.Forms.ScrollableControl.WndProc(Message& m)

ò System.Windows.Forms.ContainerControl.WndProc(Message& m)

ò System.Windows.Forms.Form.WmShowWindow(Message& m)

ò System.Windows.Forms.Form.WndProc(Message& m)

ò System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

ò System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

ò System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** ×ðóруöõýýыõ ÑÂñþрúø **************

mscorlib

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18051 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

KSPMODAdmin

ÒõрÑÂøѠÑÂñþрúø: 1.3.9.0

ÒõрÑÂøѠWin32: 1.3.9.0

CodeBase: file:///F:/KSPModAdmin/KSPMODAdmin.exe

----------------------------------------

System.Windows.Forms

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18046 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18045 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18022 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Accessibility

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Core

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

mscorlib.resources

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18010 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/mscorlib.resources.dll

----------------------------------------

System.Deployment

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

----------------------------------------

System.Deployment.resources

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18010 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_ru_b03f5f7f11d50a3a/System.Deployment.resources.dll

----------------------------------------

System.Xml

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18058 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Windows.Forms.resources

ÒõрÑÂøѠÑÂñþрúø: 4.0.0.0

ÒõрÑÂøѠWin32: 4.0.30319.18010 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll

----------------------------------------

************** ÞÿõрðтøòýðѠþтûðôúð (JIT) **************

Ãâ€Ã»Ñ Ã¿Ã¾Ã´ÃºÃ»ÑŽÑ‡ÃµÃ½Ã¸Ñ Ã¾Ã¿ÃµÑ€Ã°Ñ‚øòýþù (JIT) þтûðôúø фðùû .config ôðýýþóþ

ÿрøûþöõýøѠøûø úþüÿьютõрð (machine.config) ôþûöõý øüõть

÷ýðчõýøõ jitDebugging, уÑÂтðýþòûõýýþõ ò ÑÂõúцøø system.windows.forms.

ßрøûþöõýøõ тðúöõ ôþûöýþ ñыть ÑÂúþüÿøûøрþòðýþ Ѡòúûючõýýþù

þтûðôúþù.

ÃÂðÿрøüõр:

<configuration>

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

</configuration>

ßрø òúûючõýýþù þтûðôúõ JIT ûюñþõ ýõþñрðñðтыòðõüþõ øÑÂúûючõýøõ

ÿõрõÑÂыûðõтÑÂѠþтûðôчøúу JIT, ÷ðрõóøÑÂтрøрþòðýýþüу ýð ôðýýþü úþüÿьютõрõ,

òüõÑÂтþ тþóþ чтþñы þñрðñðтыòðтьÑÂѠôðýýыü ôøðûþóþòыü þúýþü.

Link to comment
Share on other sites

I can paste that I have displayed. But I use Russian ver. of Windows 8. You can try to understand.

Snip

I have an English version of Windows 8 Pro with Media Center 64-bit, 16 GB of ram, NVidia GPU Geforce GTX 560M and am getting a similar error.

The Error window is a .NET Framework error

Unhandled exception has occurred in your application.

if you click Continue, the applcation will ignore this

error and attempt to continue, If you click Quit, the

application will close immediately.

Value of '-1' is not valid for 'LargeChange'.

'LargeChange' must be greater than or equal to 0.

And under details:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.ArgumentOutOfRangeException: Value of '-1' is not valid for 'LargeChange'. 'LargeChange' must be greater than or equal to 0.

Parameter name: LargeChange

at System.Windows.Forms.ScrollBar.set_LargeChange(Int32 value)

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.UpdateScrollBars()

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.RecalcLayout()

at KSPMODAdmin.Utils.CommonTools.TreeListViewNodes.Clear()

at KSPMODAdmin.Views.ucOptions.set_KnownPaths(List`1 value)

at KSPMODAdmin.MainForm.SetKnownPaths()

at KSPMODAdmin.MainForm.SetAppConfigValues()

at KSPMODAdmin.MainForm.LoadAppConfig()

at KSPMODAdmin.MainForm.MainForm_Load(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.0.30319.18051 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

KSPMODAdmin

Assembly Version: 1.3.9.0

Win32 Version: 1.3.9.0

CodeBase: file:///C:/Users/Bergion/Desktop/KSP%20Mod%20Admin/KSPMODAdmin.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR

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.0.30319.18022 built by: FX45RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18045 built by: FX45RTMGDR

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.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Deployment

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

----------------------------------------

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

I hope this helps you figure out the error. I found version 1.3.6 worked great but some of the updates would be nice to have as well

Link to comment
Share on other sites

@Bergion & hiegova:

I'll create a new special version, which will write a log with detailed data. I'll send you a link via PM.

But for now i don't have the time, you can expect the version tomorrow.

@Bergion:

I have send you a link to a special version, which hiegova already got. This version fixes the LargeChange ArgumentException, but there will be another Exception.

hiegova uses a rusian Windows version, and i can't translate the error message properly, so it would be nice if you could send me the new error!

Edited by MacTee
Link to comment
Share on other sites

I get pretty much the same error on my laptop as Bergion. Fresh steam install of ksp with no mods. Windows 7 home premium 64-bit, 8gb ram, nvidia gefore GT540M. My desktop pc runs it fine (also w7 home premium).

************** Exception Text **************

System.ArgumentOutOfRangeException: Value of '-1' is not valid for 'LargeChange'. 'LargeChange' must be greater than or equal to 0.

Parameter name: LargeChange

at System.Windows.Forms.ScrollBar.set_LargeChange(Int32 value)

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.UpdateScrollBars()

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.RecalcLayout()

at KSPMODAdmin.Utils.CommonTools.TreeListViewNodes.Clear()

at KSPMODAdmin.Views.ucOptions.set_KnownPaths(List`1 value)

at KSPMODAdmin.MainForm.SetKnownPaths()

at KSPMODAdmin.MainForm.SetAppConfigValues()

at KSPMODAdmin.MainForm.LoadAppConfig()

at KSPMODAdmin.MainForm.MainForm_Load(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.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.0.30319.1008 (RTMGDR.030319-1000)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

KSPMODAdmin

Assembly Version: 1.3.9.0

Win32 Version: 1.3.9.0

CodeBase: file:///C:/DATA/KERBAL/1.3.9/KSPModAdmin/KSPMODAdmin.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1002 built by: RTMGDR

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.0.30319.1001 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1001 built by: RTMGDR

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.0.30319.233 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Deployment

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

----------------------------------------

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1015 built by: RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

Link to comment
Share on other sites

Ok Just got back home from celebrating Thankgiving. :)

It comes up with another .Net Error

Value of '0" is not valid for 'Value'. 'Value' should be

between 'minimum' and 'maximum'.

Under Details:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.ArgumentOutOfRangeException: Value of '0' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.

Parameter name: Value

at System.Windows.Forms.ScrollBar.set_Value(Int32 value)

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.SetVScrollValue(Int32 value)

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.UpdateScrollBars()

at KSPMODAdmin.Utils.CommonTools.TreeListViewEx.RecalcLayout()

at KSPMODAdmin.Utils.CommonTools.TreeListViewNodes.Clear()

at KSPMODAdmin.Views.ucOptions.set_KnownPaths(List`1 value)

at KSPMODAdmin.MainForm.SetKnownPaths()

at KSPMODAdmin.MainForm.SetAppConfigValues()

at KSPMODAdmin.MainForm.LoadAppConfig()

at KSPMODAdmin.MainForm.MainForm_Load(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.0.30319.18051 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

KSPMODAdmin

Assembly Version: 1.3.10.0

Win32 Version: 1.3.10.0

CodeBase: file:///C:/Users/Bergion/Desktop/KSP%20Mod%20Admin/KSPMODAdmin-v.1.3.10_hiegova.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR

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.0.30319.18022 built by: FX45RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18045 built by: FX45RTMGDR

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.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Deployment

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

----------------------------------------

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

If I continue it brings up the folder selection window. I can select a folder but when I try to press OK, the same error comes up.

Link to comment
Share on other sites

As stated a few messages above

English version of Windows 8 Pro with Media Center 64-bit, 16 GB of ram, NVidia GPU Geforce GTX 560M

:)

I should clarify. the error pops when I first start it. then if I continue it brings up the KSP install path dialog. I can use the folder browser to select a path and when I click ok on the browser the path shows up in the path dialog. When I click OK again the error repeats. If I click later I can get into the program but with the mod buttons greyed out.

If I click on the options tab I get the same error. If I click continue the options tab doesn't actually open. If I click back on the mods tab I get a slightly different error with this as the details:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.NullReferenceException: Object reference not set to an instance of an object.

at KSPMODAdmin.MainForm.IsKSPDir(String dir)

at KSPMODAdmin.MainForm.tabControl1_TabIndexChanged(Object sender, EventArgs e)

at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)

at System.Windows.Forms.TabControl.WmSelChange()

at System.Windows.Forms.TabControl.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.0.30319.18051 built by: FX45RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

KSPMODAdmin

Assembly Version: 1.3.10.0

Win32 Version: 1.3.10.0

CodeBase: file:///C:/Users/Bergion/Desktop/KSP%20Mod%20Admin/KSPMODAdmin-v.1.3.10_hiegova.exe

----------------------------------------

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR

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.0.30319.18022 built by: FX45RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18045 built by: FX45RTMGDR

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.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Deployment

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

----------------------------------------

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR

CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

Let me know if I can help with anything else.

Link to comment
Share on other sites

Sry, for my late replay, but RL hit me hard =(

So i have send a link to a new special version to hiegova, Bergion and Sergei.

It would be nice if one of you could execute this version once and send me the *.txt file from the KSP MA install path.

Thanks alot for your help!

EDIT:

I have tracked down the problem to the TreeListView of the Options Tab. The Problem is that the TreeListView has the height of 0.

With default setting this should not occur! Till now i have no idea why some user encounter this issue.

I'll write another Log-Version of KSP MA to gether more information about the init process of KSP MA.

Sry, for the problems and thanks for your patience and help!

Edited by MacTee
Link to comment
Share on other sites

suggestion: add "open folder" (in windows explorer) in the right mouse click context menu.

how to install Taverio’s Pizza and Aerospace v1.5 via this tool? it doesn't detect gamedata folder inside of TP Aerospace .zip :P

upd: moved all those folders out of gamedata and repacked, seems to work

Edited by gendalf
Link to comment
Share on other sites

Hey MacTee, fired up the source in a fresh Win8Pro VM and ran some tests. I couldn't replicate the error Bergion and hiegova are reporting.

@Bergion / @hiegova - can you guys run the following command in PowerShell

tree C:\My_KSP_Folder /F | out-file c:\temp\treelist.txt

This will place a text file in the folder C:\temp called "treelist.txt", make sure C:\temp is there or change it accordingly. Just replace the "My_KSP_Folder" with the actual folder name. I hope your mods are inside this folder, if not, you'll have to run it twice (if so, make sure to change the output file name (treelist2.txt)). Then upload it somewhere we can download. I can recreate your folder structure and re-test.

Link to comment
Share on other sites

@gendalf: Thanks for the suggestion a open folder Button will come with one of the next versions :)

And for now a cant tell you why KSP MA ignores the GameData folder within the TV-Aerospace-v1.5.zip aarchive. (I'm on that after i've fixed the TreeListView problem)

@Bergion: Thanks for the infos! But link i mentioned in a post above (#259). The error has something to do with the Window Size of KSP MA. I think LeadMagnet missed that post ;)

I hope i have some time (and power left) at the weekend, but my children will come first! :D

Link to comment
Share on other sites

I had a bit of time so I looked at the txt. I found the below text near the middle:

DEBUG Infos TreeListView

TreeListView:

Name: tvPaths

Location: (28, 117)

Width: 195

Height: 0

Nodes.Count: 0

V_Scroll:

Visible: False

Minimum: -1

Maximum: -1

Value: -1

And then repeated near the end.

Link to comment
Share on other sites

Yes here you can see that the height of the tvPaths (TreeListView) is 0.

But i have no idea why. Normaly this shouldn't happen!

Btw. whats your screen resolution and are you using KSP MA with a maximized window?

Could you check what happens when you rename the folder c:\ProgramData\KSPModAdmin and start KSP MA again please.

Link to comment
Share on other sites

My screen resolution is 1900X1080 on 2 screens each. Desktop is extended across both. The error happens before there is an option to maximize the window or not.

When I rename the KSPModAdmin folder to KSPModAdmin.old it creates a new KSPModAdmin folder with KSPModAdmin folder inside of it and version number folders inside.

This is from the kspmodadmin.cfg file in the 1.3.9.0 folder

<?xml version="1.0" encoding="UTF-8"?>

<ModAdminConfig>

<Version>v1.0</Version>

<General>

<Position x="681" y="1250" />

<Size Width="557" Height="739" />

<WindowState maximized="False" />

<KSP_Path Name=" Select the KSP install folder" />

<Known_KSP_Paths />

<checkforupdates checkforupdates="False" />

</General>

</ModAdminConfig>

This is from the kspmodadmin.cfg file in 1.3.10.0 folder

<?xml version="1.0" encoding="UTF-8"?>

<ModAdminConfig>

<Version>v1.0</Version>

<General>

<Position x="681" y="1250" />

<Size Width="557" Height="739" />

<WindowState maximized="False" />

<KSP_Path Name="C:\Program Files (x86)\ksp" />

<Known_KSP_Paths />

<checkforupdates checkforupdates="False" />

</General>

</ModAdminConfig>

Link to comment
Share on other sites

This worked fine for me with version 1.3.6; anything newer (upto 1.3.9) gives me the following error:

"Unhandled exception ............. Value of '-1' is not valid for 'LargeChange' 'LargeChange' must be greater than or equal to 0.'

I don't think I'm doing anything different, and 1.3.6 still works fine for me......

Link to comment
Share on other sites

Hi shadow651,

yes this is a known issue, but for the next weeks i don't have the time to work on KSP MA. To much to do on work...

i don't remember if i mentiond this earlier, but one try could be to open the c:\ProgramData\KSPModAdmin\KSPModAdmin\1.3.9.0\KSPModAdmin.cfg file with a editor (right click and edit).

Change the following lines

<Position x="?" y="?" />

<Size Width="?" Height="?" />

<WindowState maximized="?" />

to

<Position x="0" y="0" />

<Size Width="420" Height="600" />

<WindowState maximized="False" />

and restart KSP MA.

Please let me know if this helps and send me a copy of the unchanged KSPModAdmin.cfg file.

Edited by MacTee
Link to comment
Share on other sites

Hi shadow651,

yes this is a known issue, but for the next time i don't have the time to work on KSP MA. To much to do on work...

i don't remember if i mentiond this earlier, but one try could be to open the c:\ProgramData\KSPModAdmin\KSPModAdmin\1.3.9.0\KSPModAdmin.cfg file with a editor (right click and edit).

Change the following lines

<Position x="?" y="?" />

<Size Width="?" Height="?" />

<WindowState maximized="?" />

to

<Position x="?" y="?" />

<Size Width="420" Height="600" />

<WindowState maximized="False" />

and restart KSP MA.

Please let me know if this helps and send me a copy of the unchanged KSPModAdmin.cfg file.

I changed it, but it doesn't seem to fix the issue; still getting the same error.

Here is a link to the unchanged file, Let me know if you need any more information or anything.

https://drive.google.com/file/d/0Bw0mZ7xbhLBEbzBVZFg4TlVKbFE/edit?usp=sharing

Love, the mod; for the moment I'll keep using the one that works. Hope it gets fixed soon, but I understand that you're probably busy.

Link to comment
Share on other sites

I changed it, but it doesn't seem to fix the issue; still getting the same error.

Here is a link to the unchanged file, Let me know if you need any more information or anything.

https://drive.google.com/file/d/0Bw0mZ7xbhLBEbzBVZFg4TlVKbFE/edit?usp=sharing

In your config file, try changing the line...

<Known_KSP_Paths />

...to read...

<Known_KSP_Paths>

<Known_KSP_Path FullPath="C:\Steam2\SteamApps\common\Kerbal Space Program" Note="" />

</Known_KSP_Paths>

See if that helps any.

MacTee - Next time your working, might I suggest you change the sub-element of <Known_KSP_Paths> to something like <PathName> or if there's only one, make it an attribute. It's a bit confusing! :D

Link to comment
Share on other sites

In your config file, try changing the line...

<Known_KSP_Paths />

...to read...

<Known_KSP_Paths>

<Known_KSP_Path FullPath="C:\Steam2\SteamApps\common\Kerbal Space Program" Note="" />

</Known_KSP_Paths>

See if that helps any.

MacTee - Next time your working, might I suggest you change the sub-element of <Known_KSP_Paths> to something like <PathName> or if there's only one, make it an attribute. It's a bit confusing! :D

Nope, still getting the same error.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...