/kerbal

Play Kerbal Space Program from Clojure with the help of KRPC.

Primary LanguageClojure

kerbal

Play Kerbal Space Program from Clojure with the help of KRPC.

Install

mvn install:install-file -Dfile=krpc-java-0.4.8.jar -DgroupId=krpc \
    -DartifactId=krpc-java -Dversion=0.4.8 -Dpackaging=jar
  • make sure version matches project.clj version
  :dependencies [...
                 [com.google.protobuf/protobuf-java "3.6.1"]
                 [org.javatuples/javatuples "1.2"]
                 [krpc/krpc-java "0.4.8"]]
  • download KRPC server zip from the same place you downloaded the KRPC jar from e.g. krpc-0.4.8.zip
  • extract its GameData contents to the GameData folder of your game installation
  • start KSP with the KRPC mod installed
  • once you launch a game, the server can be started (for more info read KRPC
  • open core.clj
  • check connection settings i.e. IP and ports match with your server
  • launch REPL (in your favourite editor)
  • have fun!

Usage

Read the source!

License

Do as you will!

Copyright © 2019 Markku Rontu