Bjornabe.Vrb.Core 1.4.3.24759379

dotnet add package Bjornabe.Vrb.Core --version 1.4.3.24759379
                    
NuGet\Install-Package Bjornabe.Vrb.Core -Version 1.4.3.24759379
                    
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="Bjornabe.Vrb.Core" Version="1.4.3.24759379" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bjornabe.Vrb.Core" Version="1.4.3.24759379" />
                    
Directory.Packages.props
<PackageReference Include="Bjornabe.Vrb.Core" />
                    
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 Bjornabe.Vrb.Core --version 1.4.3.24759379
                    
#r "nuget: Bjornabe.Vrb.Core, 1.4.3.24759379"
                    
#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 Bjornabe.Vrb.Core@1.4.3.24759379
                    
#: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=Bjornabe.Vrb.Core&version=1.4.3.24759379
                    
Install as a Cake Addin
#tool nuget:?package=Bjornabe.Vrb.Core&version=1.4.3.24759379
                    
Install as a Cake Tool

Bjornabe.Vrb.Core

A .NET library for serializing and deserializing Space Engineers 2 binary save files (.vrb) to and from JSON.

This library enables modders and tool developers to programmatically read, modify, and write SE2 save data with full compatibility with the game's binary format.

Prerequisites

  • OS: Windows 10/11 (64-bit)
  • Runtime: .NET 9.0
  • Game: Space Engineers 2 installed via Steam (assemblies are loaded at runtime)

Game Version Compatibility

1.4.3.24759379 targets VS2.4 (assembly version 2.4.0.77, Steam build 24759379). The previous release, 1.4.2.24225481, targets VS2.3 – Drive, Automate & Detonate (2.3.0.2798, Steam build 24225481).

The fourth component of the package version is the Steam build id of the game the release was built and tested against. Because the library binds to the game's own assemblies at runtime, a Space Engineers 2 update can break conversion until a matching release ships.

VS2.4 required no code changes: every type and member the library reflects on still resolves unchanged, so 1.4.3 differs from 1.4.2 only in being re-tested against the newer build.

Installation

dotnet add package Bjornabe.Vrb.Core

Usage

using Vrb.Core;

// 1. Initialize (once at startup)
// Optionally pass a custom game path; otherwise it auto-discovers SE2 via Steam
Vrb.Initialize();

// 2. Convert VRB to JSON
var json = Vrb.Service!.DeserializeVrb("savegame.vrb", TargetType.SaveGame);

// 3. Convert JSON to VRB
Vrb.Service.SerializeJsonToVrb(json, "savegame_modified.vrb", TargetType.SaveGame);

Supported File Types

TargetType File Description
SaveGame savegame.vrb Entity bundle containing all entities in a save
SessionComponents sessioncomponents.vrb Session component state snapshot
AssetJournal assetjournal.vrb Asset journal data
DefinitionSets definitionsets.vrb Game definition set collection
ContentCache contentcache.vrb Content blob data (cached asset metadata)

Custom Game Path

If the game is not installed via Steam or you need to specify a custom path:

Vrb.Initialize(@"C:\Games\SpaceEngineers2\Game2");

Compression Options

When writing VRB files, you can specify the compression method:

Vrb.Service.SerializeJsonToVrb(json, "output.vrb", TargetType.SaveGame, CompressionMethod.Brotli);

Available compression methods: None, ZLib, Brotli (default matches game behavior).

How It Works

The library uses Space Engineers 2's own serialization assemblies loaded at runtime, ensuring perfect compatibility with the game's binary format. This means:

  • No reverse-engineered formats that could break with game updates
  • Full support for all data types the game uses
  • Lossless round-trip conversion (VRB → JSON → VRB)

JSON Output Format

The JSON output includes engine-compatible metadata:

{
  "$Bundles": {
    "Game2": "2.4.0.77",
    "VRage": "2.4.0.77"
  },
  "$Type": "VRage:Keen.VRage.Core.Game.Systems.EntityBundle",
  "$Value": {
    "Roots": 210,
    "Entities": [0, 1, 2],
    "Builders": [...]
  }
}

Additional Resources

Disclaimer

This is an unofficial community tool, not affiliated with or endorsed by Keen Software House. Always backup your save files before editing. Use at your own risk.

Product Compatible and additional computed target framework versions.
.NET net9.0-windows7.0 is compatible.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Bjornabe.Vrb.Core:

Package Downloads
Bjornabe.Vrbe.Core

Space Engineers 2 Save Editor Library - Inspect, query, and modify save file data programmatically.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.3.24759379 132 8/24/2026
1.4.2.24225481 124 8/10/2026
1.4.1.24225481 122 8/9/2026 1.4.1.24225481 is deprecated because it has critical bugs.
1.4.0.24225481 119 8/9/2026 1.4.0.24225481 is deprecated because it has critical bugs.
1.3.0.21258338 167 1/7/2026
1.2.0.21190635 228 12/22/2025
1.1.0.21190635 194 12/21/2025
1.0.0.21190635 193 12/21/2025