Skip to content

Compiling These Plugins

DeathWeasel1337 edited this page Oct 17, 2019 · 3 revisions

To compile these plugins you will need Visual Studio, the free Visual Studio 2019 Community Edition is perfectly acceptable. Download the source code from GitHub by clicking the green "Clone or download" button. Extract the files and run the .sln

All of the references for the project have been stripped of all usable code leaving only stubs using mono cil strip. The .dlls in the lib folder are not valid code and cannot be used to run the game, they are only used to be compiled against.

You can create a PostBuild.bat file in the KK_Plugins folder and put in the following:

IF "%2" == "KK" (
	IF EXIST "C:\Illusion\Koikatu\BepInEx\" XCOPY /y "%1" "C:\Illusion\Koikatu\BepInEx\"
	IF EXIST "D:\Steam\steamapps\common\Koikatsu Party\BepInEx\" XCOPY /y "%1" "D:\Steam\steamapps\common\Koikatsu Party\BepInEx\"
	)
IF "%2" == "EC" (
	IF EXIST "C:\Illusion\EmotionCreators\BepInEx\plugins\EC_Plugins\" XCOPY /y "%1" "C:\Illusion\EmotionCreators\BepInEx\plugins\EC_Plugins\"
	)

Replace the paths with the location of your own game(s). This .bat file is executed when a project is built and will copy the compiled .dlls to your bepinex folder. Simply compile and run the game, no need to manually copy .dlls anymore.

Clone this wiki locally