Skip to content

Development Setup

pizzaoverhead edited this page Nov 18, 2022 · 2 revisions
  1. Clone the git repo, e.g. from git bash, run git clone https://github.com/pizzaoverhead/FreeIva.git
  2. In Visual Studio (or your choice of IDE), set the reference path to your KSP install directory:
    1. In the Solution Explorer, right-click on the FreeIva project and select Properties.
    2. In the Properties window, select the Reference Paths tab.
    3. Browse to the install folder, i.e. the folder that contains KSP_x64.exe.
    4. Click Add Folder, making sure that the path has the trailing '\' character, e.g. C:\Games\Kerbal Space Program\
  3. You should now be able to build FreeIva and copy the FreeIva.dll on top of an existing FreeIva install to update it.
  4. Instead of copying the dll each time, set up a junction to automatically mirror your development folder to the GameData folder.
    1. Delete your current install of FreeIva from the KSP\GameData folder.
    2. From a command prompt, run the following, with the paths changed to match your environment:
    • mklink /J "C:\Games\Kerbal Space Program\FreeIva" "C:\dev\KSP\FreeIva"
  5. Follow the guide here to set up debugging: https://gist.github.com/gotmachine/d973adcb9ae413386291170fa346d043
Clone this wiki locally