StellarWorks 1.0.0

dotnet add package StellarWorks --version 1.0.0
                    
NuGet\Install-Package StellarWorks -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="StellarWorks" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StellarWorks" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="StellarWorks" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add StellarWorks --version 1.0.0
                    
#r "nuget: StellarWorks, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package StellarWorks@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=StellarWorks&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=StellarWorks&version=1.0.0
                    
Install as a Cake Tool

StellarWorks

StellarWorks is a modding framework for StellarDrive. Register GLB parts, native items and fluids, research technologies and build categories in C#. Add components that use native resource networks. Use gameplay events, SQLite storage, typed settings and custom keybindings.

Install

With MelonLoader installed, copy StellarWorks.dll from the 1.0.0 release into the game's Mods folder. Install the mods you want separately. All compatible mods use that one copy.

The supported game target is Windows x64 StellarDrive Demo 0.8.3 with Unity 6000.3.24f1, Mono and MelonLoader 0.7.3. Install matching versions of StellarWorks and shared content on the host and each client.

StellarWorks bundles SQLite 3.53.4 for Windows x64.

Press backtick to open or close the StellarWorks console in the title screen or during gameplay. Enter help to list commands, press Tab to complete a command, or use Up and Down to recall earlier entries. Scroll the output with the mouse wheel or the scrollbar.

StellarWorks 0.11 introduced authority-side resource steps for coupled transfers and same-step power allocation, native socket relays and chest storage, and Unity model access for visual components.

StellarWorks 0.12 added a shared catalog of eight gases, including Helium.

Upgrade to 1.0.0

Install 1.0.0 and matching shared mods on every peer. If upgrading from 0.9.0 or earlier, rebuild mods that used the retired UI, industrial processing, inventory transfer, gameplay modifier or public networking APIs. Worlds with removed parts or saved processor and managed inventory components require their 0.9.0 installation. Keep the native save and its SQLite database together.

For 0.8.0 and earlier, the installation also needs the following cleanup.

Close the game and move Mods/StellarWorks.Game.dll and UserLibs/StellarWorks.dll out of the loader directories. Copy the current StellarWorks.dll into Mods. Keep save files, configuration and Mods/StellarWorks/<mod-id>/ assets in their existing locations.

Existing StellarStriderLib worlds require the original framework. StellarWorks detects its legacy sidecars and leaves those files intact.

Worlds containing parts from the former Workshop example still require that add-on.

Save recovery

The host stores each world's mod data in StellarWorks/world.db beside its native saves. Verified copies of the native JSON and database are stored together under StellarWorks/Backups/Pairs/<generation>/. StellarWorks keeps the current and previous pairs and any pair still referenced by a native save in the world directory.

If the database or its matching generation is missing, StellarWorks can recover it from a backup when loading the native save. If either file is damaged, close the game, preserve both files, and restore native.json and world.db from the same backup folder. Use the original native save filename and restore the database to StellarWorks/world.db.

Mod development

Reference the stellarworks NuGet package alongside MelonLoader. Register your namespace and content in C# during OnInitializeMelon. Embed assets in your mod DLL for DLL-only distribution.

<PackageReference Include="stellarworks" Version="1.0.0" ExcludeAssets="runtime" />
using System.Numerics;
using StellarWorks.API;
using StellarWorks.Parts;

var mod = StellarWorksApi.RegisterMod("examplemod");

mod.Parts.Create("structural_block")
    .WithName("Structural Block")
    .WithModel("models/structural.glb")
    .WithSize(new Vector3(.8f, .8f, .8f))
    .WithMass(100f)
    .WithPlacement(PlacementSurface.Floor, "bottom")
    .WithCollider(new BoxColliderDefinition(new Vector3(.8f), Vector3.Zero, "Collider_Main"))
    .WithSocket(new SocketDefinition("bottom", SocketKind.Structural, new Vector3(0, -.4f, 0)))
    .WithCost(Item.Native.Iron, 1)
    .Register();

Build and export

Build with .NET SDK 10 and a local StellarDrive installation with MelonLoader. Successful Debug and Release builds in Rider or with dotnet build StellarWorks.slnx copy the bundled StellarWorks.dll to the game's Mods folder. For paths outside the default macOS Steam installation, set GamePath in Local.props or pass -p:GamePath="/path/to/game" to dotnet build. Use -p:DeployToGameMods=false to skip deployment for one build, or set DeployToGameMods to false in Local.props to disable it locally. In Rider, use Rebuild to redeploy if an incremental build skips the project.

python3 Tools/export_mod.py --build
dotnet pack StellarWorks/StellarWorks.csproj -c Release --output Releases -p:DeployToGameMods=false

The export writes Releases/StellarWorks.dll with its dependencies bundled.

Run the save recovery tests with dotnet run --project Tests/StellarWorks.SaveTests -p:DeployToGameMods=false.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 12/5/2026