1 (edited by Hitwelve 2009-10-02 21:38:15)

Topic: [HELP] How to run TeeWorld in Linux?

Hi everybody,

I'm VERY new to Linux, and can't figure out how to run TeeWorld. I'm running openSUSE 11.1, desktop is KDE 4.something. When I download it and open the folder, it's only got one executable in it and nothing else. The only way I can figure out to open it is to drag it into Konsole, but when I do that, it opens up really weird. I can't see any text, my mouse cursor is like a square with 4 different colors, and in what I think might be the chat box, it's a big box that starts at the left edge and goes almost all the way across, there are more squares just scrolling down.

Am I starting it wrong or something?


Edit: Also, when I close it with Crtl+Shift+Q, and I go back to Konsole, there are a lot of errors. I can copy-paste them if need be.

2 (edited by grummi 2009-10-02 23:14:57)

Re: [HELP] How to run TeeWorld in Linux?

You need the file teeworlds-0.5.1-linux_x86.tar.gz
Copy it to a folder, for example your homefolder. Now go to the Konsole and cd to the folder where you saved the file.
Now type

tar -xvzf teeworlds-0.5.1-linux_x86.tar.gz

That should extract the files to the folder teeworlds-0.5.1-linux_x86.
Now type

cd teeworlds-0.5.1-linux_x86

to change in this folder and

./teeworlds

to start Teeworlds.

To start Teeworlds without the Konsole, make a textfile with this content:

#!/bin/bash
cd [folder-with-downloaded-file]/teeworlds-0.5.1-linux_x86  # "cd ~/teeworlds-0.5.1-linux_x86"   if you saved it in your home folder
./teeworlds

Save it under any name, for example teeworlds.sh
Now you have to execute a last command in the folder where you saved this file:

chmod +x teeworlds.sh

Now you can start Teeworlds by clicking on this file.
You can also add an entry for teeworlds in the menu by entering this file as the command, but I don't know how to do that in KDE.

Edit:
There shouldn't be any more errors when you start it this way.

aka cheesy

3 (edited by Hitwelve 2009-10-03 07:04:47)

Re: [HELP] How to run TeeWorld in Linux?

When I type "cd /home/ben" (My home folder), nothing happens. If I then put in
"tar -xvzf teeworlds-0.5.1-linux_x86_64.tar.gz", I get the error "Cannot open: No such file or directory."

Is there something I'm doing wrong?

EDIT: Nevermind, I found out a simpler way. I just copy-pasted the contents of the folder into my home folder, and clicked the teeworlds executable. Thanks anyway, though.

4

Re: [HELP] How to run TeeWorld in Linux?

Hitwelve wrote:

When I type "cd /home/ben" (My home folder), nothing happens.

That is most likely because the Konsole already starts in your home folder.

If I then put in
"tar -xvzf teeworlds-0.5.1-linux_x86_64.tar.gz", I get the error "Cannot open: No such file or directory."

That's probably because you downloaded a different version or it is in a different folder.
The file you tried to extract from is the 64bit version (linux_x86_64).
Just type tar -xvzf teeworlds and hit the [tab]-key. Then the auto-completion will fill the rest in. This doesn't only work with filenames and directories but also with commands and some options.

Anyway, I'm glad it works for you.
Have fun playing Teeworlds.

aka cheesy