-
Notifications
You must be signed in to change notification settings - Fork 8
Development Setup
pizzaoverhead edited this page Nov 18, 2022
·
2 revisions
- Clone the git repo, e.g. from git bash, run
git clone https://github.com/pizzaoverhead/FreeIva.git
- In Visual Studio (or your choice of IDE), set the reference path to your KSP install directory:
- In the Solution Explorer, right-click on the FreeIva project and select Properties.
- In the Properties window, select the Reference Paths tab.
- Browse to the install folder, i.e. the folder that contains KSP_x64.exe.
- Click Add Folder, making sure that the path has the trailing '\' character, e.g.
C:\Games\Kerbal Space Program\
- You should now be able to build FreeIva and copy the FreeIva.dll on top of an existing FreeIva install to update it.
- Instead of copying the dll each time, set up a junction to automatically mirror your development folder to the GameData folder.
- Delete your current install of FreeIva from the KSP\GameData folder.
- 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"
- Follow the guide here to set up debugging: https://gist.github.com/gotmachine/d973adcb9ae413386291170fa346d043