ksp-modularmanagement / modulemanagerwatchdog Goto Github PK
View Code? Open in Web Editor NEWA Watch Dog for Module Manager.
License: Other
A Watch Dog for Module Manager.
License: Other
Hi me again :P.
So i have updated watchdog and kspe and noticed now that the ModuleManager.dll file in
C:\Kerbal Space Program\GameData\ModuleManager\PluginData
is being deleted upon starting KSP so is the dll files in
C:\Kerbal Space Program\GameData\ModuleManagerWatchDog\Plugins\PluginData
this never happened before I think is this expected now can?
I still have the ModuleManager.dll in
C:\Kerbal Space Program\GameData
Thanks
TODO
Using MMWD as a Deployment Tool for MM looked as a good idea once, but on the field if revealed itself almost catastrophic.
See KSP-ModularManagement/KSPe#72 for a more comprehensive discussion.
So this task will remove all deployment code from the MMWD, that will rely on the Deployment Tool
from KSPe
from now. Such code will now be handled by KSPe's Deployment Tool
.
The main client for this stunt is CurseForge anyway, that now have the Modular Management
suite making things simpler - and Forum slandered MMWD to a point that it's losing its usefulness on CKAN so, frankly, I will let them hang themselves. I can't save people from themselves, I just got burnt by trying.
That's the deal: old and deprecated MM are scattered on the scene, playing havoc with KSP installations when the user inadvertently install it on the rig.
So MMWD checks for rogue old copies of MM and remove them when found. It keeps record of the user's preference for my /L or Forum when in doubt.
Problem: if the user removes /L and replaces it with Forum's, MMWD after checking for the user's preference and being it /L will gladly remove Forum's anyway, rendering the rig unusable.
Solution: MMWD should not remove the "rogue" MM if it is the only one available at the time.
JESUS FSCKING CHIRST! AGAIN!!
[EXC 08:06:51.247] TypeLoadException: Could not resolve type with token 0100001b (from typeref, class/assembly ModuleManagerWatchDog.SanityLib, ModuleManagerWatchDog, Version
=0.1.0.0, Culture=neutral, PublicKeyToken=null)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[EXC 08:06:51.248] TypeLoadException: Could not resolve type with token 0100001a (from typeref, class/assembly ModuleManagerWatchDog.SanityLib, ModuleManagerWatchDog, Version
=0.1.0.0, Culture=neutral, PublicKeyToken=null)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
Somehow, an old mishap on my toolchain struck again! The latest release from TweakScale and KSP-Recall have botched 666_ModuleManagerWatchDog.dll
(facepalm)
I just recompiled the very same DLL I distributed on TweakScale and KSP-Recall and it's working.
Apparently, something bad on my toolchain was resurrected when I recovered my development rig after the huge screwup from Apple ruined my life.
Oh, well…. Here we go again.
Fellow Kerbonaut Lucky21 was bitten by a minor installation problem that escalated pretty badly!
Having multiple ModuleManagers in different directories apparently is fooling KSP into loading and executing them all. At least, is the only explanation I have for the diagnosis of his problem ai made here.
I think the MM Watch Dog needs to handle this situation again, KSP 1.12.3 didn't really fixed the problem after all.
Following suit with KSP-ModularManagement/KSPe#65 , do the same on Module Manager /L, i.e.:
666_ModuleManagerWatchDog.dll
from user's GameData
.
With CKAN pushing (Forum)Module Manager
aggressively even when it is not needed (as in this example, where the author told me explicitly it's a parts only add'on with optional patches, so MM would be optional), chances are that MM/L users will be constantly annoyed with the need to manually remove the offending fork.
However, it's perfectly possible to automate such fix once MMWD
knows for sure what would be the user's preference.
So this enhancement should:
The user's preferences may be reset by deleting the file <KSP_ROOT>/PluginData/ModuleManagerWatchDog.cfg
and starting KSP.
The tool should:
666_ModuleManagerWatchDog.dll
is absent666_ModuleManagerWatchDog.dll
and install it from our PluginData
if absent, or will update it if older.
999_Scale_Redist.dll
and install it from TS' PluginData
if absent, or will update it if older.
Should do nothing if the original files does not exist (saving a bit of I/O on the process).
see the following issues for the reason:
Today installed as update KSP Recall and suddendly we had a problem on loading, telling me that interstellar_redist.dll
is missing. going back to 2.0.5 fixed it for me for now, but maybe this is a mishap in packaging or setup?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.