Commit Graph
1388 Commits
Author SHA1 Message Date
ghorsington f658a4fbdf Adjust hash info message 2022-08-14 17:19:08 +03:00
ghorsington d232386aea Use release .NET 6.0.6 builds 2022-08-14 17:19:08 +03:00
ghorsington d190b069a1 Restructure versioning and project configuration
To simplify versioning and configuration:

* Removed BepInEx.Shared
* Removed BuildInfoAttribute
* Moved shared configuration to Directory.Build.props
* Refactored to use VersionSuffix and SourceRevisionId for embedding BE and commit hash info
* Enabled debug info embedding
2022-08-14 17:19:06 +03:00
ghorsington 28487d237a Disable Il2CppInterop parallel writing on Wine
At the moment high parallel I/O causes issues on Wine, so it's better to disable it for the time being
2022-08-14 17:18:59 +03:00
ghorsington 60147c73dc Add platform check for Wine, report Wine version 2022-08-14 17:18:59 +03:00
ghorsington d42f342d15 Bump Il2CppInterop 2022-08-14 17:18:59 +03:00
ghorsington dcab274a77 Bump Il2CppInterop version 2022-08-14 17:18:59 +03:00
Kasuromi cbb864dfde Pass in delegate instead of function pointer 2022-08-14 17:18:59 +03:00
Kasuromi e0023bb834 Wrap detour on create 2022-08-14 17:18:59 +03:00
js6pak ef89754d48 Add the using back 2022-08-14 17:18:59 +03:00
Kasuromi 0c0b8cfe10 it was still needed 2022-08-14 17:18:59 +03:00
ghorsington cad26ff6e0 Update Doorstop 2022-08-14 17:18:59 +03:00
ghorsington 8122165dbd Update README 2022-08-14 17:18:59 +03:00
ghorsington 9224a2a820 Update Il2CppInterop 2022-08-14 17:18:59 +03:00
js6pak 0e58099a83 Allow changing preloader log name with an env variable 2022-08-14 17:18:59 +03:00
js6pak 9743fb4c13 Preloader fail fast 2022-08-14 17:18:58 +03:00
ghorsington c184450015 Fix BepInExLogger not logging exceptions 2022-08-14 17:18:58 +03:00
ghorsington 0bc9578e75 Update Cakebuild script 2022-08-14 17:18:58 +03:00
js6pak 5ba319927f Add linux support 2022-08-14 17:18:58 +03:00
js6pak 8d26da3cda Centralize the delegate workaround 2022-08-14 17:18:58 +03:00
js6pak 5dce49007e ConsoleOut workaround isn't needed anymore 2022-08-14 17:18:58 +03:00
ghorsington 97998e7387 Use latest dotnet; fix *nix scripts 2022-08-14 17:18:58 +03:00
js6pak 3538abf277 Support macos 2022-08-14 17:18:58 +03:00
js6pak 12079aeb09 Improve ConsoleWindow exceptions 2022-08-14 17:18:58 +03:00
js6pak 1315427acd Fix console on wine 2022-08-14 17:18:58 +03:00
ghorsington 266a2c87db Use new Il2CppInterop detour provider, add Il2CppInterop.HarmonySupport 2022-08-14 17:18:58 +03:00
ghorsington 59097dbb73 Update Il2CppInterop; use new runner API 2022-08-14 17:18:58 +03:00
ghorsington abb10739db Target latest Il2CppInterop code 2022-08-14 17:18:58 +03:00
Kasuromi 01635d9f02 Cache Harmony Delegates & Runtime Invoke 2022-08-14 17:18:58 +03:00
ghorsington 68cadbf697 Fix hook logs not showing 2022-08-14 17:18:58 +03:00
ghorsington 6ca26f4b59 Clean up after merge 2022-08-14 17:18:58 +03:00
Kasuromi 83b72d568b Add config option for forced detour provider 2022-08-14 17:18:58 +03:00
Kasuromi 9432878863 Remove unused method 2022-08-14 17:18:58 +03:00
Kasuromi 2797bef7d6 Add Dobby Detour Provider 2022-08-14 17:18:58 +03:00
Kasuromi 136063957d Cleanup imports and rename region 2022-08-14 17:18:58 +03:00
Kasuromi 8743674bf2 Create NativeDetourHelper and internalize funchook 2022-08-14 17:18:58 +03:00
Kasuromi 6897bb0526 Deprecate FastNativeDetour in favor of Funchook 2022-08-14 17:18:58 +03:00
ghorsington 3a47049c01 Add dobby to distribution 2022-08-14 17:18:58 +03:00
ghorsington 0da14c507c BepInEx.IL2CPP: Move runtime info logging to preloader 2022-08-14 17:18:58 +03:00
ghorsington 5afef9a1db FastNativeDetour: temporary fix for net6.0 support 2022-08-14 17:18:58 +03:00
ghorsington 7a54a77946 BepInEx.IL2CPP: Remove old MonoExtensions 2022-08-14 17:18:58 +03:00
ghorsington b80f29784c BepInEx.IL2CPP: Fix mutex checks 2022-08-14 17:18:58 +03:00
ghorsington 8dc326c652 ConsoleManager: enable console by default 2022-08-14 17:18:58 +03:00
ghorsington a8dbe2c481 BepInEx.IL2CPP: fix ReferenceLibs copying to output 2022-08-14 17:18:58 +03:00
ghorsington a1c7f5c4b1 ConsoleManager: refactor useWinApiEncoder -> useManagedEncoder 2022-08-14 17:18:58 +03:00
ghorsington 57658bdbb7 BepInEx.IL2CPP: retarget to net6.0, switch to Il2CppInterop 2022-08-14 17:18:58 +03:00
ghorsington 514d273371 Use RC builds for Doorstop 4 2022-08-14 17:18:58 +03:00
ghorsington c2dfd63f45 CakeBuild: Revert "task" -> "target"
CakeBuild always expects main task to be defined in "target" argument, see
https://cakebuild.net/docs/writing-builds/running-targets
2022-08-14 17:18:58 +03:00
ghorsington b927279bfa Il2Cpp: bundle dotnet runtime, add linux/macos
Currently Il2Cpp builds don't actually run as changes need to be done to BepInEx.IL2CPP.
2022-08-14 17:18:58 +03:00
Dusk Banks f1146a2934 General build.cake clean-up 2022-08-14 17:18:58 +03:00