diff --git a/README.md b/README.md index 803dd23..8269b2a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,35 @@ # LMod +## Setup + +Download modding framework [BepInEx](https://github.com/BepInEx/BepInEx) +Extract and paste its content into the root of the game. Start the game once to generate necessary files. +For debuging purposes edit BepInEx/config + +```bash +[Logging.Console] + +## Enables showing a console for log output. +# Setting type: Boolean +# Default value: false +Enabled = true +``` +Download [ILSpy](https://github.com/icsharpcode/ILSpy) for decompiling the game. +Optionaly install [UnityExplorer](https://github.com/sinai-dev/UnityExplorer) in order to live debug and change variables in runtime. + +Adjust in [MyFirstMod.csproj](MyFirstMod/MyFirstMod.csproj) lines to point to your game installation. + +```bash + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Lethal Company\Lethal Company_Data\Managed\Assembly-CSharp.dll + "true" + + + ..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Lethal Company\Lethal Company_Data\Managed\UnityEngine.dll + "true" + + +``` + +After building put the resulting .dll into BepInEx\plugins and start the game \ No newline at end of file