Page 1 of 1

Setting Up a TMWA Local Server - Step-by-Step Guide (2024)

Posted: 09 Jan 2024, 15:29
by cuoco

If you're keen to develop or explore The Mana World in your local environment, follow these steps to set up your own server:

For Windows Users:

  • Utilize VirtualBox for a smoother experience.

1. Get the Lubuntu ISO:

  • Download the Lubuntu ISO from this link to use on a Virtual Machine.

Install the OS and once it is running go to the next step.

2. Terminal Setup:

  • Open a terminal window and input the following commands:

Code: Select all

sudo apt-get install g++ python make git zlib1g-dev
sudo apt-get install realpath
mkdir ~/tmwAthena
cd ~/tmwAthena/
git clone --recursive https://git.themanaworld.org/legacy/tmwa.git
git clone --recursive https://git.themanaworld.org/legacy/serverdata
cd tmwa/
echo "export PATH=$PATH:~/bin" >> ~/.bashrc
source ~/.bashrc
./configure --user
make
make install

Code: Select all

cd ../serverdata
make conf
cd ..
mv serverdata/ tmwa-server-data/

3. Testing the Server:

  • Navigate to the server data directory:

Code: Select all

cd ~/tmwAthena/tmwa-server-data/
./run-all

4. Loading ManaPlus with Custom Data:

  • Open ManaPlus with the "d" parameter to load custom client data:

Change VM to your user name.

Code: Select all

manaplus -d /home/vm-username/tmwAthena/tmwa-server-data/client-data

5. Adding a New Server on ManaPlus:

  • Open ManaPlus and follow these steps to add the local server:

  • Name: Local

  • IP: 127.0.0.1

  • Port: 6901

  • Type: TmwAthena

6. Setup a GM account:

Code: Select all

cd ~/tmwAthena/tmwa-server-data/login
tmwa-admin
add <username> M <password> 
gm <username> 99

By following these steps, you should have your local Mana World server up and running smoothly, allowing you to dive into the world of development or exploration!

More info: viewtopic.php?t=17271


Re: Setting Up a TMWA Local Server - Step-by-Step Guide (2024)

Posted: 09 Jan 2024, 23:07
by Ledmitz

Thank you very much cuoco. I keep forgetting about g++ also.


Re: Setting Up a TMWA Local Server - Step-by-Step Guide (2024)

Posted: 10 Jan 2024, 00:40
by ThinkSome

I believe that these instructions should go into TMWA's README.


Re: Setting Up a TMWA Local Server - Step-by-Step Guide (2024)

Posted: 28 Aug 2024, 19:33
by kereszte

On Windows, this works on wsl2.