Jump to content

Unable to save config files for any add-on


italon

Recommended Posts

Hey guys I'm unable to save changes made to any mod I have installed ingame or via the cfg files. For example, if I go into DistantObjectEnhancement settings.cfg and make the changes I want there, they save properly to the file but they don't reflect those changes ingame. Can someone help me out? Thanks.

Link to comment
Share on other sites

19 minutes ago, italon said:

DistantObjectEnhancement settings.cfg

I have the same issue and it appears to be a bug with the mod. If you makes changes the settings return to default. You can alter the settings via the mod's in-game menu, but those settings are also returned to default eventually and do not persist.  You would be  better to find the mod's support forum and raise the issue there.  

Link to comment
Share on other sites

11 minutes ago, Caerfinon said:

I have the same issue and it appears to be a bug with the mod. If you makes changes the settings return to default. You can alter the settings via the mod's in-game menu, but those settings are also returned to default eventually and do not persist.  You would be  better to find the mod's support forum and raise the issue there.  

It happens across any mod. EVE cloud configs, PlanetShine, etc. Mod related or modulemanager perhaps? I'll check with those direct threads, too. Thanks.

Link to comment
Share on other sites

58 minutes ago, italon said:

Hey guys I'm unable to save changes made to any mod I have installed ingame or via the cfg files. For example, if I go into DistantObjectEnhancement settings.cfg and make the changes I want there, they save properly to the file but they don't reflect those changes ingame. Can someone help me out? Thanks.

do you have TweakScale installed? if yes try to un-install it. I had a similar problem recently and I had to un-install it.

Edited by pmborg
Link to comment
Share on other sites

3 minutes ago, pmborg said:

do you have TweakScale installed? if yes try to un-install it. I had a similar problem recently and I had to un-install it.

yeah but I love tweakscale :( it's so necessary. but yeah if I have to make a few edits every time I start the game bc of tweakscale so be it, it's worth it. thanks for the find though :D

Link to comment
Share on other sites

1 hour ago, italon said:

yeah but I love tweakscale :( it's so necessary. but yeah if I have to make a few edits every time I start the game bc of tweakscale so be it, it's worth it. thanks for the find though :D

I think that if we use an old version everything is ok, but I didn't have time to do that or to report that to @Lisias

BTW I found my last try to use it is a mess this log: https://www.dropbox.com/s/4z5yal2bkdia9at/KSP.log_TweakScale?dl=0

So basically when I click save there are  exceptions everywhere.

Edited by pmborg
Link to comment
Share on other sites

5 minutes ago, pmborg said:

I think that if we use an old version everything is ok, but I didn't have time to do that or to report that to @Lisias

BTW I found my last try to use it is a mess this log: https://www.dropbox.com/s/4z5yal2bkdia9at/KSP.log_TweakScale?dl=0

So basically when I click save there are  exceptions everywhere.

Hi!

It's not TweakScale!

[ERR 18:16:27.283] Coroutine couldn't be started because the the game object 'ServiceBay.250.v2' is inactive!

[ERR 18:16:27.283] Exception handling event onEditorShipModified in class CostWidget:System.NullReferenceException: Object reference not set to an instance
  at TweakScale.TweakScale.IPartCostModifier.GetModuleCost (System.Single defaultCost, ModifierStagingSituation situation) [0x0000e] in <8ce57831e5584c899d
  at Part.GetModuleCosts (System.Single defaultCost, ModifierStagingSituation sit) [0x00046] in <0435390348b6470d8166bd1c53b4b100>:0
  at ShipConstruct.GetShipCosts (System.Single& dryCost, System.Single& fuelCost, VesselCrewManifest vcm) [0x0003d] in <0435390348b6470d8166bd1c53b4b100>:0
  at CostWidget.onShipModified (ShipConstruct ship) [0x00000] in <0435390348b6470d8166bd1c53b4b100>:0
  at EventData`1[T].Fire (T data) [0x000b0] in <0435390348b6470d8166bd1c53b4b100>:0

TweakScale is asking for its Module Cost. And since TweakScale only asks for the module cost on an attached part, but the target Module is borked somehow and this is screwing up things.

TweakScale is the screaming victim of the problem, by uninstalling TweakScale you still have the problem lingering around waiting for the next victim.

It's a long time since I get this by the last time, but when it happened was due B9PS deactivating itself due the presence of another Fuel Switch, and so behaving wrongly when someone asks for its GetModuleCost - but your stackdump is different, if B9PS is involved, then it's a different kind of misbehaviour.

Can you send me the craft that triggers this problem? I need to check the parts and then check the patches to see what's happening. That "ServiceBay.250.v2 is inactive' thingy is bothering me, by the way. The craft you was editing uses it?

Link to comment
Share on other sites

1 hour ago, Lisias said:

Hi!

It's not TweakScale!

[ERR 18:16:27.283] Coroutine couldn't be started because the the game object 'ServiceBay.250.v2' is inactive!

[ERR 18:16:27.283] Exception handling event onEditorShipModified in class CostWidget:System.NullReferenceException: Object reference not set to an instance
  at TweakScale.TweakScale.IPartCostModifier.GetModuleCost (System.Single defaultCost, ModifierStagingSituation situation) [0x0000e] in <8ce57831e5584c899d
  at Part.GetModuleCosts (System.Single defaultCost, ModifierStagingSituation sit) [0x00046] in <0435390348b6470d8166bd1c53b4b100>:0
  at ShipConstruct.GetShipCosts (System.Single& dryCost, System.Single& fuelCost, VesselCrewManifest vcm) [0x0003d] in <0435390348b6470d8166bd1c53b4b100>:0
  at CostWidget.onShipModified (ShipConstruct ship) [0x00000] in <0435390348b6470d8166bd1c53b4b100>:0
  at EventData`1[T].Fire (T data) [0x000b0] in <0435390348b6470d8166bd1c53b4b100>:0

TweakScale is asking for its Module Cost. And since TweakScale only asks for the module cost on an attached part, but the target Module is borked somehow and this is screwing up things.

TweakScale is the screaming victim of the problem, by uninstalling TweakScale you still have the problem lingering around waiting for the next victim.

It's a long time since I get this by the last time, but when it happened was due B9PS deactivating itself due the presence of another Fuel Switch, and so behaving wrongly when someone asks for its GetModuleCost - but your stackdump is different, if B9PS is involved, then it's a different kind of misbehaviour.

Can you send me the craft that triggers this problem? I need to check the parts and then check the patches to see what's happening. That "ServiceBay.250.v2 is inactive' thingy is bothering me, by the way. The craft you was editing uses it?

With my installation I think that happens in any Craft.

But you can try with this one: https://kerbalx.com/pmborg/robot_307

All info about add-ons and so on are there, thanks!

I understand that might be something else causing it but as soon as I un-install TweakScale all is back and fine again, this bug is very severe because really breaks the craft file and will be damaged forever!

and then I need to restore it by hand the problem seams to me around the the fuel tanks...

What happens is that the weight is scaled but the content of the tank is not due the exceptions, when you are with craft in memory all is fine. The problem is when you reload the saved craft, not when you try it from VAB.

 

 

Edited by pmborg
Link to comment
Share on other sites

4 hours ago, pmborg said:

With my installation I think that happens in any Craft.

But you can try with this one: https://kerbalx.com/pmborg/robot_307

All info about add-ons and so on are there, thanks!

<cut!>

Do you use CKAN? If yes, can you send me a export of the mods installed? I had looked into your KSP.log, and there's a ton of AddOns! :) 

Link to comment
Share on other sites

4 minutes ago, Lisias said:

Do you use CKAN? If yes, can you send me a export of the mods installed? I had looked into your KSP.log, and there's a ton of AddOns! :) 

mods1.12.5.ckan:

{
    "spec_version": "v1.18",
    "identifier": "installed-auto",
    "name": "installed-auto",
    "abstract": "A list of modules installed on the auto KSP instance",
    "author": [
        "pedro"
    ],
    "version": "2023.01.14.01.46.59",
    "ksp_version_min": "1.12",
    "ksp_version_max": "1.12",
    "license": [
        "unknown"
    ],
    "depends": [
        {
            "name": "AT-Utils"
        },
        {
            "name": "B9PartSwitch"
        },
        {
            "name": "BetterCrewAssignment"
        },
        {
            "name": "BetterTimeWarpCont"
        },
        {
            "name": "CivilianPopulation"
        },
        {
            "name": "ClickThroughBlocker"
        },
        {
            "name": "CommunityCategoryKit"
        },
        {
            "name": "CommunityResourcePack"
        },
        {
            "name": "CommunityTechTree"
        },
        {
            "name": "CommunityTerrainTexturePack"
        },
        {
            "name": "CraftManager"
        },
        {
            "name": "CryoTanks"
        },
        {
            "name": "CryoTanks-Core"
        },
        {
            "name": "DeployableEngines"
        },
        {
            "name": "DraggableNavball"
        },
        {
            "name": "DynamicBatteryStorage"
        },
        {
            "name": "EnvironmentalVisualEnhancements"
        },
        {
            "name": "EnvironmentalVisualEnhancements-HR"
        },
        {
            "name": "FuelTanksPlus"
        },
        {
            "name": "GroundConstruction"
        },
        {
            "name": "GroundConstruction-Core"
        },
        {
            "name": "HangerExtenderExtended"
        },
        {
            "name": "Harmony2"
        },
        {
            "name": "HideEmptyTechNodes"
        },
        {
            "name": "JX2Antenna"
        },
        {
            "name": "KAS"
        },
        {
            "name": "KerbalEngineerRedux"
        },
        {
            "name": "KerbalJointReinforcementContinued"
        },
        {
            "name": "KerBalloons"
        },
        {
            "name": "KIS"
        },
        {
            "name": "Konstruction"
        },
        {
            "name": "Kopernicus"
        },
        {
            "name": "KXAPI"
        },
        {
            "name": "MechJeb2"
        },
        {
            "name": "ModularFlightIntegrator"
        },
        {
            "name": "ModuleManager"
        },
        {
            "name": "NearFutureConstruction"
        },
        {
            "name": "NearFutureElectrical"
        },
        {
            "name": "NearFutureElectrical-Core"
        },
        {
            "name": "NearFutureLaunchVehicles"
        },
        {
            "name": "NearFutureSolar"
        },
        {
            "name": "NearFutureSolar-Core"
        },
        {
            "name": "OuterPlanetsMod"
        },
        {
            "name": "Parallax"
        },
        {
            "name": "Parallax-OuterPlanetsMod"
        },
        {
            "name": "Parallax-StockScatterTextures"
        },
        {
            "name": "Parallax-StockTextures"
        },
        {
            "name": "RealScaleBoosters"
        },
        {
            "name": "SCANsat"
        },
        {
            "name": "Scatterer"
        },
        {
            "name": "Scatterer-config"
        },
        {
            "name": "Scatterer-sunflare"
        },
        {
            "name": "ScienceLabInfo"
        },
        {
            "name": "SpaceTuxLibrary"
        },
        {
            "name": "SpaceY-Expanded"
        },
        {
            "name": "SpaceY-Lifters"
        },
        {
            "name": "StockalikeMiningExtension"
        },
        {
            "name": "StockRingTextures"
        },
        {
            "name": "ToolbarController"
        },
        {
            "name": "TransferWindowPlannerFork"
        },
        {
            "name": "TriggerAu-Flags"
        },
        {
            "name": "USITools"
        }
    ],
    "release_date": "2023-01-14T01:46:59.4541125+00:00",
    "kind": "metapackage"
}

 

Link to comment
Share on other sites

14 hours ago, pmborg said:

mods1.12.5.ckan:

 

That's the history: 

I reproduced your installation using the CKAN you provided, added KSP-Recall and TweakScale manually and then the damned thing refused to work! KSP plain didn't loaded the Main Menu scene, no matter what. KSP.log was clueless, but I found the following on the Player.log:

Spoiler
Uploading Crash Report
ArgumentException: Kernel 'CSMain' not found.
  at (wrapper managed-to-native) UnityEngine.ComputeShader.FindKernel(UnityEngine.ComputeShader,string)
  at ParallaxGrass.ScatterCompute.SetupComputeShaders () [0x00015] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at ParallaxGrass.ScatterCompute.Setup () [0x00092] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at ParallaxGrass.ScatterCompute..ctor (Grass.Scatter scatter, PQ quad, Grass.ScatterComponent pqsMod, ParallaxGrass.QuadDa
  at ParallaxGrass.QuadData.RangeCheck () [0x00172] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at ParallaxGrass.QuadData..ctor (PQ pq, ParallaxGrass.PQSMod_ParallaxScatter mod) [0x001c9] in <a6d74299c54e4f7a94f5e9deb2
  at ParallaxGrass.PQSMod_ParallaxScatter.OnQuadBuilt (PQ quad) [0x0001d] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at PQS.Mod_OnQuadBuilt (PQ quad) [0x00004] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.BuildQuad (PQ quad) [0x002b2] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.Build () [0x0008d] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.SetVisible () [0x00037] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateVisibility () [0x0003b] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x001e5] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.UpdateQuadsInit () [0x00085] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.StartSphere (System.Boolean force) [0x00322] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.ForceStart () [0x0002e] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at Grass.PQS_ForceStart.Prefix (PSystemSetup __instance, PQS pqs) [0x00093] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at (wrapper dynamic-method) PSystemSetup.PSystemSetup.SetPQSActive_Patch1(PSystemSetup,PQS)
  at PSystemSetup.SetSpaceCentre () [0x001b6] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PSystemSetup.OnLevelLoaded (GameScenes level) [0x00054] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PSystemSetup.OnSceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) [0
  at (wrapper delegate-invoke) UnityEngine.Events.UnityAction`2[UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagemen
  at UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.Sce
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

 

By removing the following add'ons:

  • Parallax-OuterPlanetsMod
  • Parallax-StockScatterTextures
  • Parallax-StockTextures

I managed to fire up KSP with success, but by then, I could not reproduce the problem! Even by downloading the craft you pinpointed above!

First, I loaded the stock Aero Equus. Saved it, loaded it and no problem detected - it even launched without a fuss.

Then I enabled TS Chain Scale, scaled up the root part (and the whole craft was scaled up too), saved it, loaded it, launched it - and absolultely no Exceptions were logged nor a misbehaviour was detected.

Then I downloaded your robot_3.0.7.craft, did exactly the same (of course not all parts were scaled, as not all parts had TS support), and everything gone fine the same.

I want to suggest to you and to @italon to remove Parallax (and anything related to it) and check if things start to work for you.

Since I could not reproduce the problem on my rig, it's for sure something on your rigs - perhaps Parallax, perhaps something else screwing up with Parallax that so somehow screwed up TweakScale or, more probably, anything that should be being called its IPartCostModifier by TweakScale - as the point of TS that is borking suggests that the problem may be on that something else, and not on TS itself.

 

Link to comment
Share on other sites

2 hours ago, Lisias said:

That's the history: 

I reproduced your installation using the CKAN you provided, added KSP-Recall and TweakScale manually and then the damned thing refused to work! KSP plain didn't loaded the Main Menu scene, no matter what. KSP.log was clueless, but I found the following on the Player.log:

  Reveal hidden contents
Uploading Crash Report
ArgumentException: Kernel 'CSMain' not found.
  at (wrapper managed-to-native) UnityEngine.ComputeShader.FindKernel(UnityEngine.ComputeShader,string)
  at ParallaxGrass.ScatterCompute.SetupComputeShaders () [0x00015] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at ParallaxGrass.ScatterCompute.Setup () [0x00092] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at ParallaxGrass.ScatterCompute..ctor (Grass.Scatter scatter, PQ quad, Grass.ScatterComponent pqsMod, ParallaxGrass.QuadDa
  at ParallaxGrass.QuadData.RangeCheck () [0x00172] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at ParallaxGrass.QuadData..ctor (PQ pq, ParallaxGrass.PQSMod_ParallaxScatter mod) [0x001c9] in <a6d74299c54e4f7a94f5e9deb2
  at ParallaxGrass.PQSMod_ParallaxScatter.OnQuadBuilt (PQ quad) [0x0001d] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at PQS.Mod_OnQuadBuilt (PQ quad) [0x00004] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.BuildQuad (PQ quad) [0x002b2] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.Build () [0x0008d] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.SetVisible () [0x00037] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateVisibility () [0x0003b] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x001e5] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQ.UpdateSubdivision () [0x0013f] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.UpdateQuadsInit () [0x00085] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.StartSphere (System.Boolean force) [0x00322] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PQS.ForceStart () [0x0002e] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at Grass.PQS_ForceStart.Prefix (PSystemSetup __instance, PQS pqs) [0x00093] in <a6d74299c54e4f7a94f5e9deb2cc4ed5>:0
  at (wrapper dynamic-method) PSystemSetup.PSystemSetup.SetPQSActive_Patch1(PSystemSetup,PQS)
  at PSystemSetup.SetSpaceCentre () [0x001b6] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PSystemSetup.OnLevelLoaded (GameScenes level) [0x00054] in <69b815b95fcb45659bf5cfc1251a3054>:0
  at PSystemSetup.OnSceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) [0
  at (wrapper delegate-invoke) UnityEngine.Events.UnityAction`2[UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagemen
  at UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.Sce
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

 

By removing the following add'ons:

  • Parallax-OuterPlanetsMod
  • Parallax-StockScatterTextures
  • Parallax-StockTextures

I managed to fire up KSP with success, but by then, I could not reproduce the problem! Even by downloading the craft you pinpointed above!

First, I loaded the stock Aero Equus. Saved it, loaded it and no problem detected - it even launched without a fuss.

Then I enabled TS Chain Scale, scaled up the root part (and the whole craft was scaled up too), saved it, loaded it, launched it - and absolultely no Exceptions were logged nor a misbehaviour was detected.

Then I downloaded your robot_3.0.7.craft, did exactly the same (of course not all parts were scaled, as not all parts had TS support), and everything gone fine the same.

I want to suggest to you and to @italon to remove Parallax (and anything related to it) and check if things start to work for you.

Since I could not reproduce the problem on my rig, it's for sure something on your rigs - perhaps Parallax, perhaps something else screwing up with Parallax that so somehow screwed up TweakScale or, more probably, anything that should be being called its IPartCostModifier by TweakScale - as the point of TS that is borking suggests that the problem may be on that something else, and not on TS itself.

 

The problem is not that one, apparently I did not explained well what happen.

I will try today later do a video to reproduce the problem.

 

Hello, @Lisias now its not possible to replicate the problem because now, the parts that were raising those problems are not possible to scale.

Like this fuel tank it was this one that were causing the problems but not I don't know why the option to scale don't even exist now.

rv6CsfQ.jpg

 

LOG: https://www.dropbox.com/s/hsh014h99epagmk/KSP.log_tweakscale_2?dl=0

 

Edited by pmborg
Link to comment
Share on other sites

On 1/13/2023 at 2:14 PM, Caerfinon said:

I have the same issue and it appears to be a bug with the mod. If you makes changes the settings return to default. You can alter the settings via the mod's in-game menu, but those settings are also returned to default eventually and do not persist.  You would be  better to find the mod's support forum and raise the issue there.  

Ah, missed this one!

The settings.cfg you find inside PluginData on DistanceObject's directory is a template used for new savegames. DOE's settings are saved on your savegame, so each savegame can have different settings. The only recommended way to set DOE's settings is by using its Setting's panel.

 

4 hours ago, pmborg said:

Hello, @Lisias now its not possible to replicate the problem because now, the parts that were raising those problems are not possible to scale.

LOG: https://www.dropbox.com/s/hsh014h99epagmk/KSP.log_tweakscale_2?dl=0

Ah, now we are getting into something! Someone probably forced TweakScale on unsupported parts (had you installed All Tweak?), and so things gone down trough the tubes.

Additionally, Forum's MM has a kinda of a bug (a too much optimistic heuristic, to tell you the true) in which in some occasions (unfortunately less uncommon that we would like) the cache is not rebuild and then there's a chance that you upgrade or downgrade something and the ConfigCache is not rebuild, and the aftermath is you using an inconsistent patchset in memory. This can also potentially screw up things, specially TweakScale that is very sensitive to the patching's healthiness.

I will try again using All Tweak to see what happens.

Link to comment
Share on other sites

35 minutes ago, Lisias said:

Ah, missed this one!

The settings.cfg you find inside PluginData on DistanceObject's directory is a template used for new savegames. DOE's settings are saved on your savegame, so each savegame can have different settings. The only recommended way to set DOE's settings is by using its Setting's panel.

 

Ah, now we are getting into something! Someone probably forced TweakScale on unsupported parts (had you installed All Tweak?), and so things gone down trough the tubes.

Additionally, Forum's MM has a kinda of a bug (a too much optimistic heuristic, to tell you the true) in which in some occasions (unfortunately less uncommon that we would like) the cache is not rebuild and then there's a chance that you upgrade or downgrade something and the ConfigCache is not rebuild, and the aftermath is you using an inconsistent patchset in memory. This can also potentially screw up things, specially TweakScale that is very sensitive to the patching's healthiness.

I will try again using All Tweak to see what happens.

Or comparing the mods used on the bug LOG On December: https://www.dropbox.com/s/4z5yal2bkdia9at/KSP.log_TweakScale?dl=0

with the LOG from today: https://www.dropbox.com/s/hsh014h99epagmk/KSP.log_tweakscale_2?dl=0

Edited by pmborg
Link to comment
Share on other sites

52 minutes ago, Caerfinon said:

The setting for seeing names on mouse over can be set in the panel, however, it does not persist through a game restart. 

Humm… So apparently you found a bug, I will check this tonight!

Are you using the latest DOE, right? This one? Are you launching from Steam? If yes, did you tried to bypass the PD-Launcher?

 

28 minutes ago, pmborg said:

As a matter of fact… Great idea! Thanks for the tip!

Link to comment
Share on other sites

5 minutes ago, Lisias said:

Are you using the latest DOE, right? This one? Are you launching from Steam? If yes, did you tried to bypass the PD-Launcher?

  • Yes I am using v2.1.1.11
  • I am launching as a non-steam game (directly to the .exe) which bypasses the launcher but maintains steam in-game overlay
  • I am playing on KSP 1.12.4
Edited by Caerfinon
Link to comment
Share on other sites

37 minutes ago, Caerfinon said:
  • Yes I am using v2.1.1.11
  • I am launching as a non-steam game (directly to the .exe) which bypasses the launcher but maintains steam in-game overlay
  • I am playing on KSP 1.12.4

Confirmed. By exiting the game and reloading it, the alt+click behaviour is forgotten. 

Additionally, I was mistaken -  KT is the one saving configurations on a savegame basis, DOE uses a "universal" settings on <KSP>/PluginData/DistantObject/ folder .  I didn't migrated it to savegames yet . Since we are here, what you think is best for DOE, a Universal Setttings, or specific settings for each savegame?

In a wat or another, the saving code is working, the settings.file is being update. The proeblem is that the specific settings, "showNames" is not being readed on game startup. Dang, probably a typo somewhere .

And, as a matter of fact someone had already reported it and I missed it! https://github.com/net-lisias-ksp/DistantObject/issues/28

I'm will fix this tonight. 

 

 

Link to comment
Share on other sites

9 minutes ago, Lisias said:

a Universal Setttings, or specific settings for each savegame?

I'm in favour of universal setting, but I play with many different instances of ksp installs with their own settings and mod load outs. I'm fine with either way if people have a need for a per save option. 

11 minutes ago, Lisias said:

Dang, probably a typo somewhere

This happens to me all the time. I'm always making typos. :)

Link to comment
Share on other sites

@italon, @Caerfinon, Distant Object Enhancement /L 2.1.1.11r2 was just published with the fix!
 

@Caerfinon, it was a pretty lame mistake on my KSPe.Light library. When I wrote that code, I was less experienced on KSP and ended up trying to reinventing the wheel with a somewhat embarrassing level of success. Once I overcome that 5 levels of grief on this #facepalm moment, by using an already existent ConfigNode method everything felt on their places by themselves. Libraries are a huge help to reuse code - and also to reuse borks. :P 

— — — 

@pmborg, I think I nailed the problem, but I didn't had time to confirm it properly. I will come back to this by night.

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