OpenDNF OpenDNF Dungeon & Fighter · Server Emulator

Multiple Client Editions

The game launcher supports installing and switching between multiple game editions. Each edition has its own client files and database. Exit the game and stop the server before switching.

Editions and Data

Use the Version tab in the game launcher's Settings to select an edition. After all components stop, the server launcher reads the selected edition and loads its database and game data at the next startup.

Accounts, characters, warehouses, and mail are separate for each edition. If an account or character appears to be missing after switching, check the selected edition first.

Switch Editions

  1. Exit the game. In the server launcher, click Stop Server (「停止服务端」) and wait until every component shows Stopped (「已停止」).
  2. Open the game launcher Settings → Version, select the target edition, and save.
  3. If the edition is not installed or needs an update, follow the game launcher prompts to download it.
  4. Return to the server launcher and click Start Server (「启动服务端」). Initialize the database when prompted for the first use of this edition.
  5. Wait for Ready 5/5 (「已就绪 5/5」), then enter the game through the game launcher.

See Game Launcher Settings for selection and installation. See Initialize the Database for database setup.

Add a Custom Client Edition

You can register a client that is not in the update list. The launcher stores its folder and display information only. It does not download, check, or repair files for a custom edition.

Prepare the Client Folder

  1. Exit the game, stop every server component, and close the game launcher.
  2. Find the clients folder beside the game launcher. If Settings → General shows a different Editions folder, use that folder instead.
  3. Create a folder directly under the editions folder and copy the complete custom client into it. DNF.exe must be directly inside this folder.

Example:

clients\my-client\DNF.exe
clients\my-client\Script.pvf

my-client is the edition folder name. It may contain English letters, numbers, hyphens, underscores, and periods. It must be no longer than 64 characters, must not start or end with a period, and must not end in .part. The folder must be a direct child of the editions folder.

Register the Edition in the Launcher

  1. Open the game launcher and go to Settings → Version.
  2. Click Add edition.
  3. In Game folder, choose clients\my-client, or enter its path.
  4. Enter an Edition name. This required name appears in the edition list.
  5. Author, Version, and Cover image may be left empty. The version number is display-only; it does not check client and server compatibility.
  6. Click Add. After the success message, click SAVE on the Version page.

The edition now appears in the list. Select it and save to use this folder the next time the game starts. Before first use, stop the server and follow Switch Editions to start the matching server edition.

Cover images must be PNG, JPG, JPEG, or WebP files no larger than 4 MB. The launcher copies the cover into the client folder.

Check These Items First When Adding Fails

  • Directory not found: select an existing folder.
  • The folder must be directly under the editions folder: move the client folder there. The selected folder must be the one that contains DNF.exe.
  • DNF.exe not found: check the filename and make sure it is in the first level of the selected folder.
  • Invalid folder name: rename the folder using the rules above.
  • The game does not start after adding: stop every server component, make sure the launcher and server use the same edition, and check that the client matches the server scripts and data.

Removing a custom edition deletes only its launcher registration. It does not delete the client files. You cannot remove the edition currently in use.

For the entry and field descriptions, see Add a Local Edition.

Operations Refused During a Switch

Switching the launcher edition while the server is running can put the client and server on different editions. Starting components, restoring a database, or signing in may then be blocked with a request to stop the server.

If the server launcher shows 「版本已切换,请先停止服务端」, or the game launcher shows Game Not Started, follow these steps:

  1. Click Stop Server (「停止服务端」) and wait until every component stops.
  2. Confirm that the launcher has the target edition selected.
  3. Click Start Server (「启动服务端」), wait until the components are ready, and sign in again.

Restarting only Game ch.11 does not complete an edition switch. Stop all components first.

Files for Each Edition

The default layout is shown below. <edition-id> is the edition folder name, such as qf1031.

ItemLocation
Game clientclients\<edition-id>\
Game dataclients\<edition-id>\Script.pvf
Databasemysql\data\<edition-id>\
Database backupbackup\dnf-<edition-id>-<time>.sql.gz

The client and server use the current edition's Script.pvf. For editions in the update list, use Repair game files in the launcher when files are missing. For custom editions, restore missing files from the original client package or a backup.

Backups are managed per edition. Each edition keeps its seven newest backups with matching names. Copy long-term backups elsewhere. Restore a backup from the same edition. Do not rename another edition's backup and use it for the current edition. See Back Up and Restore.

The client-edition.toml and server-edition.toml files in the package root are maintained by the two launchers. Do not edit or copy them manually.

Migrating Data from an Older Package

Older packages may store the client in client\ and the database directly in mysql\data\. When the migration conditions are met, the launcher moves these into edition folders.

Back up the database and keep the old package before upgrading. Do not close the launcher or move these folders during migration. When it reports that the data directory was migrated (「数据目录已迁移」), confirm the selected edition and character data.

MessageWhat to do
Old data directory was not migrated (「旧数据目录未迁移」)Both old and target data exist. Keep both folders and report the issue. Do not merge database files manually
Data directory migration failed (「数据目录迁移失败」)Check the path and permissions named in the message. Close programs that hold the files, then retry
Migration must be completed firstClick Start Server (「启动服务端」) to continue migration. Do not use Initialize Database (「初始化数据库」)

If migration fails, provide the dialog text and MySQL log. See Submit a Problem.

Edition File Errors

If the server launcher shows Edition file cannot be used (「版本文件无法使用」), or the game launcher says it cannot read the OpenDNF launcher's edition record:

  1. Stop all server components and close both launchers.
  2. Open the game launcher. In Settings → Version, select the target edition and save.
  3. Open the server launcher, confirm the edition on the Startup tab (「启动配置」), and start the server.

If edition data already exists, do not initialize a database while no edition is selected. If the problem remains, keep the data folder and error details for a report.