diff --git a/.gitignore b/.gitignore index cd42ee3..af8883e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ bin/ obj/ +BepInEx \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..f56a3bd --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "ms-dotnettools.csharp" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7810eb8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "dotnet.preferCSharpExtension": true, + "dotnet.server.useOmnisharp": false +} \ No newline at end of file diff --git a/MetalButtplug.csproj b/MetalButtplug.csproj index 4ed088e..037c676 100644 --- a/MetalButtplug.csproj +++ b/MetalButtplug.csproj @@ -17,5 +17,8 @@ + + ./BepInEx/interop/Assembly-CSharp.dll + diff --git a/Plugin.cs b/Plugin.cs index e602366..d3bd6ce 100644 --- a/Plugin.cs +++ b/Plugin.cs @@ -1,5 +1,6 @@ using BepInEx; using BepInEx.Unity.IL2CPP; +using HarmonyLib; namespace MetalButtplug; diff --git a/README.md b/README.md new file mode 100644 index 0000000..3c2ba38 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +## Development + +After setting up Metal: Hellsinger with BepInEx, run the game for the first time and let it decompile the game assemblies, then symlink the BepInEx folder to ./BepInEx in the root of this repository, for example: +```bash +ln -s "/run/media/lea/gaming/SteamLibrary/steamapps/common/Metal Hellsinger/BepInEx" ./BepInEx +```