Vadi Mapper

A free, open-source mapper for Achaea.

Compiling

Below are the instructions for checking out & compiling the source code. I've only done the instructions for the platforms that I know of - if you know how to do it on others, please fill in the blanks.

After you've compiled the sources, checking out the getting started page on setting up the mapper.

Linux

Ubuntu

First off, get everything that we'll need installed:

sudo apt-get install bzr bzr-gtk build-essential libcurl4-gnutls-dev libglib2.0-dev libjson-glib-dev

Then just make a copy of the branch:

mkdir ~/Programs && cd ~/Programs
bzr branch http://bazaar.launchpad.net/~vadi-mapper-dev/vadi-mapper/main vadi-mapper

To to compile the first time or recompile the mapper later on (like after an update), do this:

cd ~/Programs/vadi-mapper
make

Then simply move the resulting vadi_mapper.so file into the systems folder, and do `reload Vadi Mapper.

(note: atm, the system will crash as soon as there is new text after you've moved the new .so in. I don't know why's that yet)

Other distributions

(if you know how to do the above commands on any other distributions, please write them here)

Windows

First off, download and install bzr (click). Optionally also install a GUI for it (click).

Then, download this archive (click) and extract it to the C: drive (so you get C:\MinGW).

After that, checkout the mapper sources with this command in the terminal:

bzr branch http://bazaar.launchpad.net/~vadi-mapper-dev/vadi-mapper/main vadi-mapper

And double-click on mk.bat to compile. Move the resulting vadi_mapper.dll file into the systems folder, and `reload Vadi Mapper in your client to reload the mapper.

Note: if anyone has better instructions than this, please edit this page appropriately.

Note2: to be able to compile on Windows Vista, you need to "Copy EVERYTHING in C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2 to C:\Dev-cpp\bin". (<- that is outdated and needs to be updated for MinGW)

Note3: If you receive an error when compiling saying mb-core cannot find libglib, download GLib the binaries from http://www.gtk.org/download-windows.html and paste everything from the bin directory into your vadi-mapper directory. Then paste over the contents of mudbot and compile (run mk.bat)

Mac

(Don't have any yet. Feel free to add them in...)

Updating your source files

You can use bzr pull to update your sources, if you're just compiling and doing no changes to the code. Otherwise, I'll get instructions for contributors a bit later.

After you've compiled it

Check out the getting started guide on how to set yourself up. After that, feel free to hack on the sources!

Categories: (Uncategorized)