OpenDNF OpenDNF Dungeon & Fighter · Server Emulator

Installation and Initialization

This chapter covers a first installation of the official standalone package. The package includes the required settings. You do not need to configure the login gateway or database connection separately.

Download and Extract

  1. Download the standalone package from the Download section of the official website.
  2. Extract the entire archive to a folder such as D:\OpenDNF.
  3. Check that the folder contains opendnf-launcher.exe, llnut-launcher.exe, and the mysql\, gate\, bridge\, channel\, and game\ folders.

The drive letter and all folder names in the installation path may contain only English letters, numbers, spaces, underscores, hyphens, and periods. The path must not contain Chinese characters.

Install a Game Edition

  1. Open llnut-launcher.exe and wait for the update check to finish.
  2. Select a game edition when prompted. Click INSTALL GAME and wait for the download to finish.
  3. Check that the game launcher shows the selected edition, then open the server launcher.

The server does not need to be running to install an edition. Selecting an edition first ensures that initialization uses its database folder. See Game Launcher Settings for edition controls.

Open the Server Launcher for the First Time

Double-click opendnf-launcher.exe to open the OpenDNF server launcher (「OpenDNF 服务端启动器」). The default startup profile is Standalone (「单机版」).

On first launch, the server launcher prompts you to initialize the database. Click Initialize (「初始化」). If you dismissed the prompt, select Database → Initialize Database (「数据库」→「初始化数据库」).

MessageWhat to do
Invalid installation path (「安装路径不符合要求」)Move the package to a supported path and restart the launcher
Launcher is already running (「启动器已在运行」)Restore the existing window from the taskbar notification area
Cannot parse configuration file (「配置文件无法解析」)Close the launcher and check launcher.toml. Back up the original file before restoring default settings

Initialize the Database

Initialization creates the data folder, imports initial data, and configures database connections. Each edition uses a separate data folder and must be initialized before first use.

Steps

  1. Make sure MySQL is stopped.
  2. Click Initialize (「初始化」) in the prompt, or select Database → Initialize Database (「数据库」→「初始化数据库」).
  3. Follow the progress in Runtime Log · MySQL (「运行日志 · MySQL」). Do not close the launcher during initialization.
  4. Wait for Database initialization complete (「数据库初始化完成」).

You can then click Start Server (「启动服务端」). If clicking Start Server triggered initialization, the launcher continues starting the server automatically.

Expected Duration

Initialization usually takes a few minutes. The actual duration depends on disk performance and data size. The log may stop updating briefly during a large import. If no failure message appears, keep waiting. Do not repeatedly close the launcher or restart initialization.

If Initialization Fails

First check whether another copy of the package is running. If it is, click Stop Server (「停止服务端」) in that copy's launcher. Wait for all components to stop, then try again. If extraction left files missing, restore the files named in the error from the same package version. Do not overwrite existing database folders.

If initialization still fails, check the full error message:

ProblemWhat to do
MySQL port is in useIf stopping the other server does not free the port, see Port Already in Use. The default port is 3306
Database SQL file not foundRestore the missing file named in the error from the matching package version
Data directory initialization failedCheck the mysql-error.log path shown in the message. If the cause is unclear, provide this log and the full message
Cannot connect to the databaseCheck mysql-error.log to see whether MySQL started correctly

You can retry initialization after fixing the error. The launcher skips databases whose imports completed. It deletes and reimports any database whose previous import was interrupted. Do not use initialization as a routine way to clear saves or repair existing data.

Login Gateway Configuration

The official package includes gate\.env. You do not need to edit this file during a normal installation.

If Login gate reports that gate\.env is missing, restore it from the original package and restart the component. Keep the existing database folders and backups when restoring the file.

Continue with Starting the Server.