Tools:Running
Running the Tools
Running the tools under GNU/Linux
If you want to run adonthell-tools you first need to download them, either download the tarball or sync it from the repo using GIT
If its a tarball then untar it or if you have got it from the repo you will see something like this :-
$ls ABOUT-NLS AUTHORS ChangeLog config.rpath configure.in desktop ltmain.sh Makefile.in po test acinclude.m4 autogen.sh config.guess config.sub COPYING INSTALL m4 missing README util aclocal.m4 autom4te.cache config.h.in configure depcomp install-sh Makefile.am NEWS src
Some of them are files and some of them are directories as can be seen in your bash terminal.These need to be compiled before as shown in Development:Compiling wikipage
After compilaton all the tools would be in /somepath/adonthell-tools-build/src. The four tools would each have their own directory and it would have a listing something like this :-
~/games/adonthell/adonthell-tools-build/src$ ls backend common dlgedit Makefile mapedit modeller questedit
There are few things more that need to be done before the Tools can run.Please put these lines on your bash terminal.
$echo 'export PYTHONPATH=${PYTHONPATH}:$HOME/games/adonthell/lib/python2.7/site-packages/' >> ~shirish/.bashrc $echo 'export ADONTHELL_MODULES_PATH=${ADONTHELL_MODULES_PATH}:$HOME/games/adonthell/lib/adonthell/' >> ~shirish/.bashrc
Do remember that you need to have your own username in place of 'shirish' there.
Open another terminal instance and see if the values are shown or not.
$echo $PYTHONPATH :/home/shirish/games/adonthell/lib/python2.7/site-packages/
$echo $ADONTHELL_MODULES_PATH :/home/shirish/games/adonthell/lib/adonthell/
Now if these are done,then you are almost ready to run the tools.
Now either download wastesedge tarball as you need the graphic assets if you want to see how the tools function. If you have made the git repository of wastesedge do an update
~/games/adonthell/wastesedge$ git pull origin master From git://github.com/ksterker/wastesedge * branch master -> FETCH_HEAD Already up-to-date.
It will either download some new stuff or show the above statement which means your sync is updated and no new stuff has come in. In either way, it will look something like this :-
~/games/adonthell/wastesedge$ ls ABOUT-NLS beos configure.in gfx m4 missing osx README wastesedge.desktop.in audio ChangeLog connectors.xml gfx48 Makefile.am mkinstalldirs pixmaps redwyne-inn.xml wastesedge.spec.in audio.data character.data COPYING groups map48.xml models PLAYING schedules win32 AUTHORS characters debian INSTALL mapengine.data models48 po scripts world.data autogen.sh config.rpath gamename.txt install-sh maps NEWS quest.data time.data
Fortunately no compilation to be done here. At the most you can see the NEWS to see if you have got the correct build.
~/games/adonthell/wastesedge$ cat NEWS version 0.3.4: - Italian translation added - Dutch translation added - Some bugfixes version 0.3.3: - Many speed improvments with Python schedules. - Fixed some worrying in-game bugs.
That's it you can ready to run the Adonthell-tools.