Skip to content

Commit 164348e

Browse files
authored
Merge pull request #232 from Asherslab/master
Update MacOSX Build Readme for Subnautica
2 parents f75fc6f + 3e3e24f commit 164348e

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

MacOSX/README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Building on OSX
22

3+
# Below Zero Building
4+
35
## Preparation
46

57
### Prepare Solution
@@ -15,8 +17,35 @@
1517
* Copy the dlls from `publicized_assemblies/` to `Dependencies/BZ.STABLE/`
1618

1719
## Build
18-
* Create distribution package by running `MacOSX/build.sh`
20+
* Create distribution package by running `MacOSX/build.sh` from the top level of the repository.
1921

2022
## Installation
2123
* Copy distribution package contents to `~/Library/Application Support/Steam/steamapps/common/SubnauticaZero`
2224
* Update Steam Launch options to `"/Users/username/Library/Application Support/Steam/steamapps/common/SubnauticaZero/QModManager.sh" %command%`
25+
26+
# Subnautica Building
27+
28+
## Preparation
29+
30+
### Prepare Solution
31+
* Open `QModManager.sln` with Visual Code to initialize packages
32+
33+
### Create Publicized Assemblies
34+
* Follow instructions at the [SMLHelper GitHub page](https://github.com/SubnauticaModding/SMLHelper)
35+
* Download [AssemblyPublicizer.zip](https://github.com/CabbageCrow/AssemblyPublicizer/releases/download/v1.1.0/AssemblyPublicizer.zip) and extract to `~/AssemblyPublicizer.exe`
36+
* Create publizised assemblies:
37+
* `cd "~/Library/Application Support/Steam/steamapps/common/Subnautica/Subnautica.app/Contents/Resources/Data/Managed"`
38+
* `mono ~/AssemblyPublicizer.exe -i Assembly-CSharp.dll`
39+
* `mono ~/AssemblyPublicizer.exe -i Assembly-CSharp-firstpass.dll`
40+
* Copy the dlls from `publicized_assemblies/` to `Dependencies/SN.STABLE/`
41+
42+
## Modify scripts for SN.STABLE
43+
* In MacOSX/dist/QModManager.sh modify the line `EXECUTABLE_NAME="SubnauticaZero.app"` to `EXECUTABLE_NAME="Subnautica.app"`
44+
* In MacOSX/build.sh modify the line `CONFIGURATION="BZ.STABLE"` to `CONFIGURATION="SN.STABLE"`
45+
46+
## Build
47+
* Create distribution package by running `MacOSX/build.sh` from the top level of the repository.
48+
49+
## Installation
50+
* Copy distribution package contents to `~/Library/Application Support/Steam/steamapps/common/Subnautica`
51+
* Update Steam Launch options to `"/Users/username/Library/Application Support/Steam/steamapps/common/Subnautica/QModManager.sh" %command%`

0 commit comments

Comments
 (0)