Coder Social home page Coder Social logo

sledgehammer-dev / kerbalsimpit-ksp2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simpit-team/kerbalsimpit-ksp2

0.0 0.0 0.0 90.41 MB

SimPit provides a serial connection interface for custom controllers for Kerbal Space Program 2.

License: BSD 2-Clause "Simplified" License

C# 94.74% HTML 5.19% Batchfile 0.06%

kerbalsimpit-ksp2's Introduction

Simpit

This is a Kerbal Space Program 2 plugin to provide a serial connection interface for custom controllers.

This is the KSP2 version of Kerbal Simpit Revamped

It works with the accompanying Arduino library to make building hardware devices simpler.

We have a Discord Server! Invite Link. We have an online documentation for using this mod.

How to install

This mod comes in two parts: the KSP mod and the Arduino lib. To install the KSP mod, you can either:

  • Install it through CKAN by installing KerbalSimpitKSP2 (easier)
  • Download it from github and install it manually (harder)
    • Download and install the dependencies (SpaceWarp, UITK for KSP2, BepInEx).
    • Go the release tab and dowload the latest version of this mod.
    • Copy the KerbalSimpitKSP2 folder next to its dependencies into the BepInEx/plugins/ folder of your KSP2 install.

After that start KSP2 and go to the MODS section in the main menu to change the Serial port to the port of your Arduino in the Simpit settings. You can find the right port name by copying the port name you are using in the Arduino IDE.

The Serial connection does not yet start automatically, you have to open it manually. When in flight mode, you can find the Simpit-UI in the App bar under the 9 dots.

To install the Arduino lib, you can download it here and install it in your Arduino IDE by going to Sketch -> Include library -> Add .ZIP library. Then you should find some Simpit examples in the example list.

Simpit for KSP2 is built very similar to Simpit-revamped for KSP1. If you already have a controller for KSP1, most of your controller should work with KSP2 without any changes. For differences look at the online documentation .

Setup for building

  • You must have the dotnet-sdk-7 installed.
  • Download this repo and open the .sln with Visual Studio 2022.
  • Go to Extras -> NuGet Package Manager -> Manage NuGet packages for solution
    • Search for System.IO.Ports and install version 7.0.0
    • Search for System.ComponentModel.Primitives and install version 4.3.0
  • Have the mod dependencies BepInEx, SpaceWarp and UITK for KSP 2 installed (you can use CKAN to get those)
  • Have the environment variable KSP2DIR set to the KSP2 game folder where the dependencies are installed
  • run scripts/build-run.bat to build the mod and launch the game

kerbalsimpit-ksp2's People

Contributors

tetopia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.