Jump to content

SFS file affects Longitutde (KSPTOT users please read!)


Recommended Posts

I've noticed when using KSPTOT that the Longitude value it was giving me was off by a few degrees over Kerbin. I spoke with Arrowstar about it and he confirmed that there was no issue on his end. So I stripped my install down to stock to attempt to reproduce his results. I couldn't, KSPTOT still showed me a few degrees off. So I unpacked my pristine 0.90 copy I zipped up after allowing Steam to update, started a new game, launched a rocket into orbit and successfully reproduced Arrowstar's results where KSPTOT was showing me a Longitude value just a tenth or so off what the game had. Next I deleted the folders that were in the pristine GameData and copied over the folders from my original install since I do remove a lot of parts and stuff for my regular game play. Again, no issue. Finally I took the SFS file I was using in my original install, copied that into my new install and when I ran the test I found my Longitude a few degrees off.

If anyone who uses KSPTOT could please download this SFS file and run the test Arrowstar ran? (Third link above). I'd like some confirmation and he probably won't be around again for another 12-16 hours. It will load with just Squad and NASAMission folders in your GameData. The vessel "Untitled Space Craft" is the one in orbit I used for testing.

I would appreciate any ideas as to how my SFS file would be causing this discrepancy. Please note this SFS file has been in continuous use since last February (v0.23)

Edited by Gaiiden
Link to comment
Share on other sites

Did the test according to the procedure by Arrowstar. Longitude from KER = 67° 59' 16" E; from KSPTOT MA (imported initial state from quicksave.sfs) = 67.9049 --> 67° 54' 18" E. Longitude difference = 0° 4' 58", quite probably entirely due to slack in pausing KSP while quicksaving.

Had a quick look at your SFS file, apparently nothing out of order in there.

However, the fact it has been in use for such a long time may provide a reason for the discrepancy. One possible cause may be related to the alleged change in time reference for Kerbin's solar day in KSP 0.24 (now exactly 6h, or 21600 sec long) while before 0.24 it was the sidereal day to be 21600 sec long. That change should bring a difference of 59 sec/day (exactly 59"/day in longitude), that can easily cumulate to many degrees over months of gametime. However, can't tell if this is your case. Alla SFS files save a time marker (UT = ... in the Flightstate section) and vessels' positions are valid for that time; therefore if the marker significance had changed because of the change, any vessel already in game would have the position coordinates referenced to a different time. That change in the sidereal day duration means that a specific point on Kerbin (e.g. KSC, but also the meridian at 0° longitude) is now pointing in the same sidereal direction every 21541 sec instead of 21600, so the reference for longitude rotates at a different speed; but because longitude (coordinate with all saved vessels in the SFS) is tied to their reference body, those vessels there were orbiting Kerbin would be in a different sidereal position after the update to KSP 0.24 than before. Unclear however how the change may affect vessels launched after the update, or vessels that never left Kerbin's SoI.

Link to comment
Share on other sites

that makes a lot of sense... the problem though is that this test here:

HGY5nypl.png

was done with a new ship launched into orbit, not from any vessel I had launched back in 0.23. So I'm not sure why the longitude should already be so far off when this image was captured within a minute after it achieved orbit for the first time.

Link to comment
Share on other sites

Eh, happy to know that was the issue. I have myself always had doubts about the consequences (undocumented till now) of that change back in KSP 0.24, my math kept telling it couldn't be correct how it was depicted. And still I could not find a method to measure things so to let the exact rotation period be known.

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