Add practical macOS launcher support#2782
Draft
vvitovec wants to merge 7 commits into
Draft
Conversation
751da59 to
9bc0c96
Compare
Measurity
requested changes
Jun 8, 2026
Collaborator
There was a problem hiding this comment.
Thanks for the PR.
We're trying to have native macOS support without the need for Wine because Subnautica is natively supported on macOS. Would you mind explaining why Wine support should be added?
This PR contains many unrelated code changes to core systems that would have been nice as a separate PR. Otherwise we might forget to test something or merge code that introduce unexpected behavior changes.
Especially so because it looks like you used AI which is known to hallucinate unnecessary code changes.
Can you split your work up into bespoke chunks, please? Thanks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Subnautica.app,Contents, and Windows/Wine install layoutsResources/DataVerification
dotnet restore Nitrox.Launcher/Nitrox.Launcher.csproj -r osx-arm64SUBNAUTICA_INSTALLATION_PATH=~/Games/NitroxWine/drive_c/Program Files (x86)/Steam/steamapps/common/Subnautica dotnet build Nitrox.Launcher/Nitrox.Launcher.csproj -c DebugSUBNAUTICA_INSTALLATION_PATH=~/Games/NitroxWine/drive_c/Program Files (x86)/Steam/steamapps/common/Subnautica dotnet build Nitrox.Launcher/Nitrox.Launcher.csproj -c Release -r osx-arm64 -p:CreateAppBundle=true --no-restoreSUBNAUTICA_INSTALLATION_PATH=~/Games/NitroxWine/drive_c/Program Files (x86)/Steam/steamapps/common/Subnautica dotnet test Nitrox.Test/Nitrox.Test.csproj --filter "GameInstallationHelperTest|WineTest"git diff --checkbash -n scripts/macos-launcher.shLocal macOS/Wine result
~/Library/Application Support/Steam/steamapps/common/Subnautica/Subnautica.app/Contents.~/Games/NitroxWine/drive_c/Program Files (x86)/Steam/steamapps/common/Subnautica.NitroxPatcher.dll, patchedAssembly-CSharp.dll, detected the existing patch on a second run, and started the embedded Nitrox server with the Wine game path.geometryShaderwere unavailable. No full Wine-launched multiplayer claim is made.Still unsupported