My Mod Description
- Install all required development pre-requisites:
- Download and install Unity Mod Manager (UMM)
- Execute UMM, Select Pathfinder: WoTR, and Install
- Create the environment variable WrathInstallDir and point it to your Pathfinder: WoTR game home folder
- tip: search for "edit the system environment variables" on windows search bar45. Use "Install Release" or "Install Debug" to have the Mod installed directly to your Game Mods folder
NOTE Unity Mod Manager and this mod template make use of Harmony
- Open Pathfinder: WoTR game folder
- Rename Wrath.exe to Watch.exe.original
- Rename UnityPlayer.dll to UnityPlayer.dll.original
- Add below entries to Wath_Data\boot.config:
wait-for-managed-debugger=1 player-connection-debug=1
- Download and install 7zip
- Download Unity Editor 2019.4.0
- Open Downloads folder
- Right-click UnitySetup64-2019.4.0f1.exe, 7Zip -> Extract Here
- Navigate to Editor\Data\PlaybackEngines\windowsstandalonesupport\Variations\win64_development_mono
- Copy UnityPlayer.dll and WinPixEventRuntime.dll to clipboard
- Navigate to the Pathfinder: WoTR game folder
- Rename UnityPlayer.dll to UnityPlayer.dll.original
- Paste UnityPlayer.dll and WinPixEventRuntime.dll from clipboard
- You can now attach the Unity Debugger from Visual Studio 2019, Debug -> Attach Unity Debug