Community AlphaAlpha MUADMINS
ENEnglish
Sign in
On MuADMINSEvent schedulesBlood Castle, Devil Square, invasions on one weekly gridOpenOn MuADMINSMU ArcadeQuiz, map stamps, guild marks, event builderOpen

MuEmu server files

MuEmu server files for Season 4, Season 6 and Season 8: SQL Server with an ODBC DSN, ConnectServer, JoinServer, DataServer, MHPServer (anti hack) and the GameServers, with the client made by GetMainInfo and GetAhInfo. The steps follow the MuEmu install guide page.

CONFIGUREServer side: IP, server name, SQL login and license in your own files, made in your browser. 30 of 35 steps from real files

1Requirements

  1. A Windows PC for testing, or a Windows VPS (Windows Server or Windows 10/11, 64 bit) for a server other players join. A VPS with a fixed public IP saves you the router setup of a home PC.
    General
  2. Install the Visual C++ runtimes (2005 to 2022, both x86 and x64) and .NET Framework 3.5 and 4.5.2 or newer. Most "random" errors when an exe starts are a missing runtime; a few full Windows Update runs help too.
  3. Allow the server folder and the client main.exe in Windows Defender or your antivirus. Old MU files often give false alerts, and a deleted or blocked file stops the setup.

Need a Windows VPS for your server? MuADMINS suggests SovaHost: the code MUADMINS gives 10% off.

2SQL Server

  1. Install SQL Server 2016 or newer (recommended today; some or most server files may still work with SQL Server 2012) with the default instance name MSSQLSERVER, not SQLEXPRESS. The MuEmu guide still says MSSQL 2008, but the MuEmu based backups we checked are SQL 2008 R2 backups, which plain 2008 cannot restore.
    Tested by MuADMINS
  2. Why the default instance matters: the DSN in the MuEmu reg file points to (local), which is the default instance. With a named instance (PCNAME\SQLEXPRESS) the servers do not reach the database until you change the DSN server name.
  3. The Louis V13 repack ships DB/MuOnline.bak as a SQL Server 2008 R2 backup (compatibility level 100), so it restores on 2008 R2 and every newer version.
  4. A .bak restores only on the same or a newer SQL Server than the one that made it. SQL Server 2012 and newer restore backups from SQL 2005 or newer, so a SQL 2000 backup needs a stop on SQL 2005, 2008 or 2008 R2 first, and a backup made on SQL 2019 or 2022 needs that version or newer.
  5. SQL Server 2025 Express and Management Studio 22 are the current free downloads from Microsoft. MU files are known to run up to SQL Server 2022, so 2019 or 2022 Express is the safe pick for older files.
    General
  6. Express is free and enough for most MU servers: each database can grow to 10 GB on SQL Server 2012 to 2022 Express and to 50 GB on 2025 Express. Express has no SQL Server Agent, so run timed jobs such as backups with the Windows Task Scheduler.

3Databases

  1. Restore the database from MuServer/DB/Muonline.bak in SQL Server Management Studio (Databases, Restore Database, Device, pick the .bak, database name MuOnline).
  2. Add the reg key from MuServer/DB/MuOnline64.reg (double click it, accept). It creates the 32 bit DSN MuOnline under HKLM\SOFTWARE\Wow6432Node\ODBC\ODBC.INI\MuOnline with the driver SQL Server, server (local), database MuOnline and Trusted_Connection Yes (Windows login, no SQL password).

4Database connection

  1. JoinServer and DataServer reach SQL through the DSN name, not with a user and password:
    FileKeyWhat to putWhy
    JoinServer/JoinServer.iniJoinServerODBCmuonlinethe ODBC DSN name of the account database
    JoinServer/JoinServer.iniJoinServerPort55970port the GameServers use to reach the JoinServer
    JoinServer/JoinServer.iniConnectServerAddress / ConnectServerPort127.0.0.1 / 55557where the JoinServer reports to the ConnectServer (UDP)
    JoinServer/JoinServer.iniCaseSensitive / MD5Encryption0 / 01 = case sensitive logins / MD5 passwords. Keep MD5 at 0: almost no server uses it. Turn it on only if your files need it (some 99b files do); then your website must save MD5 passwords too.
    JoinServer/JoinServer.iniGlobalPasswordyour own or emptya master password that logs into any account: never leave a shared default
    DataServer/DataServer.iniDataServerODBCmuonlinethe ODBC DSN name of the game database
    DataServer/DataServer.iniDataServerPort55960port the GameServers use to reach the DataServer
  2. Create the ODBC data source with the 32 bit tool C:\WINDOWS\SysWOW64\odbcad32.exe (the MU servers are 32 bit programs, the 64 bit ODBC window does not show their DSN). System DSN, driver "SQL Server", server = your SQL instance, default database = the one named in the configs.

5Config files

  1. Set your unique serial in these three files: MuServer/GameServer/DATA/GameServerInfo - Common.dat, MuServer/GameServerCS/DATA/GameServerInfo - Common.dat and MuServer/MHPServer/MHPServer.ini.
  2. Change your host IP in MuServer/ConnectServer/ServerList.dat and MuServer/Data/MapServerInfo.dat.
  3. GameServerInfo - Common.dat, section [GameServerInfo] (meanings from the MuEmu guide, values from the repack):
    FileKeyWhat to putWhy
    GameServer/DATA/GameServerInfo - Common.datCustomerName / CustomerHardwareIdyour registration name / your PC hardware idthe licence: username used on registration and the computer HardwareId
    sameServerNameyour room nameGameServer room name
    sameServerCode0 (GameServerCS: 19)must match ServerList.dat and MapServerInfo.dat
    sameServerPort55901 (GameServerCS: 55919)GameServer port the client connects to
    sameServerVersion / ServerSerial1.04.05 / your serialmust equal the client version and serial
    sameServerMaxUserNumber200 (CS: 100)maximum users on this GameServer
    sameDataServerAddress / DataServerPort127.0.0.1 / 55960DataServer connection
    sameJoinServerAddress / JoinServerPort127.0.0.1 / 55970JoinServer connection
    sameConnectServerAddress / ConnectServerPort127.0.0.1 / 55557ConnectServer UDP status port
  4. ConnectServer/ServerList.dat columns: ServerCode, ServerName, ServerAddress (your IP), ServerPort, SHOW or HIDE.
    0   "GameServer"     "<your IP>"   55901   "SHOW"
    19  "GameServerCS"   "<your IP>"   55919   "HIDE"
  5. Data/MapServerInfo.dat first table: ServerCode, MapServerGroup, InitSetVal, IpAddress, Port. The IP is written with an S in front (S<your IP>); keep the S. The second table sends the Castle Siege maps (30, 31 and others) to server code 19.
    0   0   1   S<your IP>   55901
    19  0   0   S<your IP>   55919
  6. MHPServer/MHPServer.ini: ClientVersion (1.04.05 in the S6 repack), ClientSerial (your serial), MHPServerPort 55999.
    Season 6

6Ports and firewall

  1. Open these TCP ports: 44405 (ConnectServer), 55901 (GameServer), 55919 (GameServerCS), 55999 (MHPServer).
  2. 55557 (UDP), 55960 and 55970 are used between the servers. They stay closed when every server runs on the same machine with 127.0.0.1.
    General
  3. Use your LAN IP (run ipconfig in cmd and copy the IPv4 address) to play alone on your own network. Use your public IP (shown by any "what is my IP" site) when other players must join, and open the ports below.
  4. Windows firewall: Windows Defender Firewall, Advanced settings, Inbound Rules, New Rule, Port, TCP, type the ports, Allow the connection. On a home PC also forward the same ports in your router to the PC.
    General

7Client side

  1. Download the Tools package. Open MainInfo.ini in the MAIN_INFO folder and set the IP and Serial. To connect to a server on the same PC use your local IP.
  2. Run GetMainInfo.exe to make main.emu.
  3. Copy into the AH_INFO folder: Season 4 and Season 6: MHPClient.dll, main.exe, main.emu. Season 8: MHPClient.dll, Main.dll, main.emu, main.exe.
  4. Open ClientInfo.ini in AH_INFO, set the IP, run GetAhInfo.exe to make ah.emu.
  5. Copy to your base client: Season 4 and Season 6: MHPClient.dll, MHPVerify.dll, main.exe, main.emu, ah.emu. Season 8: the same plus main.dll.
  6. Optional checksum (blocks edited client files): get the CRC of a file with the CRC Generator, then add a line "PATH TO FILE" "0xCRC" before end in MuServer/MHPServer/Data/Checksum.List.db. Recommended files: main.emu, ah.emu, MHPClient.dll, main.exe, item.bmd.
  7. The Season 6 repack expects client version 1.04.05; the cash shop script is 512.2011.6 and the banner 583.2010.5.
    Season 6

8Start order

  1. Start in this order and wait until each window says it is ready: ConnectServer, JoinServer, DataServer, MHPServer, GameServer, GameServerCS.
  2. Or use the StartUp tool of the pack: it reads the process list from StartUp/Configuration/bor_StartUp.xml with 1000 ms between processes and absolute paths like C:\muserver\ConnectServer\ConnectServer.exe. Fix the paths if your folder is not C:\muserver.

9Testing

  1. Create a test account with an account editor (the repack ships "Editor de conta Muemu" in Tools). GM accounts are listed in Data/Util/GameMaster.txt.
  2. Start the client, check that the server name shows in the list, log in, create a character and walk to another map (that checks the GameServer to DataServer link).
    General
  3. First test on the same PC with the LAN IP. When that works, switch the IPs to the public IP, open the ports and test from another network (a phone hotspot is enough).
    General

10Common errors

Short fixes from MU forums, each with its source, in the MuADMINS Solutions:

11Video tutorials and docs

iRelease threads on the forums

MuADMINS read 248 release threads that name MuEmu on TuServerMU, CreandoMU, DarksTeam and RaGEZONE. Only what the threads state is shown, and every thread is linked.

Status
Active New release threads in the last 2 years that are not marked outdated.
Written in the titles as
MuEmu, Emershow, Mu Emu
Seasons named
0.970.99Season 1Season 2Season 3Season 4Season 6Season 8Season 9Season 11Season 12Season 13Season 15
Release threads
248 in all: 120 server files or client, 128 tools, launchers or custom content
Dates
first thread 28 May 2016, newest thread 14 Aug 2026, last reply 26 Oct 2026
Forums
TuServerMU (175), CreandoMU (55), DarksTeam (12), RaGEZONE (4), AyudaMU (2)
Health in the threads
Stable 23 Unstable 36 Outdated 84 Not rated 105 as the replies of each thread report it
Database named
MySQL (1 thread), SQL Server 2008 (3 threads)
Versions in the titles
1.04e (5), 1.02r (3), 1.05d (2), 1.01.46, 1.01t, 1.04 client main or GameServer numbers as the titles write them
Client version in the first posts
1.04e (2), 0.97
The titles mention
source code (18), downgrade (9), repack (20), bots (1), Lua (1), custom items (3)
Named together with
Louis Emulator (25), Kayito (MuEmu 0.97k) (16), X-Team (XeMU) (13), LTP Team (5), zTeam (5), IGCN (IGC.Network) (5)
Every release thread (248)

And 184 older threads on TuServerMU, CreandoMU, DarksTeam and RaGEZONE.

MuADMINS Community Alpha: free and community made, in active development.