linuxgurugamer

[1.5.*] KSPLogger released

Recommended Posts

This mod is created to expose some internal data for external use.
The specific use case is for streamers who would like to display some values on screen in some manner; for example, using OBS to display the values in a template

Installation:

Copy KSPLogger directory into the GameData directory

Configuration:

There is a config file called KSPLogger.cfg, which contains all the value which can be set. There are three sections in the config file:

KSPLogger values - Contains values which control the behaviour of the mod. Each line in the config file is documented

FlightGlobals values - Contains true/false settings for many of the available values in the internal FlightGlobals class.  Set a setting to true if you want KSPLogger to save that value to a file

FlightGlobals.ActiveVessel values - Contains true/false settings for many of the available values in the FlightGlobals.ActiveVessel class. Set a setting to true if you want KSPLogger to save that value to a file

 

KSPLogger is only active when in the Flight scene. When leaving the flight scene, if the config value singleLine is set true, then the data files are deleted; if it is set false, then the files are left alone

 

Available in CKAN, or

Download from:https://github.com/linuxgurugamer/KSPLogger

SpaceDock: http://spacedock.info/mod/1035/KSPLogger

License:  ARR (for now, will be changed later)

Patreon.png

https://www.patreon.com/linuxgurugamer

Edited by linuxgurugamer

Share this post


Link to post
Share on other sites

Sounds potentially amazing. Is there documentation on all the FlightGlobals info available?

Share this post


Link to post
Share on other sites

For now, look in the config to see what's supported.

Go to this:  http://docuwiki-kspapi.rhcloud.com/#/classes

and type in the search box FlightGlobals

It's the best documentation around.  If you find something which you'd like and isn't supported by KSPLogger, let me know and I'll update it.

 

Share this post


Link to post
Share on other sites

Enjoying this so far - seems like it could have a lot of potential.

A few feature requests:

  • the option to dump info to log
  • toggle/collapse the tittle headers (on the right hand screen) so you don't have to scroll through everything
  • And maybe a bit trickier: a filter for the left hand window for what all is displayed - I only care about parts, not game UI objects
  • And maybe an option to control which scenes it's in.
Edited by Deimos Rast

Share this post


Link to post
Share on other sites

New release: 0.4.2

  • Added deleteOnExit, which defaults to false
On 11/5/2016 at 9:38 PM, Deimos Rast said:

Enjoying this so far - seems like it could have a lot of potential.

A few feature requests:

  • the option to dump info to log
  • toggle/collapse the tittle headers (on the right hand screen) so you don't have to scroll through everything
  • And maybe a bit trickier: a filter for the left hand window for what all is displayed - I only care about parts, not game UI objects
  • And maybe an option to control which scenes it's in.

Are you sure you posted this in the right thread?  KSPLogger does not do any display on it's own, it's only exporting data for other programs like OBS to use

Share this post


Link to post
Share on other sites

New release, 0.4.3

  • Added AssemblyVersion to assembly
  • Added license
  • Added Ap and Pe (ApA and PeA)
     

Share this post


Link to post
Share on other sites

New release, 0.4.4:

  • Updated for 1.3
Edited by linuxgurugamer

Share this post


Link to post
Share on other sites

New release, 0.4.6.1

  • Rebuilt for 1.4
  • Updated .version file for all of 1.4

Share this post


Link to post
Share on other sites

New release, 0.4.6.4

  • Restored missing KSPLogger.cfg file

Share this post


Link to post
Share on other sites

New release, 0.4.6.5

  • Added check to see if file prefix is an absolute file path, and uses it if it is

Share this post


Link to post
Share on other sites

New release, 0.5.0

  • Moved all writing of data into a real thread
  • Added coroutine to write data to static values for thread
  • Added synchronization between coroutine and thread

Note that due to overhead outside the mod (ie:  OS, etc), an actual refresh rate with about 5 variables being written to files is about 1/second

Share this post


Link to post
Share on other sites

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.