Commit Graph
1404 Commits
Author SHA1 Message Date
ghorsington e48928b6c5 Add build types to build script; enable CI for all branches 2022-08-07 00:40:34 +03:00
ghorsington 0f0bebb018 Update build guide 2022-08-07 00:40:34 +03:00
ghorsington ab4ce9ecce Add package descriptions 2022-08-07 00:40:34 +03:00
ghorsington 2f1e947a10 CI: Update workflow scripts to work with new args 2022-08-07 00:40:34 +03:00
ghorsington f93d12254e Remove old tests project 2022-08-07 00:40:34 +03:00
ghorsington 9178727916 Port Cakebuild script to Cake.Frosting 2022-08-07 00:40:34 +03:00
ghorsington 1173da2bc6 Restructure project names and folder layout 2022-08-07 00:40:34 +03:00
ghorsington 9305a2a583 Disable linux x86 build for Il2Cpp 2022-07-12 22:08:37 +03:00
ghorsington 3a4405fe80 Bump Il2CppInterop version 2022-07-11 00:38:03 +03:00
ghorsington 6d2403c913 Fix style 2022-07-10 21:39:35 +03:00
ghorsington 914814695a Remove remaining "unhollow" wording 2022-07-10 21:39:35 +03:00
ghorsington 5403b93bab Select better entrypoint for Unity 4; restore ThreadingHelper
ThreadingHelper seemed to cause crashes on Unity 4 because of too early default entrypoint. Using the new version resolver, this changes now selects MonoBehaviour as the new default entrypoint for older Unity versions
2022-07-10 21:39:35 +03:00
ghorsington 8dd29b764b Use new version handler for Il2CppInteropManager 2022-07-10 21:39:35 +03:00
ghorsington c3d76f987c Add extended Unity version resolver; reorganise projects
The new resolver resides in BepInEx.Unity.Core
The resolver is based on multiple heuristics and integrates all workarounds we currently use so this shouldn't be a breaking change
2022-07-10 21:39:35 +03:00
ghorsington 36737f100f Fix MonoAssemblyHelper not working on Unity 5 and older
In older Unity (ones that embed UnityPlayer into the EXE), __Internal will map to the EXE which causes wrong DllImport resolving. Instead, use Doorstop's env var to resolve correct functions
2022-07-10 17:11:55 +03:00
ghorsington 6288781708 Add Doorstop folders as solution items 2022-07-10 17:10:29 +03:00
ghorsington 018d7cff4c Bump Doorstop version 2022-07-10 17:10:15 +03:00
ghorsington e12a208a37 Bump CakeBuild version 2022-07-10 17:10:06 +03:00
ghorsington 3cdf747a63 Remove extra logging 2022-07-09 23:50:47 +03:00
ghorsington a2f7bc14dc UnityMono: Resolve assemblies into memory using mono API
This fixes several issues with loading assemblies. In turn, this commit also removes old Location/CodeBase fixes since now assemblies are resolved automatically correctly.

Additionally, integrate the mono loader into preloading which fixes assembly location resolving
2022-07-09 23:48:34 +03:00
ghorsington 1ab7b47c29 Refactor Unity -> UnityMono
Use runtime names for BepInEx modules instead of just the game engine
2022-07-09 21:47:38 +03:00
ghorsington 26d56976c4 Fix Wine check not working on UnityMono version
DynDll relies on PlatformHelper in net35 version which can cause early loading
2022-07-09 21:25:49 +03:00
ghorsington 3c9586342a Adjust hash info message 2022-07-09 20:58:02 +03:00
ghorsington c49e794e84 Use release .NET 6.0.6 builds 2022-07-09 20:56:47 +03:00
ghorsington f89c2220eb 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-07-09 20:04:41 +03:00
ghorsington 2eff34f317 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-07-09 11:05:02 +03:00
ghorsington aaa3ce48bf Add platform check for Wine, report Wine version 2022-07-09 11:05:02 +03:00
ghorsington c2f78c39d1 Bump Il2CppInterop 2022-07-09 11:05:02 +03:00
ghorsington 60c552bc53 Bump Il2CppInterop version 2022-07-09 11:05:02 +03:00
Kasuromi a294b3fede Pass in delegate instead of function pointer 2022-07-09 11:05:02 +03:00
Kasuromi 9976458578 Wrap detour on create 2022-07-09 11:05:02 +03:00
js6pak 67dcf39c15 Add the using back 2022-07-09 11:05:02 +03:00
Kasuromi 98c959b061 it was still needed 2022-07-09 11:05:02 +03:00
ghorsington e7ce34ca58 Update Doorstop 2022-07-09 11:05:02 +03:00
ghorsington a577085092 Update README 2022-07-09 11:05:02 +03:00
ghorsington e0e3b326f8 Update Il2CppInterop 2022-07-09 11:05:02 +03:00
js6pak e271c479f1 Allow changing preloader log name with an env variable 2022-07-09 11:05:02 +03:00
js6pak f503f5a03b Preloader fail fast 2022-07-09 11:05:02 +03:00
ghorsington 84ed4483b4 Fix BepInExLogger not logging exceptions 2022-07-09 11:05:02 +03:00
ghorsington 2f15bfb419 Update Cakebuild script 2022-07-09 11:05:02 +03:00
js6pak 0c21c9867c Add linux support 2022-07-09 11:05:02 +03:00
js6pak 02dc1c1591 Centralize the delegate workaround 2022-07-09 11:05:02 +03:00
js6pak 3da228e1f5 ConsoleOut workaround isn't needed anymore 2022-07-09 11:05:02 +03:00
ghorsington 1f60511d81 Use latest dotnet; fix *nix scripts 2022-07-09 11:05:02 +03:00
js6pak af5309f6fd Support macos 2022-07-09 11:05:02 +03:00
js6pak ff6220636d Improve ConsoleWindow exceptions 2022-07-09 11:05:02 +03:00
js6pak 84b0919d72 Fix console on wine 2022-07-09 11:05:02 +03:00
ghorsington 1039cf9c1f Use new Il2CppInterop detour provider, add Il2CppInterop.HarmonySupport 2022-07-09 11:05:02 +03:00
ghorsington f13ffd5c93 Update Il2CppInterop; use new runner API 2022-07-09 11:05:02 +03:00
ghorsington 46d7cc0087 Target latest Il2CppInterop code 2022-07-09 11:05:02 +03:00