This repository has been archived by the owner on Aug 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Martin Gill edited this page Nov 3, 2017
·
1 revision
- Clone the repository
- Open solution in Visual Studio 2017
- Edit the project settings to put the output location to your subnautica directory
- Compile the project/solution.
- Download dnSpy, unzip it somewhere and start it.
- Browse to "Managed" folder in Subnautica (
Steam\steamapps\common\Subnautica\Subnautica_Data\Managed
) - Make a backup copy of Assembly-CSharp.dll
- Verify that the
SubnauticaWatcherMod.dll
is in that folder. (If not, go back to step 2.) - Open
Assembly-CSharp.dll
from (Steam\steamapps\common\Subnautica\Subnautica_Data\Managed
) - Expand the assembly structure.
- Find GameInput class
- Find Awake() method
- Right-Click and select
Edit Method...
- At the bottom left of the new window click on "Add Assembly" icon.
- Select the
SubnauticaWatcherMod.dll
and click "Open". - In the last line of the method (after the "for" loop) add:
SubnauticaWatcherMod.Patching.Patcher.Patch();
- Click "Compile"
- Select menu "File" -> "Save All", then click ok.
- Close dnSpy
- Run Subnautica, start/load a game
- Start a browser (I've only tested with Chrome) and go to http\:localhost:63030
- The data comes from the Wiki and is not entirely accurate.
- If you want to just see the plain map, or different maps, use the "layers" menu at the top right.
- Bottom Left ("P") is the player position
- Bottom Right ("M") is the cursor position