Jump to content

[1.8.1-1] [PLEASE FORK ME] Kopernicus & KittopiaTech


Thomas P.

Recommended Posts

When I install Kopernicus on my heavy modded game, it locks 16.2 FPS at KSC screen. :/

It's perfectly fine with clean install, but if I add more mods like USI, NF, B9 etc. the more mods I add, the more FPS drop I get, but even with all 160+ mods installed and w/o Kopernicus I still get 60 FPS at KSC. :/

VAB/SPH, flight and Tracking station scenes are fine even with all mods + Kopernicus.

That's not critical, but pretty annoying :<

I've checked logs, the only thing about Kopernicus I see is:

NullReferenceException: Object reference not set to an instance of an object
  at Kopernicus.NumericParser`1[System.Int32].op_Implicit (Kopernicus.NumericParser`1 parser) [0x00000] in <filename unknown>:0 
  at Kopernicus.DiscoverableObjects.UpdateAsteroid (Kopernicus.Configuration.Asteroids.Asteroid asteroid, Double time) [0x00000] in <filename unknown>:0 
  at Kopernicus.DiscoverableObjects+<AsteroidDaemon>d__10.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Kopernicus.DiscoverableObjects:Start()

That exception appears each time I switch from other scenes to KSC. Might be caused by a planet mod... But frame drop is actual even w\o any planet mods.

There is also dependency with Max Physics Delta-time per Frame option.

16.2 FPS locks with 0.06, if I change it to 0.03, I get 33.3 FPS lock and 10.8 with 0.12

I might blame my pretty old rig, but w\o Kopernicus I don't have that issue :<

Maybe there is some critical mod incompatibility, which I don't know...

P.S. I've installed most mods with CKAN, but SVE, MFI and Kopernicus manually.

Link to comment
Share on other sites

3 hours ago, LordAssault said:

When I install Kopernicus on my heavy modded game, it locks 16.2 FPS at KSC screen. :/

It's perfectly fine with clean install, but if I add more mods like USI, NF, B9 etc. the more mods I add, the more FPS drop I get, but even with all 160+ mods installed and w/o Kopernicus I still get 60 FPS at KSC. :/

VAB/SPH, flight and Tracking station scenes are fine even with all mods + Kopernicus.

That's not critical, but pretty annoying :<

I've checked logs, the only thing about Kopernicus I see is:


NullReferenceException: Object reference not set to an instance of an object
  at Kopernicus.NumericParser`1[System.Int32].op_Implicit (Kopernicus.NumericParser`1 parser) [0x00000] in <filename unknown>:0 
  at Kopernicus.DiscoverableObjects.UpdateAsteroid (Kopernicus.Configuration.Asteroids.Asteroid asteroid, Double time) [0x00000] in <filename unknown>:0 
  at Kopernicus.DiscoverableObjects+<AsteroidDaemon>d__10.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Kopernicus.DiscoverableObjects:Start()

That exception appears each time I switch from other scenes to KSC. Might be caused by a planet mod... But frame drop is actual even w\o any planet mods.

There is also dependency with Max Physics Delta-time per Frame option.

16.2 FPS locks with 0.06, if I change it to 0.03, I get 33.3 FPS lock and 10.8 with 0.12

I might blame my pretty old rig, but w\o Kopernicus I don't have that issue :<

Maybe there is some critical mod incompatibility, which I don't know...

P.S. I've installed most mods with CKAN, but SVE, MFI and Kopernicus manually.

THIS! See, @Sigma88 , this is the exact same problem as I was having. There is definitely something not right with Kopernicus.

Link to comment
Share on other sites

19 minutes ago, Thomas P. said:

@aluc24 @LordAssault I need your logfiles. (output_log and Logs/ folder)

You mean the output_log.txt that is in the KSP_x64_Data folder? I'm attaching that one, along with the whole Logs folder (containing just Kopernicus logs). This is from me playing last night, with a whole bunch of addons, including Outer Planets.

Don't know how to attach files in this forum... So I'm uploading off-site, hope that's okay. Link: http://s000.tinyupload.com/?file_id=65831109414995346370

Link to comment
Share on other sites

5 minutes ago, aluc24 said:

You mean the output_log.txt that is in the KSP_x64_Data folder? I'm attaching that one, along with the whole Logs folder (containing just Kopernicus logs). This is from me playing last night, with a whole bunch of addons, including Outer Planets.

Don't know how to attach files in this forum... So I'm uploading off-site, hope that's okay. Link: http://s000.tinyupload.com/?file_id=65831109414995346370

You might want to know that there is no single Kopernicus exception in this log - unlike in the log fragment from @LordAssault

Link to comment
Share on other sites

9 minutes ago, Thomas P. said:

You might want to know that there is no single Kopernicus exception in this log - unlike in the log fragment from @LordAssault

Strange. What could be responsible for that massive FPS loss in KSC, then?

EDIT: Here's my KSP.log too - maybe something will show up there: http://s000.tinyupload.com/?file_id=07476352998293142258

Edited by aluc24
Link to comment
Share on other sites

@Thomas P. Hello, I am the developer of the More  Habitable Planets Mod. I am having an issue with Surface Gee's and Textures.

I have made the textures a .dds file.

I have inputted the geeASL data I want.

Here is a sample of Nevo.cfg:

{
    Body
    {
        name =  Nevo       
        flightGlobalsIndex = 7777
        Template
        {
            name = Jool
        }
        Properties
        {
            radius = 10000000 //This is the height of your planet in meters from the surface to the core.
            geeASL =  17.6
            mass =  6273827000000000
            tidallyLocked = true
            rotationPeriod = 5273
			isHomeWorld = false
            description =  This planet is the first gas giant in the Kerbol system, surprisingly, the atmosphere consists of Oxygen, Water Vapour and Hydrogen, suspisions predict a huge ocean at the center of the planet, although it has not been proven. Also, the atmosphere at 50000 meters up is warmer than some max capacities in our parts! The atmosphere cools down after reaching 25000 meters though, it could make for some great floating cities!
            ScienceValues
            {
                landedDataValue = 10000000000
                splashedDataValue = 100000000000
                flyingLowDataValue = 100
                flyingHighDataValue = 5.9
                inSpaceLowDataValue = 5.8
                inSpaceHighDataValue = 2.1
                recoveryValue = 12.9
            }
        }
        Orbit
        {
            referenceBody =  Sun
            inclination =  0.001
            eccentricity =  0.03
            semiMajorAxis =  53773560320 
            longitudeOfAscendingNode = 0.3
            argumentOfPeriapsis = 0.2
            meanAnomalyAtEpoch = 0.9
            epoch = 0.5
            color =  0.5, 0.3, 0.1, 1
        }
        ScaledVersion
        {
            Material
            {    
		texture = GameData/MoreHabitalableAreasMod/KopernicusFiles/Textures/KSPNevoTexture
         }

	Atmosphere
	{
	ambientColor = 44,79,84
 	lightColor = 44,79,84
	enabled = true
	containsOxygen = true
	altitude = 550000
	albedo = 0.47
	staticPressureASL = 528
 	PressureCurve
 	{
  	key = 550000 0
	key = 500000 1
	key = 430000 2
	key - 370000 4.2
	key = 333000 7
	key = 100000 100
	key = 50000 1273
	key = 25000 400
	key = 10000 250
	key = 10 527
	key = 2 522
  	key = 0 528
 	}
	pressureCurveIsNormalized = false            
    temperatureSeaLevel = 18
 	TemperatureCurve
 	{
  	key = 550000 -18
  	key = 300000 4
  	key = 175000 982
	key = 50000 1173
	key = 25000 836
	key = 5 637
	key = 2 99
	key = 0 18
 	}
	}


      }
   }
}

Keep in mind that I am new to making celestials.

Edited by ForumUser
Link to comment
Share on other sites

4 hours ago, Thomas P. said:

@aluc24 @LordAssault I need your logfiles. (output_log and Logs/ folder)

Sure https://www.dropbox.com/s/fvwhmlgz53zfa1t/output_log.txt?dl=0

But as I said that exception doesn't spam, only appears once I switch scene to KSC. Maybe because I've installed two planet mods OPM and Kerbol Origins.

FPS problem looks, like Kopernicus uses some memory chunk for some math, but that chunk used by other mods too and that's why the more mods you have, the more drop you get. ¯\_(ツ)_/¯

Link to comment
Share on other sites

22 minutes ago, ForumUser said:

@Thomas P. Hello, I am the developer of the More  Habitable Planets Mod. I am having an issue with Surface Gee's and Textures.

I have made the textures a .dds file.

I have inputted the geeASL data I want.

Here is a sample of Nevo.cfg:


{
    Body
    {
        name =  Nevo       
        flightGlobalsIndex = 7777
        Template
        {
            name = Jool
        }
        Properties
        {
            radius = 10000000 //This is the height of your planet in meters from the surface to the core.
            geeASL =  17.6
            mass =  6273827000000000
            tidallyLocked = true
            rotationPeriod = 5273
			isHomeWorld = false
            description =  This planet is the first gas giant in the Kerbol system, surprisingly, the atmosphere consists of Oxygen, Water Vapour and Hydrogen, suspisions predict a huge ocean at the center of the planet, although it has not been proven. Also, the atmosphere at 50000 meters up is warmer than some max capacities in our parts! The atmosphere cools down after reaching 25000 meters though, it could make for some great floating cities!
            ScienceValues
            {
                landedDataValue = 10000000000
                splashedDataValue = 100000000000
                flyingLowDataValue = 100
                flyingHighDataValue = 5.9
                inSpaceLowDataValue = 5.8
                inSpaceHighDataValue = 2.1
                recoveryValue = 12.9
            }
        }
        Orbit
        {
            referenceBody =  Sun
            inclination =  0.001
            eccentricity =  0.03
            semiMajorAxis =  53773560320 
            longitudeOfAscendingNode = 0.3
            argumentOfPeriapsis = 0.2
            meanAnomalyAtEpoch = 0.9
            epoch = 0.5
            color =  0.5, 0.3, 0.1, 1
        }
        ScaledVersion
        {
            Material
            {    
		texture = GameData/MoreHabitalableAreasMod/KopernicusFiles/Textures/KSPNevoTexture
         }

	Atmosphere
	{
	ambientColor = 44,79,84
 	lightColor = 44,79,84
	enabled = true
	containsOxygen = true
	altitude = 550000
	albedo = 0.47
	staticPressureASL = 528
 	PressureCurve
 	{
  	key = 550000 0
	key = 500000 1
	key = 430000 2
	key - 370000 4.2
	key = 333000 7
	key = 100000 100
	key = 50000 1273
	key = 25000 400
	key = 10000 250
	key = 10 527
	key = 2 522
  	key = 0 528
 	}
	pressureCurveIsNormalized = false            
    temperatureSeaLevel = 18
 	TemperatureCurve
 	{
  	key = 550000 -18
  	key = 300000 4
  	key = 175000 982
	key = 50000 1173
	key = 25000 836
	key = 5 637
	key = 2 99
	key = 0 18
 	}
	}


      }
   }
}

Keep in mind that I am new to making celestials.

 

You're going to have to be a little more specific about your issue if you want to get help.

Link to comment
Share on other sites

5 minutes ago, AndrewDrawsPrettyPictures said:

 

You're going to have to be a little more specific about your issue if you want to get help.

Well, the textures don't load on Gas Planets, also there is 0-0.1 Gee's when I specifically put gravity way more higher than that. I don't believe I can be any more specific on my issue.

Link to comment
Share on other sites

1 minute ago, AndrewDrawsPrettyPictures said:

@ForumUser Ah I see why you're having that problem with the textures. Remove "GameData/" from all file directories. KSP looks inside the GameData folder without you having to tell it to do so.

What about the Gravity Problem? I don't want stuck moons.

Link to comment
Share on other sites

1 minute ago, ForumUser said:

What about the Gravity Problem? I don't want stuck moons.

I'm not exactly sure. Try getting rid of "mass = 6273827000000000." Maybe it doesn't like that. Also, you probably want to lower the geeASL. In real life, the surface gravity of gas planets are really more like 1 - 3 gees.

Link to comment
Share on other sites

1 minute ago, AndrewDrawsPrettyPictures said:

I'm not exactly sure. Try getting rid of "mass = 6273827000000000." Maybe it doesn't like that. Also, you probably want to lower the geeASL. In real life, the surface gravity of gas planets are really more like 1 - 3 gees.

I have a brown dwarf, should I decrease the Gee on that? (It's 27 Gee's.)

Link to comment
Share on other sites

Kopernicus calculates mass, geeASL and gravParameter from each other. That means if you set gravParameter, it calculates geeASL and mass from it. gravParameter is priority 1, mass 2 and geeASL 3.

So your mass value overrides your geeASL value

Link to comment
Share on other sites

1 minute ago, Thomas P. said:

Kopernicus calculates mass, geeASL and gravParameter from each other. That means if you set gravParameter, it calculates geeASL and mass from it. gravParameter is priority 1, mass 2 and geeASL 3.

So your mass value overrides your geeASL value

So is that why my Gravity is messed up? Should I decrease it then?

Link to comment
Share on other sites

Just now, Thomas P. said:

Kopernicus calculates mass, geeASL and gravParameter from each other. That means if you set gravParameter, it calculates geeASL and mass from it. gravParameter is priority 1, mass 2 and geeASL 3.

So your mass value overrides your geeASL value

That was what I was thinking.

1 minute ago, ForumUser said:

I have a brown dwarf, should I decrease the Gee on that? (It's 27 Gee's.)

Yes.

Just now, ForumUser said:

So is that why my Gravity is messed up? Should I decrease it then?

No. You need to remove the mass parameter.

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