Commit Graph
1524 Commits
Author SHA1 Message Date
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
Dusk Banks ab5d8829e9 Normalize target triples (platform names)
The short commit hashes follow semver syntax now.
2022-08-14 17:18:57 +03:00
ghorsington a431814a19 Add note about platform name 2022-08-14 17:18:57 +03:00
ghorsington ae9232abc4 Add nightly.link comment bot for PRs 2022-08-14 17:18:57 +03:00
ghorsington f4334f56c0 Update CI to work with Doorstop 4 2022-08-14 17:18:57 +03:00
Dusk Banks 43c883153d [WIP] UnityDoorstop 4 support 2022-08-14 17:18:57 +03:00
Dusk Banks 643ab34d11 TODO(Bepis): commit your UnityChainloader patch
`git rebase -i` edit this and `git commit --amend --reset-author` once
you're happy with it
2022-08-14 17:18:57 +03:00
ghorsington ec79ad057b Allow giving special versions to build script v6.0.0-pre.1 2022-08-14 17:18:08 +03:00
ghorsington e473f08e0a ConfigFile: Fix visibility of Values
GetConfigEntries was obsoleted, but Values was never set to public (only explicitly implemented)
2022-08-09 21:23:17 +03:00
Bepis 0d7ba3a5cb Fix BepInEx 6 for Unity 4.x games and below 2022-08-04 16:20:16 +10:00
Bepis 42b8b96827 Fix NetCore for games started with dotnet executable 2022-08-04 13:18:58 +10:00
Geoffrey Horsington 9c2b17f3e4 Merge pull request #443 from TheLounger/master
Add unhollower RegEx rename config option
2022-07-13 18:34:20 +03:00
Lounger ca9a9127c4 Add UnhollowerDeobfuscationRegex config option 2022-07-11 06:06:58 +02:00
ghorsington 3a54f7eef8 Fix missing Microsoft.NETFramework.ReferenceAssemblies reference 2022-07-09 11:03:34 +03:00
ghorsington 3febd6a3ba WindowsPageAllocator: Fix allocation issues on macOS
On macOS (if using e.g. Crossover), VirtualQuery can report a memory address as free but still fail to reserve the memory with VirtualAlloc (fails with error code 0x170C240 for some reason).

To fix this, memory is now reserved directly in the loop to ensure it can be reserved. If reservation fails, the next address is tried.
2022-06-19 21:50:49 +03:00