Skip to content

kria/KerbalGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KerbalGit

KerbalGit is a Kerbal Space Program plugin that adds Git game state versioning.

The plugin is very basic and doesn't have a UI. Don't install KerbalGit unless you are comfortable using Git.

When first run, the plugin will set up a Git repository for the saves/ directory. The .git/ directory itself is placed in GameData/KerbalGit/. The plugin is invoked and commits changes on three events:

  • autosave
  • quicksave (F5)
  • save in VAB/SPH

KerbalGit commits

OS support

I have only tried KerbalGit on Windows. The plugin uses LibGit2Sharp 0.17 which relies on the the native library libgit2. A Windows binary (git2-06d772d.dll) is included, but separate builds are needed for Linux and OSX.

Installation

  1. Get the latest release.
  2. Copy GameData/KerbalGit/ to your KSP directory.
  3. Copy git2-06d772d.dll (on Windows) to the root of your KSP directory. Pick the correct one from NativeBinaries/ depending on if you run KSP in 32-bit or 64-bit mode.

Configuration

You can exclude any files and directories that you don't want to have under version control in saves/.gitignore. In GameData/KerbalGit/settings.cfg, you can set the minimum interval (in seconds) between commits and the committer's name and email.

License

Copyright (C) 2015 Kristian Adrup

KerbalGit is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See included file COPYING for details.

About

Version control game state in Kerbal Space Program.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages