Page 1 of 1

TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 03 Jun 2008, 19:47
by GonzoDark
Started here http://forums.themanaworld.org/viewtopic.php?f=2&t=4303 by Fate, and finished by me.

------------------------------------------------------------------------------------------------------------
#This is a four-step guide to install TMW SVN version

#This installs a majority of the necessary dependencies for the TMW SVN
sudo apt-get -y install libsdl1.2-dev libphysfs-dev libxml2-dev libcurl4-openssl-dev zlib1g-dev autotools-dev g++-4.2 g++-4.1 g++-4.2-multilib automake autoconf subversion build-essential libpng12-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev

#This installs the new version of libguichan (0.8.1)
wget -c http://guichan.googlecode.com/files/gui ... 8.1.tar.gz
tar xf guichan-0.8.1.tar.gz
cd guichan-0.8.1
CXXFLAGS="-O3" ./configure --prefix=${HOME} && make && make install

#This downloads TMW SVN 0.0.24.1 to your computer and installs the game
svn co https://themanaworld.svn.sourceforge.ne ... nches/0.0/
cd 0.0
sh autogen.sh
CPPFLAGS="-I ${HOME}/include" LDFLAGS="-L ${HOME}/lib" CXXFLAGS="-O3" ./configure && make && sudo make install

#This will make a symbol link to guichan 0.8.1
sudo ln -s ${HOME}/lib/libguichan_sdl-0.8.1.so.1 /usr/lib/libguichan_sdl-0.8.1.so.1
sudo ln -s ${HOME}/lib/libguichan-0.8.1.so.1 /usr/lib/libguichan-0.8.1.so.1

#This will install TMW music 0.2
wget -c http://prdownloads.sourceforge.net/them ... z?download
tar -zxvf tmwmusic-0.2.tar.gz
cd tmwmusic-0.2/data
sudo cp -r * /usr/local/share/tmw/data
sudo chmod 777 -R /usr/local/share/tmw
----------------------------------------------------------------------------------------------------------

I also made 2 scripts to make it easy, run them in the Terminal Window (use the command "sh music.sh") after you have unpacked them.

Enjoy!

// GonzoDark

EDIT:

also works with 0.0.25

Re: TMW SVN installtion guide (Works on Ubuntu 8.04)

Posted: 03 Jun 2008, 20:18
by fate
Hi,

no need to use `sudo' if you install libguichan into your ${HOME}. Also, it would be nice to also describe how to install it without doing a global install (as I attempted to do). Finally, I agree that this should go into the wiki.

-- fate

Re: TMW SVN installtion guide (Works on Ubuntu 8.04)

Posted: 03 Jun 2008, 20:29
by GonzoDark
fate wrote:Hi,

no need to use `sudo' if you install libguichan into your ${HOME}. Also, it would be nice to also describe how to install it without doing a global install (as I attempted to do). Finally, I agree that this should go into the wiki.

-- fate
Thanks for pointing that out, I will look into that tomorrow.

If you wish to describe how to install it without doing a global installation, then please feel free to do so. :) ( I got my exams tomorrow, so I don't have the time right now ;) )

// GonzoDark

EDIT: I made some changes, and made 2 scripts to make it easy

Re: TMW SVN installtion guide (Works on Ubuntu 8.04)

Posted: 08 Jun 2008, 16:06
by GonzoDark
fate wrote:
Finally, I agree that this should go into the wiki.

-- fate
who will do that :?:

// GonzoDark

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 24 Oct 2008, 06:04
by doorsman
I might be off topic but why not just post dependencies / libs / ans so on ?

ppl compiling svn should know what they are doing or else go for the reg release :P
so a ubuntu or what so ever linux flavor .. but still :) i like it Gonzo keep it up :P

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 24 Oct 2008, 13:45
by Jaxad0127
doorsman wrote:I might be off topic but why not just post dependencies / libs / ans so on ?

ppl compiling svn should know what they are doing or else go for the reg release :P
so a ubuntu or what so ever linux flavor .. but still :) i like it Gonzo keep it up :P
http://wiki.themanaworld.org/index.php/Dependencies.

Re: TMW GIT installation guide

Posted: 14 Nov 2008, 21:10
by fate
Hi,

the tmw client is now stored as a git repository. Here are the updated installation steps for those of you who want to run the bleeding edge development client (which may or may not be broken). The steps are based on IchigoBlack's earlier steps; I thus have not re-validated them (so please let me know if I missed something!)

These steps are not fully automated for a number of reasons. Read them carefully and *think* before executing them-- you may not need all of them.

Code: Select all

# This installs a majority of the necessary dependencies for the TMW git installation.  If the g++ parts give you errors, try earlier versions of g++ (4.2, 4.1). 
sudo apt-get -y install libsdl1.2-dev libphysfs-dev libxml2-dev libcurl4-openssl-dev zlib1g-dev autotools-dev g++-4.3 g++-4.3-multilib automake autoconf subversion build-essential libpng12-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev

# This installs the new version of libguichan (0.8.1).  Only execute these steps if your distribution does not provide libguichan-dev at version 8.1 or higher.
# If your distribution provides libguichan-dev at version 8.1, install that version instead.
wget -c http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz
tar xf guichan-0.8.1.tar.gz
cd guichan-0.8.1
CXXFLAGS="-O3" ./configure --prefix=${HOME} && make && make install

# Next, manually download the latest TMW git snapshot to your computer and installs the game:
# Fire up a web browser and to to http://gitorious.org/projects/tmw/repos/mainline/trees/0.0
# Click on the link in the bottom left corner (`Download as gzipped tarball').
# Let's say that the downloaded file is called ${FILE}.  Then the next step is
tar xvfz ${FILE}
cd tmw-mainline
sh autogen.sh
CPPFLAGS="-I ${HOME}/include" LDFLAGS="-L ${HOME}/lib" CXXFLAGS="-O3" ./configure && make

# The next steps are OPTIONAL; they will install TMW music 0.2
wget -c 'http://prdownloads.sourceforge.net/themanaworld/tmwmusic-0.2.tar.gz?download'
tar -zxvf tmwmusic-0.2.tar.gz   
cd tmwmusic-0.2/data
sudo cp -r * /usr/local/share/tmw/data 
sudo chmod 777 -R /usr/local/share/tmw
This will build tmw, but not install it globally. To run it, go into the directory you executed these steps from and run

Code: Select all

LD_LIBRARY_PATH=${HOME}/lib tmw-mainline/src/tmw
-- fate

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 14 Nov 2008, 22:46
by fate
Hi,

follow-up to the above instructions: doorsman pointed out that you need to be registered to download the package. We may have snapshots available soon, though; I'll post another message if/once we do. :-)

-- fate

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 15 Nov 2008, 01:09
by Black Don
if SVN is going were do I get the trunk graphics from now?

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 15 Nov 2008, 01:26
by Jaxad0127
Black Don wrote:if SVN is going were do I get the trunk graphics from now?
http://wiki.themanaworld.org/index.php/Git_Repository
The tmwdata project.

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 23 Nov 2008, 04:54
by bigglesworth
I browsed to "http://gitorious.org/projects/tmw/repos/mainline/trees/0.0" and downloaded the tarball.

At the moment, there is no "autogen.sh".

Re: TMW SVN installation guide (Works on Ubuntu 8.04)

Posted: 23 Nov 2008, 05:06
by Jaxad0127
bigglesworth wrote:I browsed to "http://gitorious.org/projects/tmw/repos ... /trees/0.0" and downloaded the tarball.

At the moment, there is no "autogen.sh".
Please read the INSTALL file. You need to run "autoreconf -i".