Page 1 of 1

A Helpful Script to Install TMW .24 in Ubuntu

Posted: 03 Mar 2008, 18:36
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.

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

Posted: 04 Mar 2008, 19:00
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.

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

Posted: 04 Mar 2008, 20:26
by Rotonen
How about us actually providing the .deb for now?

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

Posted: 05 Mar 2008, 17:48
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?

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

Posted: 06 Mar 2008, 06:42
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.

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

Posted: 07 Mar 2008, 01:58
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

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

Posted: 07 Mar 2008, 13:18
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.

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

Posted: 14 Mar 2008, 04:29
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:

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

Posted: 17 Apr 2008, 20:10
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

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

Posted: 17 Apr 2008, 20:51
by Vink
That's good. :) Maybe someone could write a script to install it on Fedora?

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

Posted: 17 Apr 2008, 23:12
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

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

Posted: 17 Apr 2008, 23:16
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

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

Posted: 05 May 2008, 19:24
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.

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

Posted: 08 May 2008, 08:06
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).