Skip to content

Build Guide

Bloody edited this page Apr 28, 2026 · 1 revision

Build Guide

🇩🇪 Deutsch

Diese Seite erklärt, wie der Unity Explorer - Data Center Fork aus dem Source Code gebaut werden kann.

Der Build Guide ist hauptsächlich für Entwickler, Modder und Tester gedacht, die den Source Code selbst kompilieren oder anpassen möchten.


Voraussetzungen

Du brauchst:

  • Windows
  • Git
  • PowerShell
  • .NET SDK
  • eine installierte Version von Data Center
  • MelonLoader / benötigte Referenzen
  • dieses Repository lokal auf deinem PC

Empfohlen:

  • Windows 10 oder Windows 11
  • aktuelles .NET SDK
  • Visual Studio Code oder Visual Studio
  • PowerShell mit erlaubter Script-Ausführung

Repository klonen

Öffne PowerShell und gehe in einen Arbeitsordner, zum Beispiel:

C:\Users\DeinName\Desktop

Dann das Repository klonen:

git clone https://github.com/BloddyMichi/Unity-Explorer-.git

Danach in den Ordner wechseln:

cd Unity-Explorer-

Repository aktualisieren

Falls du das Repository bereits lokal hast:

git pull

Damit holst du die neuesten Änderungen.


Build-Script ausführen

Im Repository befindet sich ein Build-Script.

Starte den Build mit:

powershell -ExecutionPolicy Bypass -File .\build.ps1

Falls ein spezieller Data-Center-Build vorhanden ist, kann auch dieses Script genutzt werden:

powershell -ExecutionPolicy Bypass -File .\build-datacenter.ps1

Mögliche PowerShell-Fehlermeldung

Falls PowerShell das Script blockiert, nutze:

powershell -ExecutionPolicy Bypass -File .\build.ps1

Oder öffne PowerShell als Administrator und setze temporär:

Set-ExecutionPolicy -Scope Process Bypass

Danach das Build-Script erneut starten.


Erwartetes Ergebnis

Wenn der Build erfolgreich ist, sollten Dateien im Release- oder Output-Ordner erstellt werden.

Typische Ausgaben können sein:

  • UnityExplorer DLL
  • UniverseLib DLLs
  • MelonLoader-kompatible Builds
  • vorbereitete Release-Dateien

Der genaue Zielordner kann je nach Script und Build-Konfiguration variieren.


Build-Ausgabe prüfen

Nach dem Build solltest du prüfen:

  • Wurde der Build ohne Fehler beendet?
  • Gibt es neue Dateien im Release-Ordner?
  • Wurden DLL-Dateien erzeugt?
  • Gibt es Warnungen oder Fehler in der PowerShell-Ausgabe?

Warnungen sind nicht immer kritisch. Fehler müssen geprüft werden.


Installation nach dem Build

Kopiere die erzeugten Unity-Explorer-Dateien in den Mods-Ordner von Data Center:

Data Center\Mods

Beispiel:

C:\Program Files (x86)\Steam\steamapps\common\Data Center\Mods

Alte Unity-Explorer-Versionen sollten vorher entfernt werden.


Spiel testen

Starte danach Data Center über Steam.

Prüfe:

  • startet MelonLoader?
  • wird Unity Explorer geladen?
  • gibt es Fehler in der Konsole?
  • öffnet sich Unity Explorer im Spiel?
  • funktioniert Maus / Input?

Die wichtigste Log-Datei ist:

Data Center\MelonLoader\Latest.log

Häufige Build-Probleme

.NET SDK fehlt

Wenn dotnet nicht gefunden wird, ist das .NET SDK nicht korrekt installiert oder nicht im PATH.

Prüfen mit:

dotnet --info

PowerShell blockiert das Script

Lösung:

Set-ExecutionPolicy -Scope Process Bypass

Danach erneut bauen.


Fehlende Referenzen

Falls DLL-Referenzen fehlen, prüfe:

  • ob Data Center installiert ist
  • ob der Pfad zum Spiel korrekt ist
  • ob MelonLoader installiert ist
  • ob benötigte Abhängigkeiten vorhanden sind

Build bricht mit Compiler-Fehlern ab

Dann bitte prüfen:

  • komplette Fehlermeldung lesen
  • betroffene Datei ansehen
  • aktuelle Version aus GitHub ziehen
  • alte Build-Ordner löschen
  • erneut bauen

Bug oder Build-Problem melden

Wenn der Build nicht funktioniert, erstelle bitte ein Issue:

https://github.com/BloddyMichi/Unity-Explorer-/issues

Bitte füge hinzu:

  • komplette Fehlermeldung
  • Screenshot der PowerShell-Ausgabe
  • dotnet --info
  • Windows-Version
  • Data-Center-Version
  • MelonLoader-Version
  • welche Build-Datei genutzt wurde

Build Guide

🇬🇧 English

This page explains how to build the Unity Explorer - Data Center Fork from source.

This build guide is mainly intended for developers, modders, and testers who want to compile or modify the source code themselves.


Requirements

You need:

  • Windows
  • Git
  • PowerShell
  • .NET SDK
  • an installed copy of Data Center
  • MelonLoader / required references
  • this repository cloned locally on your PC

Recommended:

  • Windows 10 or Windows 11
  • current .NET SDK
  • Visual Studio Code or Visual Studio
  • PowerShell with script execution allowed

Clone the repository

Open PowerShell and go to a work folder, for example:

C:\Users\YourName\Desktop

Clone the repository:

git clone https://github.com/BloddyMichi/Unity-Explorer-.git

Then enter the folder:

cd Unity-Explorer-

Update the repository

If you already have the repository locally:

git pull

This downloads the latest changes.


Run the build script

The repository contains a build script.

Start the build with:

powershell -ExecutionPolicy Bypass -File .\build.ps1

If a specific Data Center build script is available, you can also use:

powershell -ExecutionPolicy Bypass -File .\build-datacenter.ps1

Possible PowerShell error

If PowerShell blocks the script, use:

powershell -ExecutionPolicy Bypass -File .\build.ps1

Or open PowerShell as administrator and temporarily set:

Set-ExecutionPolicy -Scope Process Bypass

Then run the build script again.


Expected result

If the build is successful, files should be created in the release or output folder.

Typical outputs may include:

  • UnityExplorer DLL
  • UniverseLib DLLs
  • MelonLoader-compatible builds
  • prepared release files

The exact output folder can vary depending on the script and build configuration.


Check the build output

After building, check:

  • Did the build finish without errors?
  • Are there new files in the release folder?
  • Were DLL files generated?
  • Are there warnings or errors in the PowerShell output?

Warnings are not always critical. Errors should be checked.


Install after building

Copy the generated Unity Explorer files into the Data Center Mods folder:

Data Center\Mods

Example:

C:\Program Files (x86)\Steam\steamapps\common\Data Center\Mods

Old Unity Explorer versions should be removed first.


Test the game

Start Data Center through Steam.

Check:

  • does MelonLoader start?
  • is Unity Explorer loaded?
  • are there errors in the console?
  • does Unity Explorer open in game?
  • does mouse / input work?

The most important log file is:

Data Center\MelonLoader\Latest.log

Common build problems

.NET SDK missing

If dotnet is not found, the .NET SDK is not installed correctly or not available in PATH.

Check with:

dotnet --info

PowerShell blocks the script

Solution:

Set-ExecutionPolicy -Scope Process Bypass

Then build again.


Missing references

If DLL references are missing, check:

  • whether Data Center is installed
  • whether the game path is correct
  • whether MelonLoader is installed
  • whether required dependencies are available

Build fails with compiler errors

Check:

  • read the full error message
  • check the affected file
  • pull the latest version from GitHub
  • delete old build folders
  • build again

Report a bug or build problem

If the build does not work, please create an issue:

https://github.com/BloddyMichi/Unity-Explorer-/issues

Please include:

  • full error message
  • screenshot of the PowerShell output
  • dotnet --info
  • Windows version
  • Data Center version
  • MelonLoader version
  • which build file was used