mai2/mu3/cm: Integrate UnityDoorstop with segatools #11

Merged
Dniel97 merged 6 commits from beerpsi/segatools:feat/unity-modding into develop 2024-04-15 19:30:29 +00:00
Contributor

UnityDoorstop is a tool to execute managed code (.NET DLLs) before Unity does, useful for modding frameworks such as BepInEx.

This PR integrates parts of its code into segatools, so loading BepInEx is as simple as adding 2 lines to segatools.ini:

[unity]
targetAssembly=BepInEx\core\BepInEx.Preloader.dll

This PR also factors out the Unity path redirection hooks to its own module.

[UnityDoorstop](https://github.com/NeighTools/UnityDoorstop) is a tool to execute managed code (.NET DLLs) before Unity does, useful for modding frameworks such as BepInEx. This PR integrates parts of its code into segatools, so loading BepInEx is as simple as adding 2 lines to `segatools.ini`: ```ini [unity] targetAssembly=BepInEx\core\BepInEx.Preloader.dll ``` This PR also factors out the Unity path redirection hooks to its own module.
beerpsi added 3 commits 2024-04-15 13:31:42 +00:00
beerpsi added 1 commit 2024-04-15 13:34:49 +00:00
Owner

Thanks for the PR!! Looks almost perfect! Can you add an option to enable/disable the unity hook? Might be useful down the line :)

Thanks for the PR!! Looks almost perfect! Can you add an option to enable/disable the unity hook? Might be useful down the line :)
beerpsi added 1 commit 2024-04-15 18:28:00 +00:00
beerpsi added 1 commit 2024-04-15 18:28:43 +00:00
Author
Contributor

Added the toggle unity.enable.

Added the toggle `unity.enable`.
Owner

Thanks for updating the PR, will be merged!

Thanks for updating the PR, will be merged!
Dniel97 merged commit 4041844ea9 into develop 2024-04-15 19:30:29 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Dniel97/segatools#11
No description provided.