A Helpful Script to Install TMW .24 in Ubuntu

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
Srauls
Peon
Peon
Posts: 3
Joined: 23 Feb 2008, 19:24

A Helpful Script to Install TMW .24 in Ubuntu

Post by Srauls »

I wrote this script to help the Users install TMW .24 on Ubuntu. The script will uninstall the old dependencies and install the new dependencies. It will also compile and install everything for you or at least it should. Uncompress the file to get to the .sh script.

The 2 Requirements needed to use is this script is
1. Uninstall your old TMW first
2. Run it in the terminal window it may ask you for your password

If you have any problems please post them so I can help improve the script and the usability of the script.
Attachments
TMW-24-Install.sh.tar.gz
(748 Bytes) Downloaded 180 times
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Bjørn »

You may want to change that to build an actual .deb file that users can pop in and out of there system easily, since your script is currently installing the game into /usr/local and I think quite some users will not know how to properly uninstall it again.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: 08 Sep 2004, 19:48
Location: Bern, Switzerland

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Rotonen »

How about us actually providing the .deb for now?
This message used to be meaningful.
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Bjørn »

Rotonen wrote:How about us actually providing the .deb for now?
Somebody who knows how to do that could start by documenting this process on the wiki. Maybe the-me could do this?
Vink
Warrior
Warrior
Posts: 365
Joined: 05 Mar 2008, 10:21
Location: Sweden

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Vink »

There were lots of these errors:
792: parser error : Extra content at the end of the document
and then it stopped after this:
Ställer in libsdl-image1.2-dev (1.2.5-3) ...
Ställer in libguichan2-dev (0.7.1-1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Is further information needed? I thought it was too long.
User avatar
GonzoDark
Warrior
Warrior
Posts: 327
Joined: 21 Apr 2007, 09:27
Location: Denmark

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by GonzoDark »

Srauls wrote:I wrote this script to help the Users install TMW .24 on Ubuntu. The script will uninstall the old dependencies and install the new dependencies. It will also compile and install everything for you or at least it should. Uncompress the file to get to the .sh script.

The 2 Requirements needed to use is this script is
1. Uninstall your old TMW first
2. Run it in the terminal window it may ask you for your password

If you have any problems please post them so I can help improve the script and the usability of the script.
Works like a charm! :mrgreen:

Thanks a lot!

// GonzoDark
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Merlin »

I found a much easier solution and the *.deb Files for ubuntu

http://packages.ubuntu.com/hardy/tmw
http://packages.ubuntu.com/hardy/tmw-data
http://packages.ubuntu.com/hardy/tmw-music

To install from Package Manager add the following repository:
http://mirror.mcs.anl.gov/pub/ubuntu/hardy main universe

Of course adding this will make your system want to update to the latest 8.04 Packages, but you can remove it after you have install tmw.
MerlinX420
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music. Has anybody seen this princess I'm looking for?
Vink
Warrior
Warrior
Posts: 365
Joined: 05 Mar 2008, 10:21
Location: Sweden

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Vink »

Thank you Merlin! The address for the package manager didn't work, but I found one that did through the links. This was indeed much easier. :mrgreen:
User avatar
GonzoDark
Warrior
Warrior
Posts: 327
Joined: 21 Apr 2007, 09:27
Location: Denmark

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by GonzoDark »

I made a updated version of the script - the attached file.

Unpack the zipped file onto your desktop, and then;

#cd Desktop
#sh TMW-0.0.24.1-32bit.sh

enjoy

// GonzoDark
Attachments
TMW-0.0.24.1-32bit.sh.zip
(758 Bytes) Downloaded 108 times
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
Vink
Warrior
Warrior
Posts: 365
Joined: 05 Mar 2008, 10:21
Location: Sweden

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Vink »

That's good. :) Maybe someone could write a script to install it on Fedora?
User avatar
GonzoDark
Warrior
Warrior
Posts: 327
Joined: 21 Apr 2007, 09:27
Location: Denmark

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by GonzoDark »

Just wanted to tell that the script works on a old Ubuntu installation and a new/fresh installation.

also made a music script.

to install it;

unpack the zip file onto the desktop, and then;

#cd Desktop
#sh music.sh

// GonzoDark
Attachments
music.sh.zip
(354 Bytes) Downloaded 99 times
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
User avatar
GonzoDark
Warrior
Warrior
Posts: 327
Joined: 21 Apr 2007, 09:27
Location: Denmark

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by GonzoDark »

It is maybe kinda silly to have 2 files... so I made it into one "TMW-0.0.24.1-32bit-with-music" =)

To install it;

Extract the file onto the desktop and then open the terminal and type;

Code: Select all

#cd Desktop
#sh TMW-0.0.24.1-32bit-with-music.sh
enjoy

// GonzoDark
Attachments
TMW-0.0.24.1-32bit-with-music.sh.zip
(841 Bytes) Downloaded 112 times
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
Srauls
Peon
Peon
Posts: 3
Joined: 23 Feb 2008, 19:24

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Srauls »

GonzoDark Nice update to the script. I didn't realize that there was a updated version to .24.1, and it was a nice addition to add in the music.
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Re: A Helpful Script to Install TMW .24 in Ubuntu

Post by Bjørn »

I would still recommend people to just upgrade to Hardy instead, which includes both tmw 0.0.24.1 and tmwmusic 0.1 (where I guess we should request the latter to be updated to 0.2).
Post Reply