Commit 5735a04
authored
Cleaned up build scripts and used AssemblyResolve event instead of copying all dlls (SubnauticaNitrox#1098)
* Cleaned up NitroxModel and NitroxServer to use as little of UnityEngine as possible for now
* Used Nitrox.Bootstrapper to launch Nitrox at runtime through reflection
* Fixed the surrogates again after moving them to NitroxModel-Subnautica
Added shared project for copying the resources to the launcher output
* Allowed game to start when server is running (again) by loading assemblies as byte arrays
* Fixed wrong output copy for launcher
* Small cleanup of server related code
* Fixed assembly load from bytes loading the same dll multiple times
* Fixed log format exception
* Reverted LiteNetLib to upstream 0.8
* Removed .csproj framework version property from Nitrox.Bootloader because it's in Directory.Build.props
* Removed unused imports in NitroxPatcher.Main
* Fixed build for test project by copying all references over from game on build
* Removed all UnityEngine references from NitroxModel
* Removed all references to UnityEngine from NitroxServer
* Removed default value for prop in NitroxModel.csproj
* Reverted changes to NitroxModel namespaces because it's now UnityEngine reference free
* Reverted namespace usages in NitroxServer since it's now UnityEngine type free
* Added protomember attributes to NitroxColor members
* Small unrelated performance fix in BaseDebugger
* Used an environment variable to set the Nitrox launcher path instead of relying on appdata file
* Disabled loading of Nitrox if QModManager's assembly is loaded too
* Forgot the use the variable after refactor to Bootloader.Main
* Added AliveOrNull before Vehicles.GetColors calls
* Removed dead code
* Removed blank line in TextureScaler.cs
* Added seamoth colors for VehicleHelper
* Removed newline in RandomColorGenerator
* Reverted autoformat change in SubnauticaAutoFacRegistrar
* Removed template comment in Nitrox.Bootloader.csproj
* Removed whitespace
* Removed x86 build support
* Changed Nitrox.Bootloader error check to method and fixed return type
* Cleaned up RetryWait code
* Added error log to exception for launcherpath.txt delete call
* Removed newline in BatchEntitySpawner
* Fixed RetryWait
* Formatted QuaternionSurrogate
* Removed using rename for TechType in PDAStateData
* Renamed NitroxModel's TechType to NitroxTechType1 parent 92c53a3 commit 5735a04
183 files changed
Lines changed: 1266 additions & 2173 deletions
File tree
- Nitrox.Bootloader
- Nitrox.Subnautica.Assets
- AssetBundles
- NitroxClient
- Communication/Packets/Processors
- Debuggers
- GameLogic
- ChatUI
- InitialSync
- PlayerModel
- ColorSwap
- PlayerPreferences
- Spawning
- MonoBehaviours
- DiscordRP
- Gui/MainMenu
- Unity/Helper
- NitroxLauncher
- Patching
- NitroxModel-Subnautica
- DataStructures
- GameLogic
- Entities
- Surrogates
- Helper
- NitroxModel
- DataStructures
- GameLogic
- Entities
- Surrogates
- Discovery
- Helper
- Logger
- MultiplayerSession
- Packets
- Exceptions
- NitroxPatcher
- Patches/Dynamic
- NitroxServer-Subnautica
- GameLogic/Entities
- Spawning
- Serialization
- NitroxServer
- Communication/Packets/Processors
- ConsoleCommands
- GameLogic
- Entities
- Spawning
- Players
- Unlockables
- Vehicles
- Serialization
- World
- NitroxTest
- Client
- Communication
- PlayerPreferences
- Model/Packets
- Serialization
- tasks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
File renamed without changes.
0 commit comments