Skip to content

Loader Development

Benjamin Fuu edited this page Jun 11, 2021 · 4 revisions

If you're interested in expanding the loader and developing features on your own, read the following explanation, its pretty simple.

  • Clone the repository via git clone https://github.com/benjaminfoo/GoingMedievalModLauncher.git
  • Open the solution via an C# IDE, like Visual Studio or JetBrains Rider
  • Update the compilation (target) paths (the path where a file is going to get copied) for each project (Right click on the project, not the overall solution)
    • For example, when updating the path for the CameraSettingsPlusPlus plugin
    • Right click on the project
    • Click Properties...
    • Select Debug | AnyCPU
    • In the section of "Compile", update the output path to point to the directory of the mods folder within going medieval, like C:\steam\steamapps\common\Going Medieval\Mods\
  • After that, you need to update the referenced assemblies - there are probably yellow triangles shown at the top of them - to set them up:
    • Select the referenced assembly (Project-Name -> Dependencies -> Assemblies
    • right click on it, select "Add Reference", click "Add From ..."
    • Then select the required assembly (lookout for a file with the same name as marked)
    • All the required files are stored at: <Your_Steam_Directory>steam\steamapps\common\Going Medieval\Going Medieval_Data\Managed
  • After updating the paths you can start to write your own code
  • If you want to see your changes, simply press Build -> Rebuild Solution on the Menubar at the top
  • You're done!
Clone this wiki locally