Commit Graph
31 Commits
Author SHA1 Message Date
aldelaro5 544f909a80 Revert "Merge pull request #960 from aldelaro5/metaplugins" (#995)
This reverts commit 2a61b61497, reversing
changes made to 6b38cee127.
2024-09-24 20:25:56 +02:00
aldelaro5 24cf635e65 Ensure providers and plugins / patchers folders are created if they don't exist 2024-09-01 09:29:35 -04:00
aldelaro5 40643ffdef Offload the load context caching to bepinex 2024-08-29 21:12:07 -04:00
aldelaro5 d8dd404e52 Address code review 2024-08-23 15:40:22 -04:00
aldelaro5 4d47c3cd39 Address code review 2024-08-20 15:13:10 -04:00
aldelaro5 952c74f6fe Implement Patcher and plugin providers 2024-08-19 19:57:52 -04:00
ghorsington 828ef20996 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-08-14 17:19:08 +03:00
ghorsington 3fd5d68e3b ManualLogSource: Add string interpolation for Log* overloads; clean up logging 2021-12-21 19:40:15 +02:00
ghorsington 4bb48c502e Reformat project; apply code style 2021-12-21 18:55:05 +02:00
ghorsington 81141fcfc4 Add LogInterpolatedStringHandler overload for default logger 2021-12-21 18:49:07 +02:00
ghorsington 325e0df14b Use C# 10, reformat project 2021-12-21 16:09:39 +02:00
ghorsington b219c162de Use process name for preloader assembly dump path; fixes #303 2021-09-25 19:43:43 +03:00
Bepis 9cc0211a78 Revamp AssemblyPatcher and patcher plugins 2021-07-29 10:38:36 +10:00
js6pak 0461ab4f39 Make stacktraces Error instead of Debug 2021-07-27 16:33:31 +02:00
ghorsington c874d4f6b3 Apply style 2021-04-11 14:10:00 +03:00
ghorsington d3240c3361 Port important fixes from v5-lts
Only fixes are ported, no main feature changes
2021-04-11 13:25:14 +03:00
ghorsington ff4e1b7c7f Reformat code after last commits 2021-01-26 20:47:02 +02:00
Bepis 6acfa16d31 Use LoadFrom instead of LoadFile for AssemblyPatcher
CLR will ignore assemblies loaded via LoadFile because they are loaded in a different context to everything else
2021-01-25 02:35:50 +11:00
Bepis f60f6cbb62 Fix a significant amount of assembly resolution issues 2021-01-25 02:34:00 +11:00
ghorsington ecb61f60d8 Apply code style 2021-01-23 22:04:11 +02:00
ghorsington 88e3dfb7e7 Update some code to use C#9 features 2021-01-05 22:54:45 +02:00
Bepis 2f12c79e71 Log plurals
Rebase of 0f4ac05
2020-11-06 13:23:55 +11:00
Bepis 3c90a7fb92 Change patcher log message
Rebase of fd927ef
2020-11-06 13:17:39 +11:00
Bepis eda196fda8 Use TryParseAssemblyName wherever possible
Rebase of 911375a
2020-11-06 11:47:04 +11:00
Bepis 87efb1481c Use copy of patcher plugin list to allow for better loader support
Rebase of 897f37d
2020-11-06 11:37:42 +11:00
Bepis 328b4fff06 Fix missing docs in preloader
Rebase of 9ff80ca
2020-11-06 11:31:55 +11:00
Bepis a892373a38 Publicize AssemblyPatcher for better extendability
Rebase of 51f5ced
2020-11-06 11:10:53 +11:00
Bepis 990b85d060 Ignore case in TargetDLLs assembly names
Rebase of 474c2216a3
2020-11-05 17:20:31 +11:00
Bepis 185e89515c Actually use the patched entrypoint assembly instead of only pretending to 2020-05-04 01:34:46 +10:00
Bepis 9c8ad31af8 Implement prototype .NET loader 2020-04-27 23:44:50 +10:00
Bepis dc5d9f444f Initial framework split 2020-04-27 20:07:10 +10:00