搜索结果: *

  1. Bannersample - An example mod using Harmony

    Hi, I don't quite understand what you mean in this passage under the installing section of your readme



    What is the resulting .dll resulting from, and where exactly am I copying it?
    The .dll is resulting from building your project with your IDE, in my case Rider/MSBuild. It places builds in a folder named bin/Debug or bin/Release, VS2019 should be similar. Try to compile a regular C# console app and see where the .exe is placed.
    Where to copy? Inside your Bannerlord game folder, to be exact the .dll goes to <GAMEFOLDER>/Modules/Bannersample/bin/Win64_Shipping_Client/Bannersample.dll
    To actually load it you need to place the SubModule.xml here <GAMEFOLDER>/Modules/Bannersample/SubModule.xml

    btw, thanks Ster - I used manual patching as a quick + dirty solution to be able to overwrite sealed classes, since you can't get their typeof()
  2. Bannersample - An example mod using Harmony

    Hey guys, I created a small example project for anyone to start their own projects/mods from. It uses Harmony to patch existing methods from the game with your own implementations, more on that in the Readme and Harmony documentation. https://github.com/schplorg/bannersample-mod Download the...
后退
顶部 底部