Page 1 of 2

Egoboo runs ridiculously fast on Ubuntu

Posted: Tue Dec 30, 2008 3:44 pm
by carpii
Hi,

Im intrigued by this game, having just found it in the Ubuntu repositories.
Sadly, the repos only have version 2.22 and this runs ridiculously fast.

Its unplayable since I cant even control the lil guy properly, and holding down NUMPAD 7 spins the camera at around 1000 revs per second.

Are there any config tweaks I can make to slow it down?

Also I know I can customise the controls, but I dont even understand the defaults. There seems to be TGB/YHN and then A and S which sometimes do the same as one or two of the TGB/YHN

Moving the mouse moves the guy by a tiny amount (a few pixels). Not useful enough to control him, and controlling him via keys seems cumbersome

Am I missing something? I played nethack for over 15 years and this looks like a fun game if I could only get it running as I think it ought to :(

Any advice from anyone using the ubuntu repos please?

Posted: Tue Dec 30, 2008 4:08 pm
by Shade
2.2.2? You should switch to the newest version, that one is way outdated. =o
The newest versions have, aside from tons of new contents and features, a configurable FPS-limit that keeps the game from becoming uncontrollably fast.

The basic keyboard controls are:

T: Left Hand Use
Y: Right Hand Use
G: Left Hand Pickup/Drop
H: Right Hand Pickup/Drop
B: Left Hand Inventory (Take out something or put your current item into it)
N: Right Hand Inventory (Take out something or put your current item into it)
0 (Numpad): Jump
The 2,4,6 and 8 keys on the numpad control your character, 7 and 9 control the camera. However, if those bother you too much, you can also reconfigure them as you like. (Send me a PM if you need help at doing so)

The A and S keys are part of the mouse control, but I'd recommend you to stick with the keyboard or a gamepad, the mouse control sucks badly.

Other than that, welcome to the Egoboo community. :)

Posted: Tue Dec 30, 2008 4:13 pm
by Cimeries
Hello and welcome, have a cookie. :cookie:

2.22 is actually very old. You should try one of the more recent stable releases, which you can get at our site.
I'm not familiar with Ubuntu myself, so I don't know if this will help, but you should always try the latest stable version. We have some members who are familiar with Ubuntu, I'm sure they can help you.

Mouse movement is quite outdated (as it was written over 8 years ago, by Egoboo's original creator), we're still looking for someone who can rewrite it.

I agree that the standard key configuration is uncomfortable, so I'm using a custom one.
You can easily set your own key configuration in controls.txt.
Oh, and you might want to check if any of the listed controllers share keys, as this could be the cause of your problem.

Here's mine if you want to try it:

Code: Select all

Keyboard
========
Jump			: KEY_PAD_0
Left Hand Use		: KEY_PAD_7
Left Hand Get/Drop	: KEY_PAD_4
Left Hand Inventory	: KEY_PAD_1
Right Hand Use		: KEY_PAD_9
Right Hand Get/Drop	: KEY_PAD_6
Right Hand Inventory	: KEY_PAD_3
Send Message		: KEY_M
Rotate Camera Left	: KEY_Q
Rotate Camera Right	: KEY_E
Zoom Camera In		: KEY_PAD_PLUS
Zoom Camera Out		: KEY_PAD_MINUS
Up			: KEY_W
Down			: KEY_S
Left			: KEY_A
Right			: KEY_D
You use the WASD keys for walking, Q and E for camera rotation, and each hand is monitored with the left and right numpad columns respectively; The top numbers (7 and 9) "use" the item, the middle (4 and 6) put them in you backpack, and the lower (1 and 3) drop the item.
Jump using 0.

Edit: Whoah, Clonks, where did you come from? :P

Posted: Tue Dec 30, 2008 4:26 pm
by Shade
Chainsaw wrote:Edit: Whoah, Clonks, where did you come from? :P
I ate a stalker corpse, allowing me to pop up all of a sudden and vanish just as quickly. :P

EDIT: This is an edit.

Posted: Tue Dec 30, 2008 4:27 pm
by Cimeries
Clonkinator wrote:I ate a stalker corpse, allowing me to pop up all of a sudden and vanish just as quickly again as I came. :P
That doesn't sound right. Especially that last part.

Posted: Tue Dec 30, 2008 4:36 pm
by SimoneB
Hi,

I can confirm I have the same problem on Ubuntu with the 2.2.2 version.
I suggest you to try the newest 2.6.8 version, it's quite straightforward to compile and install it.
BUT, if you get a black screen as the game starts (as I did), it's because of a bug in version 2.6.8 for linux/mac users with newer PCs. You can find my fix here -> http://egoboo.sourceforge.net/forum/vie ... 9195#19195
Remember that if the game starts in fullscreen mode and you get the black screen bug you can quit with ctrl-q!

And, of course, have an exclamation mark :!:

Posted: Tue Dec 30, 2008 5:38 pm
by penguinflyer2222
Hello, welcome and have a lightbulb. :idea:
Yes, that is very outdated..
And people already said everything, the controls, and such.

Posted: Tue Dec 30, 2008 9:58 pm
by PurpleSquerkle
Welcome, carpii, and have a cookie! :cookie:
And I don't think I ever game a cookie to SimoneB, either, so here's yours: :cookie:


Anyhow, everyone already told you this, but I will anyway just because I feel like it: 2.22 is very, very old. Get the newest version, because it's hundreds of times better.

Posted: Tue Dec 30, 2008 10:18 pm
by penguinflyer2222
:agree:
Purple said it!

Posted: Tue Dec 30, 2008 10:22 pm
by carpii
Thanks guys :)

I had already started downloading the source for the latest version, but heres a question..

Looking at the size of the latest tar, Im guessing it contains both the data and source.
Previous releases seem to split data and source into two seperate tars, and the compilation instructions also assume its in two tars.

My problem is that since theres a bit of a directory structure in the tar I have, can anyone explain how to install the data. I managed to compile the game fine, just I dont know which files to copy where

I dont eat cookies, but thanks for the lightbulbs :)

Posted: Tue Dec 30, 2008 10:32 pm
by penguinflyer5234
Basically you copy every folder except for the source folder.

Even you can run egoboo from that folder. All you have to do is copy game/egoboo to the egoboo-2.6.8-crossplatform folder. So everytime you wish to run Egoboo, you can cd to that directory and type ./egoboo!

Posted: Tue Dec 30, 2008 10:38 pm
by PurpleSquerkle
carpii wrote: I dont eat cookies, but thanks for the lightbulbs :)
You eat light bulbs?! :o

Posted: Tue Dec 30, 2008 11:13 pm
by ShellShocker
Why of course, they just slightly injure your teeth.

Posted: Tue Dec 30, 2008 11:28 pm
by SimoneB
There's no need to copy the data into the sources directory.
iirc, the installation on Ubuntu boils down to:
- untar everything
- sudo apt-get install libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl1.2-dev libsdl-ttf2.0-dev build-essential
- cd yourgamefolder/source/game
- make -f Makefile.unix
- make install(not really sure... maybe make -f Makefile.unix install?) OR cp egoboo ../..
- type "egoboo" if you took the "make install" path, or run it from the directory you extracted it to!

Posted: Sun Mar 01, 2009 7:24 am
by Crux
Im having the same issue trying to get the latest ver going. Im pretty new to ubuntu, and I dont understand all the terminal stuff you guys are talking about.