Skip to content

Releases: RafertyLee/Kraken

Kraken_Console_v0.1.0.2_23-08-04_beta

04 Aug 11:20
Compare
Choose a tag to compare

KrakenConsole

A built-in command line window for KSP that allows the use of cmd commands to run KRPC scripts or other automation scripts within the KSP game.

Features

  • Direct access to system commands, e.g cd dir
  • Shows current working directory, the default working directory being the directory of ksp_x64.exe
  • Supports virtual environments such as conda venv, etc.

Installation

  • Extract KrakenConsole.dll into Gamedata folder.

Usage

  • Hotkey: LeftAlt + K to show/hide the window.
  • Press Enter at the end of a line to execute a command.
  • Input cls to clear the screen, exit to restart the command line.

Compiling

  • Open KrakenConsole.sln with Visual Studio
  • Go to Project setting page, right click
  • Select .../KerbalSpaceProgram/KSP_x64_Data/Managed
  • Add: Assembly-CSharp.dll, UnityEngine.CoreModule.dll, UnityEngine.IMGUIMoudle.dll, UnityEngine.InputeLegacyModule.dll
  • Start project generation

Known bugs

  • exit can't terminate the current running thread
  • Overflow happens if a single line's display area exceed current maximum display area. Limitation of single line length is recommended.
  • BOM issues are reported on KSP version 1.6.x. Click Enter twice everytime before launching command, wait until the command line errors with the character

New Contributors

Full Changelog: https://github.com/RafertyLee/Kraken/commits/Kraken_Console_v0.1.0.2_23-08-04_beta