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, 20:24

A Helpful Script to Install TMW .24 in Ubuntu

Post by Srauls » 03 Mar 2008, 19:36

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

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

Post by Bjørn » 04 Mar 2008, 20:00

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, 20:48
Location: Espoo, Finland

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

Post by Rotonen » 04 Mar 2008, 21:26

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

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

Post by Bjørn » 05 Mar 2008, 18:48

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: 05 Mar 2008, 11:21
Location: Sweden

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

Post by Vink » 06 Mar 2008, 07:42

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: 21 Apr 2007, 10:27
Location: Denmark

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

Post by GonzoDark » 07 Mar 2008, 02:58

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: 23 Dec 2007, 05:42

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

Post by MerlinX420 » 07 Mar 2008, 14:18

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: 05 Mar 2008, 11:21
Location: Sweden

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

Post by Vink » 14 Mar 2008, 05:29

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: 21 Apr 2007, 10:27
Location: Denmark

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

Post by GonzoDark » 17 Apr 2008, 21:10

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: 05 Mar 2008, 11:21
Location: Sweden

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

Post by Vink » 17 Apr 2008, 21:51

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

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

Post by GonzoDark » 18 Apr 2008, 00:12

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: 21 Apr 2007, 10:27
Location: Denmark

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

Post by GonzoDark » 18 Apr 2008, 00:16

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: 23 Feb 2008, 20:24

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

Post by Srauls » 05 May 2008, 20:24

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: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

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

Post by Bjørn » 08 May 2008, 09:06

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