FAQ on Debian derived distros.

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
bcs86
Novice
Novice
Posts: 259
Joined: 27 Feb 2009, 18:14
Contact:

FAQ on Debian derived distros.

Post by bcs86 » 16 Jun 2009, 16:43

General FAQ
Compilation info
When handling source code, read the INSTALL and README files.
For the manual type "man tmw".
For in-game help press F1.
The TMW client provided in gNewSense 2.2 -Deltah is too old to be supported.
The tilde mark '~' in bash means "your home directory".

Q: Where do I install music?
A: Wherever the data directory is.
If you followed the wiki instructions for compiling only to your home then it is ~/tmw/share/tmw/data/
On a proper system-wide installation, it would be at /usr/share/games/tmw/data/
Changing anything beyond your home directory requires root permissions.

Code: Select all

tar -xzf tmwmusic-0.2.tar.gz
sudo cp -r tmwmusic-0.2/* /usr/share/games/tmw/data/ 
Q: How do I get the newest released version of TMW?
A: If the version in your repositories is not the most recent, look in other repositories at the distro's package index site such as packages.debian.org or packages.ubuntu.com
_ix86 is for most common Intel and compatible processors.
_amd64 is for 64 bit architecture.

Download the tmw, tmw-data, and tmw-music packages, Hold shift and single click all three, continue holding shift and double click tmw. The package manager will open them. Hit "Install" on tmw's dialogue box, then the music's.
The latest client's source code tarball is on the downloads page.
See the compilation info link above.

Q: Why do I have to download 3 packages to get The Mana World?
A: The tmw package holds the client engine, its manual and Desktop menu data. The tmw-data package holds the game's fonts, GUI graphics, and F1 documentation. The tmw-music package is large and not mandatory.

Q: How do I install TMW?
A: Open a terminal and type "sudo apt-get install tmw". To remove it type "sudo apt-get remove tmw".
Graphically in Ubuntu you can click Applications --> Add/Remove then search for "tmw" under "all open source".
Or search "tmw" in Synaptic Package Manager.
To compile from source see the compilation info link above. Type "make uninstall" to remove a source installation.

Q: How do I get the latest client developing version?
First install TMW's dependencies and git by doing:

Code: Select all

sudo apt-get build-dep tmw
sudo apt-get install git-core git automake gettext cvs libtool build-essential
Create a place to put all of your cloned repositories and obtain the client:

Code: Select all

mkdir ~/git && cd ~/git
git clone git://gitorious.org/tmw/mainline.git tmw
The client will be cloned to ~/git/tmw
To update it type "git pull" within that directory.
It will cause the same changes to your directory that have happened upstream.
See the compilation info link above.
World data can be cloned and pulled from git://gitorious.org/tmwdata/mainline.git
Copy its contents to the game's data directory. Starting tmw with the -u flag will ignore updates and use what is there. Enable updates when playing on other customized servers though.

Q: Where is the configuration file?
A: It is ~/.tmw/config.xml
The directory is invisible so use "ls -a" or select view --> Show hidden files in Nautilus to see it.

Code: Select all

gedit ~/.tmw/config.xml
replace the word gedit with emacs, vim, or nano if you prefer.

Q: Why does the client say it is missing libraries?
A: Be sure to have also typed "make install" instead of just "make" alone.
When using a custom guichan, the client must be told where guichan is at each start of the game. See this page and just put the export details in a simple shell script or edit ~/.profile

Q: How can I make a launcher for TMW in the applications menu?
A: Right click the menu, select games, select "new item", point it to the binary such as ~/tmw/bin/tmw
It is possible to throw the launcher flags such as:

Code: Select all

~/tmw/bin/tmw -u -U [login] -P [password] -p [character]
It is not safe practice to automate the login this way. Also -u won't work without default files in the data directory.
Last edited by bcs86 on 17 Jun 2009, 12:06, edited 2 times in total.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: FAQ on Debian dirived distros.

Post by Jaxad0127 » 16 Jun 2009, 17:08

bcs86 wrote:Q: Why do I have to download 3 packages to get The Mana World?
A: Data and music are developed separate from the client engine. Music is large and optional.
Debian's tmw-data package is not the world data that's being developed separately. It used to be, but that was fixed a long time ago. It mostly contains GUI data for the client.
bcs86 wrote:Q: Where is the configuration file?
A: It is /home/you/.tmw/config.xml
the directory is hidden so use "ls -a" or select view --> Show hidden files in nautilus.
Why not ~ instead of /home/you?
Image
User avatar
bcs86
Novice
Novice
Posts: 259
Joined: 27 Feb 2009, 18:14
Contact:

Re: FAQ on Debian dirived distros.

Post by bcs86 » 17 Jun 2009, 07:58

Edited the post more. Changed the answer to Question3. Changed "/home/you" into "~" but added a short explanation of the tilde's usage for those who aren't familiar.
Post Reply