Jump to content

[WIN] Plan-o-Tron = Mod Manager, Mission Preparation


Recommended Posts

If I get this correctly, It takes your mods, and deletes the ones you arent using, but when you want to use them it bring them back?

Almost right. Take all of your mods and put them into a folder, one sub-folder for each mod. Each sub-folder should contain the mod's 'parts' folder. For example:

mods

+BigTrak

| +Parts

| +CP_Bigtrak

| +CP-Bigtrak_Bike

| + (many more!)

+CameraPack

| +Parts

| +mumech_hullcam

If any of your mods contain plug-in DLLs, just copy them (or leave them) in to the KSP/Plugins folder, they don't seem to contribute to the memory issue. Hint: I also copy the standard canned KSP parts into a '!STANDARD' mod folder so I can turn them on or off as well.

So when you launch plan-o-tron, you select which mods should exist when you run KSP. Missing ones are copied from your 'repo', ones you've selected to remove are removed from KSP (they stay in your repo, of course).

My biggest issue with it is that when I'm first designing a ship, I don't know exactly which mods I'm going to need, so I pull in a bunch, which means I'll probably crash KSP after a few trial explosions/launches. Once I've dialed in the launch vehicle, I trim it way back.

Link to comment
Share on other sites

For bernierm <3

Loving the mod, now my pc will pick up above 5 fps. Thankyou.

I do have an issue where I have to 'flush' my parts folder after playing and reload everything next time, I get an error mentioning parts already being in the folder upon hitting the launch button. Next time I get the error, I'll post the log.

Link to comment
Share on other sites

Sorry for the double post, post wasn't approved yet.

The file C\Users\...\KSP_win\Parts\CORE_DCM-2301-1\textures\DCM-2301-1.png already exists

Here's the rest of it log;

See the end of this message for details on invoking

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

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

System.IO.IOException: The file 'C:\Users\Jack\Desktop\KERBALSPACEPROGRAM\KSP_win\Parts\CORE_DCM-2301-1\textures\DCM-2301-1.png' already exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

at System.IO.FileInfo.CopyTo(String destFileName)

at PlanoTron.PlanoTronData.CopyDirectory(DirectoryInfo src, DirectoryInfo dest)

at PlanoTron.PlanoTronData.CopyDirectory(DirectoryInfo src, DirectoryInfo dest)

at PlanoTron.AddInData.PrepareFiles()

at PlanoTron.PlanoTronForm.bnLaunch_Click(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.0.30319.269 (RTMGDR.030319-2600)

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

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

Plan-o-Tron

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/Jack/Desktop/KERBALSPACEPROGRAM/Plan-o-Tron.exe

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

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.278 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.282 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.269 built by: RTMGDR

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

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

System.Xml

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.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.

Link to comment
Share on other sites

Sorry for the double post, post wasn't approved yet.

The file C\Users\...\KSP_win\Parts\CORE_DCM-2301-1\textures\DCM-2301-1.png already exists

Here's the rest of it log;

See the end of this message for details on invoking

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

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

System.IO.IOException: The file 'C:\Users\Jack\Desktop\KERBALSPACEPROGRAM\KSP_win\Parts\CORE_DCM-2301-1\textures\DCM-2301-1.png' already exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

at System.IO.FileInfo.CopyTo(String destFileName)

at PlanoTron.PlanoTronData.CopyDirectory(DirectoryInfo src, DirectoryInfo dest)

at PlanoTron.PlanoTronData.CopyDirectory(DirectoryInfo src, DirectoryInfo dest)

at PlanoTron.AddInData.PrepareFiles()

at PlanoTron.PlanoTronForm.bnLaunch_Click(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.0.30319.269 (RTMGDR.030319-2600)

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

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

Plan-o-Tron

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/Jack/Desktop/KERBALSPACEPROGRAM/Plan-o-Tron.exe

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

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.278 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.282 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.269 built by: RTMGDR

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

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

System.Xml

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.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 think what happens is that when KSP crashes, it doesn't release some of the open file handles connected to some parts, and this causes Plan-o-tron to crash when it tries to copy certain files from your repo. You'll notice that you don't see this after a reboot of if you wait a little while after the crash (because Windows will eventually close the orphaned files).

I will look into trapping that exception, and just leave the offending file(s) where they are rather than crashing.

Link to comment
Share on other sites

  • 2 weeks later...

Is there a chance, that you might update it with a feature, that it deletes the added parts again after closing the game or the program?

It happens quite often to me, that it fails to start ksp because some parts are already in the parts directory, so it throws an exception and refuses starting. Then i always have to delete the parts again that were added already...otherwise is a quite nice tool.

Just started using it cause my process grows bigger then 3.8gb with all the mod parts installed and then crashes :D

So yh its really usefull for me, thanks :)

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...