Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save HailStorm32/972e7778998fc3749c60b13b30019dbc to your computer and use it in GitHub Desktop.
Save HailStorm32/972e7778998fc3749c60b13b30019dbc to your computer and use it in GitHub Desktop.
DLU-No-Compile-Native-Windows-Setup-Guide

Before you start

You will need to find and download an unpacked LEGO Universe client (this guide will work for packed and unpacked clients). Make sure that its hash matches the ones mentioned in the repo README

This tutorial was done in Windows 11. The way some things are accessed might be different in older versions of Windows

Setup

Programs to install

You will need to install the following software


Show file extensions

enter image description here

  1. Open file explore
  2. On the top right bar, click View > Show > File name extensions

Setting up the server

  1. Download the latest server release from the repository

    You want the darkflameserver-windows.zip

  2. Once the zip is downloaded, move it to your Documents folder
  3. Right click the .zip and select Extract All
  4. You should now have a folder called darkflameserver-windows
  5. Delete the .zip file

Preparing client files

Extracting the client

  1. Navigate to where you downloaded the client and move it to your Documents folder
  2. Right click the .rar client file and select 7-Zip > Extract files... Keep the default settings (this will take some time)

    If your client is already extracted, move the folder to Documents

  3. You should now have a folder called something like LEGO Universe (unpacked) or LEGO Universe
  4. Delete the .rar file
  5. Rename the client folder to client

    Right click the folder, go to Show more options > Rename


Server Configuration

Allow exes to run

Do the following for MasterServer.exe, WorldServer.exe, ChatServer.exe, AuthServer.exe:

  1. Navigate to the darkflameserver-windows/msvc folder
  2. Double click the .exe to open it
  3. A blue screen will appear, click More info enter image description here
  4. Click Run anyway
  5. A window should appear briefly and disappear, this is normal

.ini file

Client Location

Still in the sharedconfig.ini file, add the following to client_location=

..\..\client

The end result should look like this

# The location of the client
# Either the folder with /res or with /client and /versions
client_location=..\..\client

Setup Admin Account

  1. Open a terminal in the darkflameserver-windows/msvc folder and

    Right click in the folder and select Open in terminal

  2. Run ./MasterServer.exe -a

    IF that gives you issues, try ./MasterServer -a

    It might hang for a minute or two, just wait.

  3. Enter a username

  4. Enter a password

  5. Set the access level of the account

    If the account is just for you, you can make it an admin (level 9), otherwise, make it level 0

  6. These credentials are what you are going to use to login to the game with REMEMBER THEM


Client Configuration

boot.cfg

  1. Open you client folder and open the boot.cfg file in a text editor

    If you had a packed client, the boot.cfg file will be in the client folder

  2. If it isn't already, set AUTHSERVERIP=0: to localhost
  3. Change UGCUSE3DSERVICES=7:1 to UGCUSE3DSERVICES=7:0

The file should look like this

.
. [unchanged lines here]
.
AUTHSERVERIP=0:localhost,
.
. [unchanged lines here]
.
UGCUSE3DSERVICES=7:0
.
. [unchanged lines here]
.
  1. Save and close the file

Running The Server

Starting the server

  1. Go into the darkflameserver-windows/msvc folder and double click MasterServer.exe
  2. A bunch of terminal windows might popup, this is normal

    If you get a bunch of firewall requests, close them out. You only need to accept them if you want make your server accessible outside your network (not covered in this tutorial)

  3. Start your client and login

Shutting down the server

  1. Find the terminal with the name MasterServer and hit Ctrl+C
  2. After a few seconds all the terminal windows (except the main one) should close
  3. Server is now shutdown
  4. Close the main terminal

Updating The Server

As of the writing of this guide the DLU codebase is still actively being contributed to and as such, the code base is constantly being updated. Some of these updates include bug fixes or feature additions. It is recommend to update the server where there is one available.

Update steps

  1. Go to the darkflameserver-windows/msvc folder
  2. Copy sharedconfig.ini and paste it to your Desktop. You will need this later
  3. Delete the darkflameserver-windows folder
  4. Download the latest server release from the repository

    You want the darkflameserver-windows.zip

  5. Once the zip is downloaded, move it to your Documents folder
  6. Right click the .zip and select Extract All
  7. You should now have a folder called darkflameserver-windows
  8. Delete the .zip file
  9. Move the sharedconfig.ini that you put on your Desktop and put it in darkflameserver-windows

    If you are prompted, OVERWRITE the file

  10. Allow the exes to run, see here




last updated 4/13/2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment