This is the 15b version of StarDrive.exe decompiled from CIL and almost completely rewritten by BlackBox - Mars. The current release is BlackBox - Mars and upcoming version is BlackBox - Hyperion.
Notice: We have StarDrive developer's publicly and privately stated approval for modifying the game for educational purposes but this software is still under the steam license restrictions. Do not use this for immoral or personal financial gain, donation requests are ok but can not be demanded or required. Do not attempt to circumvent game DRM. Be reasonably respectful of the dev and the original software and steam.
Currently downloadable Releases contain Major and Patch versions. Major versions are big, 700-800MB installs. Patches are relatively small and are always cumulative, which means you only need to install the Major version (1.50) and latest patch (1.50-patch). Note that the game now has an auto update logic; You can install the Major Release and the game will prompt and install the latest patch for you. Hover over the prompt message to see change log.
Current Major Release Link (read the instructions!)
Go To Downloads (for reference)
The only mods which currently supports Blackbox are
Feel free to drop in for questions, bug reports, requests and what not.
What we achieved in Mars so far:
The future goals of BlackBox - Hyperion are:
Install Visual Studio 2019/2022 Community.
.NET desktop development
with .NET Framework 4.8 development tools
Desktop development with C++
with MSVC v143
Game development with C++
with Windows 10 SDK
Install SourceTree or some other GIT client.
Clone this repository to a local directory, for example: C:/Projects/BlackBox
Switch to mars-1.50
branch, which is our main branch for latest ongoing development.
Launch Visual Studio, any required DLL references should be in BlackBox/game
directory.
Launch a full build (Build -> Build Solution) in Release
configuration to produce the BlackBox StarDrive executable.
Install JetBrains ReSharper to enjoy enhanced refactoring capabilities.
Please NOTE: if the default Release and Debug configurations do not work for you then your setup is incorrect. Contact us in Discord #general-discussion.
BlackBox - Mars and later have greatly improved modding capabilities and features, contact us in Discord for more information on modding.
mars-1.50
.BlackBox provides a CLI for running certain utilities from Command Prompt. Many of these are developer oriented and not very useful for regular users.
C:\Projects\BlackBox\game>StarDrive.exe --help
13:50:43.698ms: Loaded App Settings
13:50:43.768ms:
======================================================
==== Mars : 1.50.15000 develop-latest ====
==== UTC: 12/13/2021 13:50:43 ====
======================================================
13:50:43.769ms: StarDrive BlackBox Command Line Interface (CLI)
13:50:43.769ms: --help Shows this help message
13:50:43.769ms: --mod="<mod>" Load the game with the specified <mod>, eg: --mod="Combined Arms"
13:50:43.769ms: --export-textures Exports all texture files as PNG and DDS to game/ExportedTextures
13:50:43.769ms: --export-meshes=obj Exports all mesh files and textures, options: fbx obj fbx+obj
13:50:43.769ms: --generate-hulls Generates new .hull files from old XML hulls
13:50:43.769ms: --generate-ships Generates new ship .design files from old XML ships
13:50:43.769ms: --fix-roles Fixes Role and Category for all .design ships
13:50:43.769ms: --run-localizer=[0-2] Run localization tool to merge missing translations and generate id-s
13:50:43.769ms: 0: disabled 1: generate with YAML NameIds 2: generate with C# NameIds
13:50:43.769ms: --resource-debug Debug logs all resource loading, mainly for Mods to ensure their assets are loaded
13:50:43.769ms: --asset-debug Debug logs all asset load events, useful for analyzing the order of assets being loaded
13:50:43.769ms: --console Enable the Debug Console which mirrors blackbox.log
13:50:43.769ms: --continue After running CLI tasks, continue to game as normal
13:50:43.769ms: The game exited normally.
13:50:43.769ms: RunCleanupAndExit(0)
To convert all legacy XNB textures, you can run --export-textures
C:\Projects\BlackBox\game>StarDrive.exe --export-textures