Jump to content

Tweakscale missing dll's


Recommended Posts

i was trying to install lacks stock extension today and i replaced the files when extracting to my gamedata folder, now any time i launch the game, it comes up with,

Tweakscale is not installed correctly! some of its required support DLL files are missing.

missing class: exception of type

'system.reflection.reflectiontypeloadexception' was thrown.

 

i have no idea what any of this means, i have reinstalled tweakscale multiple times but it still wont work, i have even tried running the game without the SXT folder in it and it sill wont work.

i have so much progress saved, i am not going to reinstall my copy.

Link to comment
Share on other sites

On 5/9/2023 at 9:06 PM, rocketboy5 said:

i have no idea what any of this means, i have reinstalled tweakscale multiple times but it still wont work, i have even tried running the game without the SXT folder in it and it sill wont work.

i have so much progress saved, i am not going to reinstall my copy.

It originally intent to meant that the installation was faulty and something was forgotten to be copied, but then we found a bug on KSP on a thingy called Assembly Loader/Resolver - a component responsible for loading DLL and resolving dependencies.

The bug is that once anything fails to be loaded (by absolutely any reason, from missing dependencies to borked DLLs), it triggers this bug and from that point, everything else trying to be loaded fails too no matter what - it's terribly annoying.

CKAN makes things worse because they don't really have a proactive approach on QAS, they just reacts when people complains - not rarely blaming the wrong author for the problem, what ends up perpetuating it.

So, back to your problem: if TweaakScale is installed correctly (an 99.9% of the times, it is), then CKAN updated something that broke a 3rd party that leades to the AL/R problem, that screwed TweakScale that so is yelling about the problem - and make no mistake, it's not only TweakScale being affect, but everybody else (it only happens that TweakScale prefers to alert you instead of making believe nothing is happening and letting you get screwed later on the savegame).

You will find the trigger for the problem (not necessarily the cause of it) by looking for every occurrence of a Reflection or Loading exception in your KSP.log.

If you don't have MechJeb installed, the first occurrence will pinpoint the cause - you will need to diagnose it or to remove it.

With MJ installed, things get a bit messy because MJ do some things internally that ends up shuffling the order in which things are logged on the KSP.log, I found that it's easier to temporarily remove MJ to reproduce the error without the shuffling, fix the problem, and then install MJ2 back instead of trying to figure out where the problem ends up going when MJ2 is installed.

Alternatively, you can post your KSP.log here (without MJ2 installed, please - reinstall it later when fixed) and I will do the heavy lifting for you!

Cheers!

Link to comment
Share on other sites

  • 1 year later...
On 7/5/2024 at 11:49 AM, MixelFan95 said:

Hi, just to be sure... We had already tackled this down on TweakScale's thread, right?

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