---------
THE FILE STRUCTURE FOR THE INSTALL SCRIPT HAS CHANGED, THIS HAS BEEN ADDRESSED IN THE SCRIPTS FOR UNINSTALLING AND UPGRADING. YOU MUST USE THE FULL UNINSTALL SCRIPT FOR TMW 0.0.27 IF YOU INSTALLED PRIOR TO 12/24/08, AND THEN USE THE INSTALL SCRIPT BELOW!
--------
These scripts do not include tmw's music
INDEX:
Installing The Mana World 0.0.27
Uninstalling 0.0.26 & Updating to 0.0.27 (If you used the script before 12/24/08)
Completely removing The Mana World & Guichan (If you used the script before 12/24/08)
Completely removing The Mana World & Guichan (If you used the script after 12/23/08)
Migrating to the new file structure in version 0.0.27 (Required for future versions of the scripts)
-----------
This is the script for installing The Mana World 0.0.27 on Ubuntu:
Code: Select all
# This is the tmw STABLE install script, for version 0.0.27 of tmw, and
# 0.8.1 of guichan.
# This script is especially made for Ubuntu/Kubuntu/Xubuntu Hardy Heron & Intrepid Ibex
# This script is licensed under the GPL v.2
# The contributors and creators to/of this script disclaim
# all warranties and liability, and are not responsible for damages/losses
# of any kind.
# bash, wget, and tar are required for this script.
sudo apt-get install build-essential libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl1.2-dev libphysfs-dev zlib1g-dev libxml2-dev libcurl4-gnutls-dev
mkdir ~/.programs
mkdir ~/.programs/tmw
mkdir ~/.programs/src
cd ~/.programs/src
wget http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz
tar -vzxf guichan-0.8.1.tar.gz
cd guichan-0.8.1
./configure --prefix=$HOME/.programs/tmw
make
make install
cd ~/.programs/src
wget http://downloads.sourceforge.net/themanaworld/tmw-0.0.27.tar.gz
tar -vzxf tmw-0.0.27.tar.gz
cd tmw-0.0.27
export LDFLAGS="$LDFLAGS -L$HOME/.programs/tmw/lib"
export CPPFLAGS="$CPPFLAGS -I$HOME/.programs/tmw/include"
./configure --prefix=$HOME/.programs/tmw
make
make install
cd ~
Code: Select all
chmod u+x tmw27-install.sh
Code: Select all
./tmw27-install.sh
Code: Select all
# This is the tmw STABLE run script, for version 0.0.27 of tmw
# This script is licensed under the GPL v.2
# The contributors and creators to/of this script disclaim
# all warranties and liability, and are not responsible for damages/losses # of any kind.
# bash is required for this script.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.programs/tmw/lib &&
$HOME/.programs/tmw/bin/tmw
Code: Select all
chmod u+x tmw.sh
Code: Select all
./tmw.sh