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

Here you will find the tools to get you started. If you are new, inexperienced or just unfamiliar with what we do, this is the place to try your hand at creating content.


Post Reply
User avatar
cuoco
TMW Classic
TMW Classic
Posts: 76
Joined: 18 Mar 2015, 07:10

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

Post 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

⭐ Main char: cuoco at level 137
⭐ GM Char: Cuoco Gest

User avatar
Ledmitz
TMW Classic
TMW Classic
Posts: 575
Joined: 17 Aug 2011, 22:40
Location: The Mana World
Contact:

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

Post by Ledmitz »

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

Ledmitz = Ardits = KillerBee = Mystic = Mystical_Servant = Tipsy Skeleton = BoomBoom = Cloak

ThinkSome
Moubootaur Legends
Moubootaur Legends
Posts: 73
Joined: 02 Apr 2023, 16:47

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

Post by ThinkSome »

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

Post Reply