Sandworm Posted October 29, 2016 Share Posted October 29, 2016 On 2016-10-27 at 10:20 PM, Eklykti said: Linux file systems are all case sensitive, and there are no exceptions related to Kopernicus and no visible issues except the atmosphere height. So it must be something else. I'm not having issues with atmo. That seems to be working. What I am seeing is null references for resized stock bodies. I'm trying to narrow it down within Kopernicus source. Quote Link to comment Share on other sites More sharing options...
DJ Reonic Posted November 4, 2016 Share Posted November 4, 2016 @Sandworm did you do anything special other than just putting in the values in the settings file? I'm having issues on my testing game with atmosphere rescale. Quote Link to comment Share on other sites More sharing options...
Sandworm Posted November 4, 2016 Share Posted November 4, 2016 2 hours ago, DJ Reonic said: @Sandworm did you do anything special other than just putting in the values in the settings file? I'm having issues on my testing game with atmosphere rescale. In the end I settled for the stock atmo. It isn't great, but on a 6.4x kerbin you still need around ~8000dv for a low orbit. The best profile is SpaceX-style, more up than sideways until over 40km. Frankly, I'm waiting for FAR to update before putting too much effort into atmospheres. Quote Link to comment Share on other sites More sharing options...
Nori Posted November 4, 2016 Share Posted November 4, 2016 Whoa, this is a really cool project. I didn't even know this existed. I've often thought I should do a 2x rescale with all stockalike parts for just a bit more of a challenge, but getting that setup has always been fraught with trouble. This looks much easier (for me at least). Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 4, 2016 Author Share Posted November 4, 2016 (edited) @DJ Reonic @Sandworm I'm not sure which errors you are having. were you using the "newDimensions" branch? or one of the releases? because I've just loaded the newDimensions branch and it works out of the box nevermind, I see that the atmosphere is not rescaling, but that's not my fault. it's module manager that isn't doing what it should I'll try to put together a workaround for the time being, untill I get an answer on whether the feature I was using has been removed from MM or if it's just a bug Edited November 4, 2016 by Sigma88 Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 5, 2016 Author Share Posted November 5, 2016 (edited) UPDATE: untill this bug from MM has been solved there's no way I can make SD work the good news is, the mod itself should be pretty much ready. as soon as MM releases a fix I should be ready to release SD as well Edited November 5, 2016 by Sigma88 Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 5, 2016 Author Share Posted November 5, 2016 (edited) Sigma Dimensions v0.6.0 updated to the new KSP and Kopernicus, Big overhaul patch, the mod is now ready for a proper v1.0 Release I will leave it here in the development forums for a bit, so that you guys have time to test it. Let me know if you find any bugs! BEWARE: This mod requires the latest version of ModuleManager (2.7.3) get it here. all the links are available in the OP If you want to follow the development of my mods: If you want to buy me a cup of coffee: This mod would not be possible without the work of: - @sarbian (ModuleManager) Donate to Sarbian here: - @Thomas P. (Kopernicus) Donate to Thomas here: Changelog: v0.6.0 - Updated to KSP 1.2.1 and Kopernicus 1.2.1-1 - Overhauled almost all the internal configs - Added support for name based PQSMod deletion - Added support for name based PQSMod modification - Added an option to ignore 'landscape' for some PQSMods - Simplified syntax for planet specific changes - Updated Kittopia Exports and moved these files in a PluginData folder - Fixed behaviour of parameter 'atmoASL' - Fixed behaviour of parameter 'tempASL' - AtmosphereFromGround no longer depends on parameter 'Atmosphere' - Fixed SCANsat compatibility Edited November 13, 2016 by Sigma88 Quote Link to comment Share on other sites More sharing options...
Sandworm Posted November 5, 2016 Share Posted November 5, 2016 (edited) 22 hours ago, Sigma88 said: @DJ Reonic @Sandworm I'm not sure which errors you are having. were you using the "newDimensions" branch? or one of the releases? because I've just loaded the newDimensions branch and it works out of the box nevermind, I see that the atmosphere is not rescaling, but that's not my fault. it's module manager that isn't doing what it should I'll try to put together a workaround for the time being, untill I get an answer on whether the feature I was using has been removed from MM or if it's just a bug It's the same with newDimensions and all the latest releases. My problem, and I suspect other Linux/Mac users are in the same boat, isn't with SigmaDimensions directly. Kopernicus has a bug. It doesn't properly create a Kerbin.bin file when it builds the cache directory. That can be rectified by inserting a dummy file, a copy-rename of one of the other planets. Kopernicus can then edit this file all it wants and everything runs perfectly without exceptions.. The issue is in its creation ... which is why I think this is a simple typo. As windows users seem unaffected, I suspect a capitalization error (Windows file structures generally are not case-sensitive). I saw this sort of problem before with the 64k mod. At that time it was all the .bin files in the cache and the solution was to pull an old cache directory from a previous install. The problem is that SigmaDimensions creates new directories for each rescale and terrain resize, requiring a new Kerbin.bin be inserted manually for each. It isn't a big deal and my solution works for me. https://www.dropbox.com/s/hv4y6bk97q9bzra/KSP.log Relevant portions imho [EXC 14:32:18.704] Exception: "Kerbin" not found. Kopernicus.Configuration.Loader.Kopernicus.Configuration.IParserEventSubscriber.PostApply (.ConfigNode node) Kopernicus.Configuration.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, Boolean getChilds) Kopernicus.Configuration.Parser.CreateObjectFromConfigNode[Loader] (.ConfigNode node, Boolean getChilds) Kopernicus.Injector.Awake () UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelLoaded(Int32) AddonLoader:OnSceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode) [...] [EXC 14:33:09.802] NullReferenceException: Object reference not set to an instance of an object Kopernicus.Components.KopernicusStar.LateUpdate () [EXC 14:33:09.816] InvalidOperationException: Operation is not valid due to the current state of the object System.Linq.Enumerable.First[StarComponent] (IEnumerable`1 source) Kopernicus.StarLightSwitcher.Update () [EXC 14:33:09.816] NullReferenceException: Object reference not set to an instance of an object GalaxyCubeControl.Update () [EXC 14:33:09.822] NullReferenceException: Object reference not set to an instance of an object Kopernicus.Components.KopernicusStar.LateUpdate () I don't like saying it, but as the linux builds of 1.1.x were horrible and remained so for so many months, there aren't nearly as many people playing KSP on linux/mac these days. I doubt more than a handful are reading this. Edited November 5, 2016 by Sandworm Quote Link to comment Share on other sites More sharing options...
Eklykti Posted November 5, 2016 Share Posted November 5, 2016 (edited) I play on linux and it worked for me earlier on 1.1.* and 1.2.0. Didn't try the new version yet. Edited November 5, 2016 by Eklykti Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 5, 2016 Author Share Posted November 5, 2016 @Sandworm when kopernicus finds a .bin file it doesn't overwrite it. it loads that one. SigmaDimensions needs to change the .bin file directory for that reason, to generate a new .bin file that reflects the new shape of the planet I tried on windows and the cache file is generated correctly, I suggest you open an issue on github and upload the logs there thomas is pretty busy, so that's the best way you have to make sure he sees the bug report Quote Link to comment Share on other sites More sharing options...
Thomas P. Posted November 5, 2016 Share Posted November 5, 2016 @Sandworm I would need your Logs/Kopernicus files to be 100% sure, but this could be an issue with write permissions, so Kopernicus fails when trying to save the cached ScaledSpace mesh Quote Link to comment Share on other sites More sharing options...
Walker Posted November 7, 2016 Share Posted November 7, 2016 @Sigma88 Thank you for the update and great work! One question: does resizeing affect CommNet ranges? Or should I play with CommNet options in difficulty settings? Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 7, 2016 Author Share Posted November 7, 2016 11 minutes ago, Walker said: @Sigma88 Thank you for the update and great work! One question: does resizeing affect CommNet ranges? Or should I play with CommNet options in difficulty settings? For now I did not look at commnets I don't even know if they can be changed via cfg. I'll look into that Quote Link to comment Share on other sites More sharing options...
Streetwind Posted November 7, 2016 Share Posted November 7, 2016 Changing the DSN power outside of the difficulty options requires Custom Barn Kit. Quote Link to comment Share on other sites More sharing options...
Eklykti Posted November 8, 2016 Share Posted November 8, 2016 (edited) Oh, now I'm having that exceptions too. Probably why it worked before is that I got my SigDim install from a previous 1.1.3 KSP version and the cache files were already there. The first one related seems to be: [EXC 17:18:14.320] IndexOutOfRangeException: Array index is out of range. Kopernicus.Configuration.AtmosphereLoader.get_lightColor () System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MonoProperty.GetValue (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) Kopernicus.Configuration.Parser.LoadObjectMemberFromConfigurationNode (System.Reflection.MemberInfo member, System.Object o, .ConfigNode node, Boolean getChilds) UnityEngine.Debug:LogException(Exception) Kopernicus.Configuration.Parser:LoadObjectMemberFromConfigurationNode(MemberInfo, Object, ConfigNode, Boolean) Kopernicus.Configuration.Parser:LoadObjectFromConfigurationNode(Object, ConfigNode, Boolean) Kopernicus.Configuration.Parser:CreateObjectFromConfigNode(Type, ConfigNode, Boolean) Kopernicus.Configuration.Parser:LoadObjectMemberFromConfigurationNode(MemberInfo, Object, ConfigNode, Boolean) Kopernicus.Configuration.Parser:LoadObjectFromConfigurationNode(Object, ConfigNode, Boolean) Kopernicus.Configuration.Loader:Kopernicus.Configuration.IParserEventSubscriber.PostApply(ConfigNode) Kopernicus.Configuration.Parser:LoadObjectFromConfigurationNode(Object, ConfigNode, Boolean) Kopernicus.Configuration.Parser:CreateObjectFromConfigNode(ConfigNode, Boolean) Kopernicus.Injector:Awake() UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelLoaded(Int32) AddonLoader:OnSceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode) And then: [EXC 17:18:28.725] Exception: "Kerbin" not found. Kopernicus.Configuration.Loader.Kopernicus.Configuration.IParserEventSubscriber.PostApply (.ConfigNode node) Kopernicus.Configuration.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, Boolean getChilds) Kopernicus.Configuration.Parser.CreateObjectFromConfigNode[Loader] (.ConfigNode node, Boolean getChilds) Kopernicus.Injector.Awake () UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelLoaded(Int32) AddonLoader:OnSceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode) Looking at the cache directory, Kerbin and Mun files seem to be missing as compared to previous install. Old install has: Bop.bin Dres.bin Duna.bin Eeloo.bin Eve.bin Gilly.bin Ike.bin Jool.bin Kerbin.bin Laythe.bin Minmus.bin Moho.bin Mun.bin Pol.bin Sun.bin Tylo.bin Vall.bin And the new one has only: Bop.bin Dres.bin Duna.bin Eeloo.bin Eve.bin Gilly.bin Ike.bin Jool.bin Laythe.bin Minmus.bin Moho.bin Pol.bin Sun.bin Tylo.bin Vall.bin Edited November 8, 2016 by Eklykti Quote Link to comment Share on other sites More sharing options...
Eklykti Posted November 8, 2016 Share Posted November 8, 2016 Created a Github issue for Kopernicus Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 10, 2016 Author Share Posted November 10, 2016 (edited) Sigma Dimensions v0.6.1 Just a small hotfix for AtmosphereFromGround Thanks to @Galileo for reporting the bug all the links are available in the OP If you want to follow the development of my mods: If you want to buy me a cup of coffee: This mod would not be possible without the work of: - sarbian (ModuleManager) Donate to Sarbian here: - Thomas P. (Kopernicus) Donate to Thomas here: Changelog: v0.6.1 - Fixed AtmosphereFromGround resize Edited November 10, 2016 by Sigma88 Quote Link to comment Share on other sites More sharing options...
lordcirth Posted November 11, 2016 Share Posted November 11, 2016 Not sure whether to report this to SigmaDimensions or Kopernicus. On Linux, fresh KSP 1.2.1 with: CKAN: Kopernicus 1.2.1-1 ModularFlightIntegrator 1.2.2 Module Manager 2.7.3 Manual: SigmaDimensions 0.6.1 Rescale doesn't work, KSP.log has this when I load main menu: [EXC 22:05:15.035] Exception: "Kerbin" not found. Kopernicus.Configuration.Loader.Kopernicus.Configuration.IParserEventSubscriber.PostApply (.ConfigNode node) Kopernicus.Configuration.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, Boolean getChilds) Kopernicus.Configuration.Parser.CreateObjectFromConfigNode[Loader] (.ConfigNode node, Boolean getChilds) Kopernicus.Injector.Awake () UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelLoaded(Int32) AddonLoader:OnSceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode) then tons of spam: [EXC 22:05:17.516] NullReferenceException: Object reference not set to an instance of an object Kopernicus.Components.KopernicusStar.LateUpdate () For a full log, here is " head -n 4000 KSP.log | tail -n 1000 | pastebinit -b sprunge.us "http://sprunge.us/hcMB I am not sure if this is the same problem reported by others. Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 11, 2016 Author Share Posted November 11, 2016 3 hours ago, lordcirth said: Not sure whether to report this to SigmaDimensions or Kopernicus. On Linux, fresh KSP 1.2.1 with: CKAN: Kopernicus 1.2.1-1 ModularFlightIntegrator 1.2.2 Module Manager 2.7.3 Manual: SigmaDimensions 0.6.1 Rescale doesn't work, KSP.log has this when I load main menu: [EXC 22:05:15.035] Exception: "Kerbin" not found. Kopernicus.Configuration.Loader.Kopernicus.Configuration.IParserEventSubscriber.PostApply (.ConfigNode node) Kopernicus.Configuration.Parser.LoadObjectFromConfigurationNode (System.Object o, .ConfigNode node, Boolean getChilds) Kopernicus.Configuration.Parser.CreateObjectFromConfigNode[Loader] (.ConfigNode node, Boolean getChilds) Kopernicus.Injector.Awake () UnityEngine.GameObject:AddComponent(Type) AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup) AddonLoader:StartAddons(Startup) AddonLoader:OnLevelLoaded(Int32) AddonLoader:OnSceneLoaded(Scene, LoadSceneMode) UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode) then tons of spam: [EXC 22:05:17.516] NullReferenceException: Object reference not set to an instance of an object Kopernicus.Components.KopernicusStar.LateUpdate () For a full log, here is " head -n 4000 KSP.log | tail -n 1000 | pastebinit -b sprunge.us "http://sprunge.us/hcMB I am not sure if this is the same problem reported by others. Yup, known kopernicus-linux bug. I have no idea how to fix that sorry Quote Link to comment Share on other sites More sharing options...
Galileo Posted November 11, 2016 Share Posted November 11, 2016 (edited) Would you be able to add the capability to scale ground textures? I noticed that i manually have to change all of the tiling values to x10 of whatever value i have set in order for it to look right EDIT: Actually i dont know what is happening. for one planet it needs to be adjusted x10 for another it doesnt.. ill play around with it some more before i pop off anymore assumptions Edited November 11, 2016 by Galileo Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 11, 2016 Author Share Posted November 11, 2016 (edited) 7 hours ago, Galileo said: Would you be able to add the capability to scale ground textures? I noticed that i manually have to change all of the tiling values to x10 of whatever value i have set in order for it to look right EDIT: Actually i dont know what is happening. for one planet it needs to be adjusted x10 for another it doesnt.. ill play around with it some more before i pop off anymore assumptions SD should do it for which planet is it not working? - - - nope, bad memory, SD isn't touching that atm I'll add an option, could you tell me which values have to be changed? - - - nope again, bad memory ^2 SD actually changes the ground textures: https://github.com/Sigma88/Sigma-Dimensions/blob/26d57aa6da409e159a13d564c6eee3d07effffea/GameData/Sigma/Dimensions/Configs/ReDimension/resizePQSMods.cfg#L7-L28 but it doesn't change tiling, only TexStart / TexEnd do you think it should resize the tiling as well? @Galileo could you make a screenshot comparing a resized body with the tiling left normal and one with the tiling resized, to see where the difference is? thanks Edited November 11, 2016 by Sigma88 Quote Link to comment Share on other sites More sharing options...
Galileo Posted November 11, 2016 Share Posted November 11, 2016 6 hours ago, Sigma88 said: do you think it should resize the tiling as well? @Galileo could you make a screenshot comparing a resized body with the tiling left normal and one with the tiling resized, to see where the difference is? thanks yes give me a few min and ill take some pics Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 11, 2016 Author Share Posted November 11, 2016 6 minutes ago, Galileo said: yes give me a few min and ill take some pics thanks I can't remember why I decided to not resize them. if it's clearly obvious they should be resized I will just add them to the list of stuff to resize if it's a matter of taste, I'll consider adding an option to turn the resize ON/OFF Quote Link to comment Share on other sites More sharing options...
Galileo Posted November 11, 2016 Share Posted November 11, 2016 19 minutes ago, Sigma88 said: thanks I can't remember why I decided to not resize them. if it's clearly obvious they should be resized I will just add them to the list of stuff to resize if it's a matter of taste, I'll consider adding an option to turn the resize ON/OFF that wouldn't be a bad idea. Here are the values that need to be changed when rescaling the ground textures steepNearTiling = * steepTiling = * lowNearTiling = * lowMultiFactor = * lowNearTiling = * lowMultiFactor = * midNearTiling = * midMultiFactor = * midBumpNearTiling = * midBumpFarTiling = * highNearTiling = * highMultiFactor = * highNearTiling = * highMultiFactor = * Here are some screenshots for comparison http://imgur.com/a/Q4gNI These are the original values i had set in before rescaling them x10 Spoiler steepNearTiling = 1000 steepTiling = 100 lowNearTiling = 10000 lowMultiFactor = 1000 lowNearTiling = 10000 lowMultiFactor = 1000 midNearTiling = 4000 midMultiFactor = 100 midBumpNearTiling = 6000 midBumpFarTiling = 600 highNearTiling = 8000 highMultiFactor = 400 highNearTiling = 8000 highMultiFactor = 400 Quote Link to comment Share on other sites More sharing options...
Sigma88 Posted November 11, 2016 Author Share Posted November 11, 2016 25 minutes ago, Galileo said: that wouldn't be a bad idea. Here are the values that need to be changed when rescaling the ground textures steepNearTiling = * steepTiling = * lowNearTiling = * lowMultiFactor = * lowNearTiling = * lowMultiFactor = * midNearTiling = * midMultiFactor = * midBumpNearTiling = * midBumpFarTiling = * highNearTiling = * highMultiFactor = * highNearTiling = * highMultiFactor = * Here are some screenshots for comparison http://imgur.com/a/Q4gNI These are the original values i had set in before rescaling them x10 Reveal hidden contents steepNearTiling = 1000 steepTiling = 100 lowNearTiling = 10000 lowMultiFactor = 1000 lowNearTiling = 10000 lowMultiFactor = 1000 midNearTiling = 4000 midMultiFactor = 100 midBumpNearTiling = 6000 midBumpFarTiling = 600 highNearTiling = 8000 highMultiFactor = 400 highNearTiling = 8000 highMultiFactor = 400 Yes I definitely see what you mean I'll add a simple resizer for now If there will be a big demand for customization I may consider making it custom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.