Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 2fdce48

Browse files
committed
3.0 - move hookgen process into preloader patcher
1 parent 5e1cc65 commit 2fdce48

26 files changed

+2191
-235
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
11
# BepInEx-Partiality-Wrapper
22

3-
[![Version](https://img.shields.io/badge/BepInEx-5.0-green.svg)](https://github.com/BepInEx/BepInEx)
3+
[![Version](https://img.shields.io/badge/BepInEx-5.X-green.svg)](https://github.com/BepInEx/BepInEx)
44
[![Version](https://img.shields.io/badge/Partiality-0.3.1-green.svg)](https://github.com/PartialityModding/Partiality)
55

6-
A <b>BepInEx-Partiality Mod Wrapper</b> for Unity Games. This allows Partiality mods to run in BepInEx.
7-
8-
This version is essentially Partiality packaged <b>as</b> a BepInEx mod. It serves as a dummy reference to Partliality.dll for Partiality Mods, but otherwise behaves as a BepInEx mod.
6+
The **BepInEx-Partiality-Wrapper** allows Partiality mods to run in BepInEx (5.X).
97

108
## Install
119

12-
Installation instructions and the download link can be found here:
10+
Installation is pretty straight-forward:
1311

14-
<b>[Download Here](https://github.com/sinaioutlander/BepInEx-Partiality-Wrapper/releases)</b>
12+
* Install [BepInEx 5.X](https://github.com/BepInEx/BepInEx/releases)
13+
* [Download the latest PartialityWrapper release](https://github.com/sinai-dev/BepInEx-Partiality-Wrapper/releases/latest)
14+
* Extract the zip file and put the contents into your Game folder, making sure you merge with the existing BepInEx folder.
15+
* It should look like `[game]\BepInEx\patchers\PartialityWrapper\...` and `[game]\BepInEx\plugins\PartialityWrapper\...`.
16+
* **Run the game once** to generate the `HOOKS` file and the `BepInEx\plugins\partiality-mods\` folder.
17+
* If you see the file `BepInEx\plugins\PartialityWrapper\HOOKS-Assembly-CSharp.dll` then you did it correctly.
1518

1619
## Adding Partiality Mods
1720

18-
Partiality Mod DLL files can be placed in the `BepInEx\plugins\` folder, or the `Mods\` folder.
21+
PartialityWrapper supports two folders where you can place your Partiality mods:
22+
23+
* `[game]\BepInEx\plugins\partiality-mods\` - generated after first launch, the recommended folder to use.
24+
* `[game]\Mods\` - the legacy Partiality folder for mods, in case the mod **requires** this structure.
1925

20-
Other non-DLL files from the mod (if any) should be placed where the author instructs you to.
26+
Both folders allow you to place the mods inside a sub-folder.
2127

2228
## Credits
29+
Written by Sinai, with help from:
30+
2331
* <b>Laymain</b>, for help with this rewrite.
32+
* <b>notfood</b> for the BepInEx 5.0 rewrite
2433
* <b>Ashnal</b> for the original PartialityWrapper
25-
* <b>notfood</b> for the Bep 5.0 rewrite
26-
* <b>bbepis</b> for BepInEx
27-
* <b>Zandra</b> for Partiality
28-
* <b>0x0ade</b> for MonoMod
2934

3035
## License
3136
[MIT](https://choosealicense.com/licenses/mit/)

lib/BepInEx.dll

17 KB
Binary file not shown.

lib/Mono.Cecil.Mdb.dll

42 KB
Binary file not shown.

lib/Mono.Cecil.Pdb.dll

84.5 KB
Binary file not shown.

lib/Mono.Cecil.Rocks.dll

27 KB
Binary file not shown.

lib/Mono.Cecil.dll

332 KB
Binary file not shown.
21 KB
Binary file not shown.

lib/MonoMod.RuntimeDetour.HookGen.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/MonoMod.RuntimeDetour.dll

82 KB
Binary file not shown.

lib/MonoMod.RuntimeDetour.xml

Lines changed: 165 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)