-
Notifications
You must be signed in to change notification settings - Fork 0
Build Guide
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.
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
Ö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-
Falls du das Repository bereits lokal hast:
git pull
Damit holst du die neuesten Änderungen.
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
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.
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.
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.
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.
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
Wenn dotnet nicht gefunden wird, ist das .NET SDK nicht korrekt installiert oder nicht im PATH.
Prüfen mit:
dotnet --info
Lösung:
Set-ExecutionPolicy -Scope Process Bypass
Danach erneut bauen.
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
Dann bitte prüfen:
- komplette Fehlermeldung lesen
- betroffene Datei ansehen
- aktuelle Version aus GitHub ziehen
- alte Build-Ordner löschen
- erneut bauen
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
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.
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
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-
If you already have the repository locally:
git pull
This downloads the latest changes.
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
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.
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.
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.
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.
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
If dotnet is not found, the .NET SDK is not installed correctly or not available in PATH.
Check with:
dotnet --info
Solution:
Set-ExecutionPolicy -Scope Process Bypass
Then build again.
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
Check:
- read the full error message
- check the affected file
- pull the latest version from GitHub
- delete old build folders
- build again
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