Linux Server Setup

t

Guide

This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.

Extracting Cameras, DBC (or DB2), Maps, VMaps & MMaps

RECOMMENDATION: compile tools in release mode to save time, debug mode extraction is much longer and it's only needed if you have a crash to report.

Cameras, DBC and Maps files

cd <your WoW client directory>
/home/<username>/server/bin/mapextractor
mkdir /home/<username>/server/data
 
# Next line is 3.3.x only
cp -r Cameras dbc maps /home/<username>/server/data
# Next line is 6.x, and up only
cp -r Cameras dbc maps gt /home/<username>/server/data

edit worldserver.conf and change datadir from "." to "../data"

Visual Maps (aka vmaps) Note: If you stop vmap4extractor before finish you will need to delete the Buildings directory before start again.

You can also extract vmaps which will take quite a while depending on your machine (up to hours on ancient hardware).

cd <your WoW client directory>
/home/<username>/server/bin/vmap4extractor
mkdir vmaps
/home/<username>/server/bin/vmap4assembler Buildings vmaps
cp -r vmaps /home/<username>/server/data

When this is complete you will receive the following message which can be safely ignored.

Processing Map 724
[################################################################]
Extracting GameObject models...Extracting World\Wmo\Band\Final_Stage.wmo
No such file.
Couldn't open RootWmo!!!
Done!
 
Extract V4.00 2012_02. Work complete. No errors.

Movement Maps  (aka mmaps - optional RECOMMENDED)

Extracting mmaps will take quite a while depending on your machine (up to hours).

cd <your WoW client directory>
mkdir mmaps
/home/<username>/server/bin/mmaps_generator
cp -r mmaps /home/<username>/server/data

Setting up the configuration files

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist (bnetserver.conf.dist in 6.x) ) and copy these to their namesakes without the .dist extension. You can find them within /trinitycore/etc/ (may vary).

cp worldserver.conf.dist worldserver.conf
cp authserver.conf.dist authserver.conf # 3.3.5 only
cp bnetserver.conf.dist bnetserver.conf # 4.3.4 and up
Guide

This article is part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.