Jump to content

ModuleManager 2.6.7 crash-load


Recommended Posts

Not entirely sure what my options are at this point -- I'm at the point where I've executed a full de-install of the game; including deletion of the steam common KSP folder, with subsequent reboot. I am curious if there are any other file cache or folder locations outside of steam->common (other games have used My Documents, or home/temp, etc.

KSP: v1.0.4.861 Windows 32bit

Windows: Windows7 64-bit Service Pack 1

Problem: Running app yields a crash at "Module Manager"

Mods installed:

ModuleManager.2.6.7.dll

<That's it! - only the default install Squad folder sits in gamedata>

Tailing the output_log file yields one clue -- that the module manager might be erroring on a sharing violation of the running ksp executable ?!? That or is there an expectation of ModuleManager to have a configuration or other file, or a run time parameter to the ksp executable I may be missing?

The master folder in steam common has read-only de-ticked, with subfolders inheriting the allowance.

I am also unable to turn off DEP for the KSP.exe or launcher.exe -- windows informs me it is not allowable for me to turn DEP off.

-=-=-=-=-

IOException: Sharing violation on path G:\SteamLibrary\steamapps\common\Kerbal Space Program\KSP.exe

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0

at System.IO.File.Open (System.String path, FileMode mode, FileAccess access) [0x00000] in <filename unknown>:0

at ModuleManager.MMPatchLoader.FileSHA (System.String filename) [0x00000] in <filename unknown>:0

at ModuleManager.MMPatchLoader.PrePatchInit () [0x00000] in <filename unknown>:0

at ModuleManager.MMPatchLoader+<ProcessPatch>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

Edited by Blomst
new information
Link to comment
Share on other sites

It looks like a permissions issue when it is trying to access files. This can happen when KSP is installed inside the Program Files folder (or in some other places like the desktop or My Documents). I suggest you copy the whole of the Kerbal Space Program folder from where it is to somewhere like C:\Games and try running it from there. This will also cause you less problems when an update is released. You will be able to let steam auto-update its copy and choose when to start playing it without it causing problems for your installed mods.

Link to comment
Share on other sites

It looks like a permissions issue when it is trying to access files. This can happen when KSP is installed inside the Program Files folder (or in some other places like the desktop or My Documents). I suggest you copy the whole of the Kerbal Space Program folder from where it is to somewhere like C:\Games and try running it from there. This will also cause you less problems when an update is released. You will be able to let steam auto-update its copy and choose when to start playing it without it causing problems for your installed mods.

Hrmmm, this is already the case - the installation is in a subdirectory at g:\steamlibrary g: and NTFS structure on a Thunderbolt-2 external connection. To be certain, I copied the entire superstructure to c:\KSP\ and ran the KSP.exe -- and receive the same condition - crashes the load at ModuleManager. Tailing the log below:

-=-=-=-=-=-

IOException: Sharing violation on path C:\KSP\Kerbal Space Program\KSP.exe

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0

at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0

at System.IO.File.Open (System.String path, FileMode mode, FileAccess access) [0x00000] in <filename unknown>:0

at ModuleManager.MMPatchLoader.FileSHA (System.String filename) [0x00000] in <filename unknown>:0

at ModuleManager.MMPatchLoader.PrePatchInit () [0x00000] in <filename unknown>:0

at ModuleManager.MMPatchLoader+<ProcessPatch>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0

(Filename: Line: -1)

Link to comment
Share on other sites

How are you running the game? Just running KSP.exe directly? Can you upload a complete output_log.txt? Do you have any active virus protection? If so, try turning it off. I think that ModuleManager is trying to generate a SHA checksum of the KSP.exe and some other process has it open (the fact it is running shouldn't prevent what MM is trying to do but another process, e.g. a virus checker, could be either accidentally opening the KSP.exe with sharing disabled or deliberately stopping the process from opening the exe again for security reasons).

Also, try looking at the right-click Properties of the KSP.exe and ModuleManager.2.6.7.dl and see if there is an enabled "Unblock" button. If there is then click it.

Link to comment
Share on other sites

I have a solution which works for now; in both locations. R-Click ksp.exe, tab -> compatability, tick 'run as administrator' to ON and I load up fine. Given that this computer has no function other than games (all my email, downloads, file shares, etc. are via MacOs elsewhere,) I am fine with the executable running in priviledged mode.

Link to comment
Share on other sites

  • 4 weeks later...
IOException: Sharing violation on path D:\Games\KSP104\KSP.exe
Same problem.

Also, try looking at the right-click Properties of the KSP.exe and ModuleManager.2.6.7.dl and see if there is an enabled "Unblock" button. If there is then click it.

ModuleManager.2.6.8.dll was locked. But it not really helps me :(

Solution -- ksp.exe, right click - under compatibility tab - run the executable as administrator
Nope. Nothing changed!

UPD: IT LOADING!!!

In my case, I have problem, oddly enough, with firewall, PC Tools Firewall Plus (not ad).

Why and how it affects - I do not know, but the game starts, only when I deleted/uninstalled it.

I think, it may be antivirus too. Fortunately, I have no antivirus that could do such a things.

Edited by Jenyaza01
Solved!
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...