Commit Graph
32 Commits
Author SHA1 Message Date
HetCreep a1afbfb169 Skip missing search directories to fix preloader DirectoryNotFoundException (#1331) 2026-06-11 11:46:18 +02:00
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 be1beb5e13 Address code review round 5 2024-09-03 20:34:17 -04:00
aldelaro5 1f182c7770 Correct the symbols resolution and rename the method 2024-08-29 21:11:36 -04:00
aldelaro5 ee5918bd76 Address minor code review 2024-08-29 14:44:30 -04:00
aldelaro5 e2396d202b address code review round 3 2024-08-29 12:50:46 -04:00
ghorsington b9fe507672 Use Assembly.LoadFrom for loading assemblies
Assembly.LoadFile is meant for a special case that is not relevant to BepInEx
2022-09-11 18:41:22 +03: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 b80f29784c BepInEx.IL2CPP: Fix mutex checks 2022-08-14 17:18:58 +03:00
ghorsington 4f2226f1db Add UnhollowedAssembliesPath config option and similar --unhollowed-path CLI arg 2022-06-05 17:16:18 +03:00
ghorsington 4bb48c502e Reformat project; apply code style 2021-12-21 18:55:05 +02:00
ghorsington 325e0df14b Use C# 10, reformat project 2021-12-21 16:09:39 +02:00
ghorsington f9a55e5b3d Fix #238: Don't add nonexistent folders to cecil platform assemblies 2021-04-25 20:19:07 +03:00
ghorsington 94d2845501 Document new utility methods 2021-04-11 15:21:12 +03:00
ghorsington 1816981b72 Cache hashes of plugins instead of edit dates
This should solve issues for platforms where no precise edit date is saved. MD5 is quick enough for most modern PC setups.
2021-04-11 15:19:27 +03: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
Ash 9d59aaae79 Remove BOM from log and config files 2021-04-07 17:15:33 -05:00
ghorsington 09ac1867ac Move cecil platforma assembly setter to Utilities 2021-02-03 20:27:58 +02:00
ghorsington ff4e1b7c7f Reformat code after last commits 2021-01-26 20:47:02 +02: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 c2ecb50a22 Add uname libc call on Unix systems as platform check
Rebase of 7647862
2020-11-09 00:55:16 +11:00
Bepis eda196fda8 Use TryParseAssemblyName wherever possible
Rebase of 911375a
2020-11-06 11:47:04 +11:00
Bepis a3e7b0edf6 Make assembly resolution fully safe
Rebase of 68378b3
2020-11-06 11:44:06 +11:00
Bepis 798d008f1d Document all undocumented code
Rebase of 78484b7
2020-11-06 11:27:39 +11:00
Bepis 78a9cf420b Resolve SRE support lazily instead of in cctor
Rebase of acd0eb2
2020-11-06 00:13:30 +11:00
Bepis 0b7db81420 Set GameRootPath to outside the game.app folder on OSX
Rebase of f963d6c
2020-11-05 23:23:35 +11:00
Bepis 1c32115fa2 Implement cross-platform improvements from master
Contains fixes rebased from d2afe06 ... 9f4dcb6
2020-11-05 23:18:52 +11:00
Bepis 065f2ea961 Implement automatic assembly unhollower 2020-09-18 21:53:39 +10:00
Bepis dc5d9f444f Initial framework split 2020-04-27 20:07:10 +10:00