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: Sat Feb 23, 2008 8:24 pm

A Helpful Script to Install TMW .24 in Ubuntu

Post by Srauls » Mon Mar 03, 2008 7:36 pm

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 144 times
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

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

Post by Bjørn » Tue Mar 04, 2008 8:00 pm

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: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

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

Post by Rotonen » Tue Mar 04, 2008 9:26 pm

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

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

Post by Bjørn » Wed Mar 05, 2008 6:48 pm

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
Novice
Novice
Posts: 365
Joined: Wed Mar 05, 2008 11:21 am
Location: Sweden

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

Post by Vink » Thu Mar 06, 2008 7:42 am

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
Novice
Novice
Posts: 325
Joined: Sat Apr 21, 2007 10:27 am
Location: Denmark

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

Post by GonzoDark » Fri Mar 07, 2008 2:58 am

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
MerlinX420
Warrior
Warrior
Posts: 574
Joined: Sun Dec 23, 2007 5:42 am

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

Post by MerlinX420 » Fri Mar 07, 2008 2:18 pm

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
Novice
Novice
Posts: 365
Joined: Wed Mar 05, 2008 11:21 am
Location: Sweden

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

Post by Vink » Fri Mar 14, 2008 5:29 am

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
Novice
Novice
Posts: 325
Joined: Sat Apr 21, 2007 10:27 am
Location: Denmark

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

Post by GonzoDark » Thu Apr 17, 2008 9:10 pm

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 72 times
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
Vink
Novice
Novice
Posts: 365
Joined: Wed Mar 05, 2008 11:21 am
Location: Sweden

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

Post by Vink » Thu Apr 17, 2008 9:51 pm

That's good. :) Maybe someone could write a script to install it on Fedora?
User avatar
GonzoDark
Novice
Novice
Posts: 325
Joined: Sat Apr 21, 2007 10:27 am
Location: Denmark

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

Post by GonzoDark » Fri Apr 18, 2008 12:12 am

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 66 times
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
User avatar
GonzoDark
Novice
Novice
Posts: 325
Joined: Sat Apr 21, 2007 10:27 am
Location: Denmark

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

Post by GonzoDark » Fri Apr 18, 2008 12:16 am

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 79 times
IchigoBlack (86) a.k.a GonzoDark (80) || HolyManaClan

Image
Srauls
Peon
Peon
Posts: 3
Joined: Sat Feb 23, 2008 8:24 pm

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

Post by Srauls » Mon May 05, 2008 8:24 pm

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
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

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

Post by Bjørn » Thu May 08, 2008 9:06 am

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