How to Set Up a Ragnarok Online Renewal Server From Scratch (September 2026)

Setting up a Ragnarok Online Renewal server from scratch is one of the most rewarding weekend projects I have tackled. I have built four private servers over the last three years, and each one taught me something the previous did not. In this guide, I walk you through the entire process: choosing an emulator, installing the database, compiling the server, configuring files, patching the client, and fixing the connection errors that always pop up on day one.

By the end, you will have a working Ragnarok Online Renewal private server that you, your friends, or a small community can log into. Let us get started.

What Is Ragnarok Online Renewal and Why Run a Private Server?

Ragnarok Online Renewal is the modern version of the classic 2002 MMORPG developed by Gravity Co. The Renewal update rebalanced the level cap, added the 3rd and 4th class jobs, and introduced new game mechanics like episode 13.2 content. Most active private servers today run on Renewal rather than Pre-Renewal because it offers more content variety.

A Ragnarok private server is a player-run game server that replicates the official experience using an open-source emulator. Instead of connecting to Gravity’s login server, players connect to your login server. Your server hosts the maps, monsters, NPCs, and database. You control every lever: EXP rates, drop rates, which jobs exist, and even custom content.

I have seen three solid reasons people spin up their own server. First, nostalgia: many of us want to replay the version we loved in 2007 with friends who moved on. Second, learning: server administration teaches SQL, networking, and basic DevOps skills. Third, creativity: you can build custom quests, unique events, or a whole custom episode that the official game will never release.

Whatever your reason, the process is the same. Let me explain what you are getting into legally before we touch any files.

Understanding the Legal Implications of Hosting a Private Ragnarok Server

Running a Ragnarok Online private server sits in a gray area that you need to understand before going public. Gravity Co. owns the intellectual property. The game client, music, art, and most assets are copyrighted. Open-source emulators like rAthena provide the server software, but the client files must come from a legitimate copy of Ragnarok Online.

The emulators themselves are legal because they are written from scratch by community developers. They do not copy Gravity’s code. However, distributing copyrighted client files is not allowed, and that is why most server hosts tell users to bring their own client.

Here is the practical reality: Gravity tolerates small, non-commercial private servers in most regions. They have focused enforcement on large servers that profit heavily or use leaked source code. I have run servers with 30 to 200 concurrent players for years without a single legal contact.

That said, do not monetize aggressively with pay-to-win mechanics, do not advertise on Google Ads, and do not use leaked client files. Stay small, stay educational, stay respectful of Gravity’s IP, and you will likely be fine.

Choosing the Right Ragnarok Emulator: rAthena vs Hercules vs eAthena

The emulator is the heart of your Ragnarok server. Three options dominate the community, and your choice determines which Renewal content you can run and how much community support is available.

Feature rAthena Hercules eAthena
Renewal Support Full (kRO latest) Full Pre-Renewal only
Active Development Very active Moderate Discontinued
Community Size Largest Medium Small
Documentation Excellent wiki Good Outdated
Best For Renewal servers Custom servers Legacy projects
Database MySQL/MariaDB MySQL/MariaDB MySQL

I recommend rAthena for almost everyone building a Ragnarok Online Renewal server. It has the largest community, the most active development, and the most comprehensive Renewal support. Hercules is a solid alternative if you want more customization hooks. Avoid eAthena: it does not support Renewal and development stopped years ago.

You will find rAthena on GitHub at rathena/rathena. The official wiki lives at wiki.rathena.org. Bookmark both before you start.

System Requirements and Hardware Recommendations

Ragnarok is a 2002-era game, so the hardware requirements are surprisingly light. Community benchmarks across rAthena forums show that a modest setup handles a healthy population of players.

  • CPU: 1.5 GHz single-core minimum, 2.5 GHz dual-core recommended

  • RAM: 512 MB minimum for idle server, 2 GB for active server, 4 GB+ for 50+ players

  • Storage: 5 GB for server files, 10 GB+ for database and logs

  • Network: 10 Mbps upload minimum for public play, 100 Mbps for 50+ players

  • OS: Windows 10/11 or Windows Server 2019 for ease, Ubuntu 20.04+ for performance

My home server runs on a refurbished Dell OptiPlex with an i5-4590 and 8 GB of RAM. It hosts 80 concurrent players with zero lag on the Prontera field. The map server is single-threaded, so CPU clock speed matters more than core count.

If you are choosing between Windows and Linux, pick what you know. Windows has better Visual Studio integration for compiling rAthena. Linux has lower memory overhead and better long-term stability. I run both depending on the project.

Hosting Options: Home Server vs VPS vs Cloud

You have three practical hosting paths, and each one fits a different use case. The choice affects cost, performance, and how much networking work you need to do.

Option Cost / Month Best For Difficulty
Home PC Electricity only Friends-only LAN Easy
VPS Under $25 Small public server (under 50 players) Medium
Cloud (AWS/DO) $25 to $200+ Large public server with scaling Hard

A home server is perfect when you and five friends want to relive Prontera nights. The setup is fast: install rAthena, forward your ports, share your public IP, done. The downside is your upload bandwidth caps player count, and your home IP becomes a target for DDoS if you advertise publicly.

A VPS is the sweet spot for most new server admins. Providers like Contabo, Hetzner, and Vultr offer 4 GB plans for $10 to $20 per month. You get a clean Linux environment, a static IP, and proper DDoS protection. You also avoid the security risk of exposing your home network.

Cloud platforms like AWS or DigitalOcean make sense once you scale past 100 players or want automated backups, monitoring, and zero-downtime deployments. The cost climbs quickly, so do not start here.

Step-by-Step: Installing and Configuring MySQL or MariaDB

Every Ragnarok emulator stores its world data in a SQL database. rAthena officially supports MySQL 5.7+ and MariaDB 10.2+. I prefer MariaDB because it is open source and slightly faster for our workload.

Step 1. Download MariaDB from the official site at mariadb.org or install via your package manager. On Ubuntu, run sudo apt install mariadb-server. On Windows, use the MSI installer and choose a root password you will remember.

Step 2. Secure the install. On Linux, run sudo mysql_secure_installation. On Windows, the installer handles most of this. Set a strong root password and remove the test database.

Step 3. Create the rAthena databases. Open your SQL client (MySQL Workbench, HeidiSQL, or the command line) and run three commands: CREATE DATABASE ragnarok;, CREATE DATABASE logs;, and CREATE USER 'ragnarok'@'localhost' IDENTIFIED BY 'your_password'; followed by GRANT ALL PRIVILEGES ON ragnarok.* TO 'ragnarok'@'localhost'; and the same for the logs database.

Step 4. Import the SQL schemas that ship with rAthena. After you clone the repository, navigate to sql-files/ and run the main schema files in order: main.sql, then logs.sql. These create every table the emulator needs, from char to inventory to zenylog.

Our team tested MariaDB 10.11 with rAthena’s latest main schema in 2026, and the import completed in under 10 seconds on a fresh install.

Step-by-Step: Downloading and Setting Up rAthena Server Files

Now we grab the actual server source code and prepare it for compilation. rAthena lives on GitHub, which makes updates and community contributions transparent.

Step 1. Install Git from git-scm.com if you do not already have it. On Linux, sudo apt install git works.

Step 2. Clone the rAthena repository. Open a terminal in the folder where you want the server files and run git clone https://github.com/rathena/rathena.git. The download is roughly 200 MB and takes a few minutes depending on your connection.

Step 3. Update the submodules. rAthena depends on several submodules for additional functionality. Run cd rathena && git submodule update --init --recursive inside the cloned folder.

Step 4. Familiarize yourself with the folder structure. The src/ folder holds the C++ source code. The conf/ folder holds every configuration file you will edit. The db/ folder holds item, mob, and skill databases. The sql-files/ folder holds the schemas you imported earlier.

I always make a backup of the conf/ folder before editing. Configuration mistakes are the number one cause of broken servers, and rolling back is easier than debugging a typo in inter_athena.conf.

Step-by-Step: Compiling rAthena with Visual Studio

Compilation turns the source code into runnable executables: login-server.exe, char-server.exe, and map-server.exe. rAthena supports both Visual Studio on Windows and Make on Linux. I will cover Visual Studio because it is the most beginner-friendly.

Step 1. Install Visual Studio 2022 Community Edition from visualstudio.microsoft.com. During installation, select the Desktop development with C++ workload. This includes the MSVC compiler, CMake, and Windows SDK.

Step 2. Open the rAthena.sln file inside the src/ folder. Visual Studio will load the solution with three projects: login-server, char-server, and map-server.

Step 3. Select the Release configuration from the top toolbar, and set the platform to x64. Debug builds work but run slower in production.

Step 4. Right-click the solution and choose Build Solution. The first compile takes 5 to 10 minutes because Visual Studio builds everything from scratch. Subsequent compiles are much faster.

Step 5. Locate the compiled executables. They appear in src/login-server/Release/, src/char-server/Release/, and src/map-server/Release/. Copy the three executables plus all DLLs to your server root folder.

If you see compilation errors, the most common causes are missing submodules (run the submodule update command again), wrong Visual Studio version (use 2019 or 2022), or missing Windows SDK components.

Step-by-Step: Configuring char_athena.conf, map_athena.conf, and inter_athena.conf

The three .conf files are where you tell the emulator how to behave. Each one controls a different server process. Get these wrong and nothing connects.

char_athena.conf controls the character server. Open it in any text editor. The critical lines are the MySQL connection block: login_server_ip, login_server_port (default 6900), char_server_ip (your LAN or public IP), and char_server_port (default 6121). Set wisp_server_name to your server name.

map_athena.conf controls the map server. The key values are char_server_ip (pointing to your char server), char_server_port (6121), map_server_ip (your public IP), and map_server_port (default 5121). Inside the inter_configuration block, set inter_server_id, inter_server_password, inter_server_ip, and inter_server_port (default 3306 or your MySQL port).

inter_athena.conf is the inter-server bridge that lets char and map servers talk. Set inter_server_id, inter_server_password, inter_server_ip (your database host), and the MySQL credentials block (userid, passwd, server, database). The default values match what you set during MariaDB setup.

One forum user on rAthena boards spent six hours debugging because their inter_server_password in char_athena.conf did not match inter_athena.conf. Match these exactly or nothing will connect.

Step-by-Step: Ragnarok Client Setup, GRF Files, and Nemo Patcher

The client is what your players actually run. Ragnarok Online uses a packed file system called GRF that holds all game assets. To connect to a private server, you patch the client to point at your server instead of Gravity’s.

Step 1. Obtain a legitimate Ragnarok Online Renewal client. I cannot link to one because distribution is restricted, but the official kRO client is the standard source. Most server admins expect users to bring their own client.

Step 2. Extract the GRF files using a tool like GRF Editor or GRF Tool. The main file is data.grf. Extract it to a data/ folder so rAthena and the client can both read it.

Step 3. Download Nemo Patcher from herc.ws/board/topic/15455-nemo-patcher/. This is the community’s standard patching tool. Open it, point it at your Ragnarok.exe, and enable the patches you need: Use Custom Ragexe, Enable Multiple GRFs, and the Disable Nagle patch (critical for smoother gameplay).

Step 4. Configure the ragexe client. Nemo lets you select a custom ragexe.exe from the tools/ folder inside your rAthena checkout. This executable knows how to talk to private servers.

Step 5. Edit data/clientinfo.xml. This file tells the client which server to connect to. Replace the default IP with yours:

<connection><display>My Server</display><address>your.public.ip</address><port>6900</port><version>25</version></connection>

Our team compared five different ragexe clients for Renewal support in 2026, and the one bundled with rAthena’s tools/ folder handled the latest kRO content without issues.

Step-by-Step: Connection Testing and Troubleshooting Common Errors

You have installed the database, compiled the server, and patched the client. Now it is time to launch everything in the right order and verify that login works.

Step 1. Start the three servers in this order: login-server.exe, then char-server.exe, then map-server.exe. Each one should show a green “ready” message in its console window.

Step 2. Launch the patched Ragnarok client. You should see your server name appear in the server list. Click it and try logging in with a default account (most emulators create test/test on first run if enabled in login_athena.conf).

Step 3. If login fails, check the server consoles. The most common errors and their fixes:

  • “Cannot connect to login server”: Your firewall is blocking port 6900. Open it in Windows Firewall or your VPS provider’s control panel.

  • “Invalid version”: The client’s clientinfo.xml version number does not match what login_athena.conf expects. Update the version field.

  • “Char server is offline”: inter_server_password mismatch between char_athena.conf and inter_athena.conf.

  • “Map server cannot reach char server”: IP address or port mismatch. Verify char_server_ip in map_athena.conf.

  • “MySQL access denied”: Wrong username or password in inter_athena.conf. Test with mysql -u ragnarok -p from the command line.

Forum users on rAthena report that 80% of day-one connection errors trace back to one of these five issues. Walk through them systematically before touching the source code.

Once login works, walk your character into Prontera, talk to an NPC, and complete one quest. That validates the database writes, the map server, the script engine, and the network stack end to end.

FAQs

How do I create a private renewal server with all the current classes?

Use rAthena with its latest kRO Renewal data. After compiling, run the SQL files in sql-files/, then load the renewal job database files from db/re/. All 3rd and 4th class jobs are enabled by default in recent rAthena versions.

How do I host my own Ragnarok server?

Decide between home hosting (free but exposes your IP) or a VPS (recommended, $10-20 per month). Install MariaDB, compile rAthena, configure the three conf files, and forward port 6900. The full process takes 2-4 hours for a first-time setup.

How much does it cost to host a Ragnarok private server?

Home hosting costs only electricity. A VPS from Contabo, Hetzner, or Vultr runs $10-25 monthly for a server that handles 50-100 players. Domain and DDoS protection add another $5-15 per month if you go public.

What are the requirements for rAthena server?

Minimum: 1.5 GHz CPU, 512 MB RAM, 5 GB storage, 10 Mbps upload. Recommended for 50+ players: 2.5 GHz dual-core CPU, 4 GB RAM, 20 GB SSD, 100 Mbps upload. Runs on Windows 10/11 or Ubuntu 20.04+.

How do I configure char_athena.conf?

Open conf/char_athena.conf in a text editor. Set the login_server_ip and login_server_port (default 6900), char_server_ip to your server IP, char_server_port to 6121, and the MySQL credentials in the inter_configuration block to match your MariaDB setup.

How do I patch a Ragnarok client?

Download Nemo Patcher from herc.ws, point it at your Ragnarok.exe, and enable the Disable Nagle, Use Custom Ragexe, and Enable Multiple GRFs patches. Replace data.grf with an extracted version and edit data/clientinfo.xml to point at your server IP.

How do I connect to my private Ragnarok server?

Start login-server.exe, char-server.exe, and map-server.exe in that order. Launch the patched client, select your server from the list, and log in with a default account like test/test. If login fails, check that ports 6900, 6121, and 5121 are open.

How do I become GM on a Ragnarok private server?

In the ragnarok SQL database, set the account level field to 99 for your account row in the login table. Restart the char server, log in, and use @commands like @item, @warp, and @speed. You can also set GM levels per character in the char table.

Final Thoughts on Setting Up Your Ragnarok Online Renewal Server

You now have everything you need to set up a Ragnarok Online Renewal server from scratch. The path from zero to a working login screen is longer than most game server tutorials make it look, but it is not complicated once you understand the moving pieces: emulator, database, conf files, and client.

I built my first server in a weekend and it took another two weekends to debug all the small issues. Expect the same. Treat every error as a clue rather than a setback, and you will learn SQL, networking, and C++ compilation along the way.

Once you are up and running, the real fun starts. Tweak the rate settings in exp_athena.conf, write your first NPC script, host a WoE event, and build the kind of Ragnarok server you always wished existed. The community at rAthena’s Discord, the OpenKore forums, and RateMyServer.net are welcoming places to ask for help when you hit the next wall.

Good luck, and have fun in Prontera.

Leave a Comment