Want to write an external application to process KSP data but opened a file and found working with the data is a pain? Don't want to deal with upgrades breaking your application? Want to convert your KSP flight data to other useful formats? 

If you answered yes to any of these then the KerbalData API is for you. This simple C# API allows you quick and easy access to your KSP data files (save, craft, config and part) and allows you to manipulate and store that data back into KSP format (and eventually any format you like).

 

 

This API allows developers to:

  • Load/Edit/Save KSP Save, Craft (both global and under a specific save), Part and game settings.
  • Scan a KSP install for all available data files (and makes them available through a single line of code)
  • Convert KSP data to/from JSON format (use the huge ecosystem JSON tools to manage your data)
  • Manage, edit, save to/from JSON or KSP format
  • De-serializes data into usable object structure
  • Automatically backs up changed files, keeps a copy of original data to restore live object.
  • Save Development Time : Time Savings
  • Do simple popular actions
    • Clear all debris and unknown items from a save
    • Put any craft currently in game (on the pad or in orbit) in orbit around any body
    • Refuel any or all craft in your save with a single command (fills any resource to max)
    • more to come (looking for suggestions)...

What would I make with this?

  • Full blown data editor
  • File sharing tools (automate craft import, use to tie a KSP install directly to a catalog of data for import)
  • Web based services that use KSP data
  • Flight planning system
  • Payload tools
  • Scenario editor/planner/generator
  • Part manager
  • Any number of simple utilities like clearing debris, managing a vessel fleet, importing craft into a save, etc
  • Anything you can think of. 

Other Projects used by Kerbal Data

Last edited Feb 19, 2013 at 4:52 AM by Manitcor, version 19