HOWTO: Installing The Mana World with a few easy steps

Discussion in 'Linux' started by Zorofroozo, Jan 20, 2009.

  1. Zorofroozo

    Zorofroozo

    Joined:
    Sep 28, 2008
    Messages:
    89
    Likes Received:
    0
    I am not maintaining this script any longer. The basic code of the script should be fine, urls could change, and the tmw version will certainly change, keep that in mind !

    first try the game, Acer has created a simple installer. just unzip and install. problem with this file is that it is an old version. It is unsupported and has some isues, your character is also without clothes and hair. As thus, for the complete experience, follow my guidelines;)

    [REPORTED PROBLEMS]

    None atm :)

    Fixed issues
    Script shows errors during configure step while trying to compile tmw 21-01-09 FIXED@30-01-09


    first get the newest repositories if you haven't yet done so

    "About a month ago there was an intrusion into Fedora servers, and while the signing key for all packages was not compromised Fedora still decided to resign all packages with a new key as a security measure. A few days ago repositories with the new key have gone live. That leads to quite a few unresolved dependency problems if you're still using the default repositories on Acer Aspire One Linux, which are not updated anymore. To switch to the new repositories just use the command below which will enable updates-newkey and automatically get all new packages from there." [thx macles ^^]

    do
    Code:
    sudo yum install fedora-release
    now for some extra repositories you'll need the rpmfusion repo and the kwizzart testing repo (rpmfusion replaces livna)
    Code:
    sudo -c 'rpm -Uvh [url]http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm[/url] http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
    Code:
    sudo rpm -Uvh [url]http://rpms.kwizart.net/kwizart-release-8.rpm[/url]
    Code:
    sudo yum install --enablerepo=kwizart-testing

    then do
    Code:
    sudo yum install imake automake make gcc gcc-c++ curl-devel SDL-devel SDL_gfx-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL_net-devel physfs-devel libxml2-devel
    this should install the devel packages and because the needed packages for the devel are missing, it'll add them to, press "y" and let it download and install them

    press alt+f2 and then type
    Code:
    mousepad
    or use any other text editor and then make a file called tmw28install.sh in the directory /home/user/Desktop/ with the following code

    if you get errors here, wich you shouldn't, leave me a reply or pm

    Code:
    # This is the tmw ALPHA1 install script, for version 0.0.28 of tmw, and
    # 0.8.1 of guichan.
    # This script is especially made for Ubuntu/Kubuntu/Xubuntu Hardy Heron & Intrepid Ibex
    # and then edited by Zorofroozo to work under Linpus linux lite for the Acer Aspire One
    # The original 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.
    # this script is an adapted version from the tmw forum: [url]http://forums.themanaworld.org/viewtopic.php?f=7&t=5498[/url]
    # many thanks for original script to kr0n05931 and Platyna
    
    mkdir ~/.programs
    mkdir ~/.programs/tmw
    mkdir ~/.programs/src
    cd ~/.programs/src
    wget [url]http://guichan.googlecode.com/files/guichan-0.8.1.tar.gz[/url]
    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 [url]http://downloads.sourceforge.net/themanaworld/tmw-0.0.28.tar.gz[/url]
    tar -vzxf tmw-0.0.28.tar.gz
    cd tmw-0.0.28
    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 ~
    then in the directory /home/user/Desktop use the following command in terminal
    (use "cd $HOME/desktop" to get there, cd is used to navigate, if you want to go one directory down, type "cd ..")
    Code:
    chmod u+x tmw28install.sh
    this will make the file executable, then run the script by using the following command
    Code:
    ./tmw28install.sh
    in /home/user/Desktop

    Now it will download and install all needed libraries the game The Mana World.

    next, you need to create another script called tmw.sh in /home/user/Desktop with this code
    Code:
    # This is the tmw STABLE run script, for version 0.0.28 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.
    # this is a copy paste from [url]http://forums.themanaworld.org/viewtopic.php?f=7&t=5498[/url]
    # many thanks for original script to kr0n05931 and Platyna
    
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/.programs/tmw/lib &&
    $HOME/.programs/tmw/bin/tmw
    then in the directory /home/user/Desktop use the following command in terminal
    Code:
    chmod u+x tmw.sh
    now, to run the game you only need one more step, use this code in terminal
    Code:
    sudo ln -s /home/user/Desktop/tmw.sh /usr/bin/tmw
    this wil create a symbolic link from your tmw.sh script to /user/bin/ so you can simply type "tmw" in the terminal and the game should work perfectly.

    As thus, type
    Code:
    tmw
    in terminal and you can play The Mana World

    if you want to uninstall the game, use this script, it will leave all the libraries. (only The Mana World and guichan8.1 is removed) You don't want those libraries? okay, look at the bottom of the page.

    So once again, you create a script called tmw28uninstall.sh with the following code in th /home/user/Desktop directory

    Code:
    # This is the tmw STABLE uninstall script, for version 0.0.28 of tmw and 0.8.1 of guichan
    # This script is especially made for Ubuntu/Kubuntu/Xubuntu Hardy Heron & Intrepid Ibex
    # and then edited by Zorofroozo to work under Linpus linux lite for the Acer Aspire One
    # 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 and make are required for this script.
    # many thanks for original script to kr0n05931 and Platyna
    
    cd ~/.programs/src/tmw-0.0.28
    make uninstall
    cd ~/.programs/src/guichan-0.8.1
    make uninstall
    cd ~/Desktop
    rm tmw.sh
    rm tmw28install.sh
    rm -r -f /home/user/.programs/
    
    then in the directory /home/user/Desktop use the following command in terminal
    Code:
    chmod u+x tmw28uninstall.sh
    then run it using the following code in the /home/user/Desktop/ directory
    Code:
    ./tmw28uninstall.sh
    finally, do
    Code:
    rm tmw28uninstall.sh
    and type "y" to accept

    So YOU want to remove the libraries to do ya? then use this command
    Code:
    sudo yum remove curl-devel SDL-devel SDL_gfx-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL_net-devel physfs-devel libxml2-devel
    You can also remove Imake, automake, make and gcc, but i whould advice against it, unless you're never going to compile a thing again;)
    Code:
    sudo yum remove imake automake make gcc gcc-c++ curl-devel SDL-devel SDL_gfx-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel SDL_net-devel physfs-devel libxml2-devel

    if it does not work there are some possibility's,
    1) you don't have all needed libraries, this means i forgot to add a certain library or i had it previously, best way to do that is to run "./configure" yourself, so make a smaller script which does everything excluding the first "./configure" and then do that step yourself, please give me the output of the terminal window.
    2) the game does not run, did you create the symlink? Did it compile correctly? Are you using the shell script to run the game or the executable?
    3) others, if so, plz let me know so i can make corrections in the script
     
    Zorofroozo, Jan 20, 2009
    #1
  2. Zorofroozo

    Zorofroozo

    Joined:
    Sep 28, 2008
    Messages:
    89
    Likes Received:
    0
    If this worked for you, leave me a thank you, so i know i didn't wrote this just for fun ^^
     
    Zorofroozo, Feb 1, 2009
    #2
  3. Zorofroozo

    blueberry

    Joined:
    Jan 22, 2009
    Messages:
    2
    Likes Received:
    0
    blueberry, Feb 2, 2009
    #3
  4. Zorofroozo

    Zorofroozo

    Joined:
    Sep 28, 2008
    Messages:
    89
    Likes Received:
    0
    if you want it running on debian, you could use the ubuntu script (ubuntu also works with .deb files i believe)
     
    Zorofroozo, Feb 2, 2009
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.