How to play 2.8.1 on debian sid

All general stuff game related to Egoboo gameplay (Characters, tactics, etc.).

Moderator: Developers

kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

How to play 2.8.1 on debian sid

Post by kiyop »

I am using debian sid.
I downloaded http://downloads.sourceforge.net/egoboo ... 8.1.tar.gz to home directory of an usual user.
$ sux
# gzip -d egoboo-2.8.1.tar.gz
# tar -x egoboo-2.8.1.tar
# cd egoboo-2.8.1/src
# make all
gave an error message like SDL-mixer.h and so forth is not found.
Thus,
# apt-get install libsdl-mixer1.2-dev libsdl-image1.2-dev libphysfs-dev (and so on, though I do not remember well)
And I repeatedly executed
# make all

Finally, no error came after executing
# make all

So, I executed
# make install

Then there came an error message showing that there was no ./basicdat found.
basicdat was at the parent directory: egoboo-2.8.1.
So, I made a symlink.
# ln -s ../basicdat basicdat
Similarly, I made symlinks: modules, controls.txt, setup.txt.
Finally,
$ make install PREFIX=$HOME/.local
succeeded apparently.
Then I found egoboo-2.x in egoboo-2.8.1/src/game.
So I executed,
# cd game
# ./egoboo-2.x
There came the following messages:
Initializing filesystem services...
Game directories are:
Binaries: /usr/games/
Data: /usr/share/games/egoboo-2.x
User Data: /home/kiyoshi/.egoboo-2.x
Config Files: /usr/etc/egoboo-2.x
and egoboo did not start.

How to play egoboo 2.8.1 on debian sid?
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Re: How to play 2.8.1 on debian sid

Post by penguinflyer5234 »

make all set the prefix for the egoboo executable to /usr, not $HOME/.local.
do a make all PREFIX=$HOME/.local and then a make install PREFIX=$HOME/.local
...
kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

Re: How to play 2.8.1 on debian sid

Post by kiyop »

penguinflyer5234 wrote:make all set the prefix for the egoboo executable to /usr, not $HOME/.local.
do a make all PREFIX=$HOME/.local and then a make install PREFIX=$HOME/.local
Thanks for your reply.
But I cannot understand how to do your way correctly because I am not familiar with make command.
Especially, I cannot understand how to do the following:
penguinflyer5234 wrote:make all set the prefix for the egoboo executable to /usr, not $HOME/.local.
First, I removed egoboo directory (~/egoboo-2.8.1) and /usr/games/egoboo-2.x

Code: Select all

~$ rm -r egoboo-2.8.1
$ rm -r /usr/games/egoboo-2.x
And tar again

Code: Select all

~$ tar -xf egoboo-2.8.1.tar
and

Code: Select all

~$ cd egoboo-2.8.1/src
~/egoboo-2.8.1/src$ make all PREFIX=/usr
~/egoboo-2.8.1/src$ make all PREFIX=$HOME/.local
~/egoboo-2.8.1/src$ sudo make install PREFIX=$HOME/.local
Then, again ./basicdat was not found.
So, again,

Code: Select all

~/egoboo-2.8.1/src$ ln -s ../basicdat basicdat
~/egoboo-2.8.1/src$ ln -s ../module module
~/egoboo-2.8.1/src$ ln -s ../controls.txt controls.txt
~/egoboo-2.8.1/src$ ln -s ../setup.txt setup.txt
~/egoboo-2.8.1/src$ sudo make install PREFIX=$HOME/.local
It showed that egoboo is successfully installed.
Then,

Code: Select all

~/egoboo-2.8.1/src$ game/egoboo-2.x
The following was again shown and the game did not start.
Initializing filesystem services...
Game directories are:
Binaries: /usr/games/
Data: /usr/share/games/egoboo-2.x
User Data: /home/kiyoshi/.egoboo-2.x
Config Files: /usr/etc/egoboo-2.x
Maybe I did a stupid thing.

I will be glad if you write correct commands which should be executed.

Excuse me.

I will try to learn about make command.
darknight
Acid Blob (New member)
Acid Blob (New member)
Posts: 1
Joined: Tue Jan 03, 2012 7:30 pm
Contact:

Re: How to play 2.8.1 on debian sid

Post by darknight »

Hello everyone I am new to this forum.

THANK_FOR_ALL
kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

Re: How to play 2.8.1 on debian sid

Post by kiyop »

darknight wrote:Hello everyone I am new to this forum.

THANK_FOR_ALL
???
Do not post such a meaningless post which is not related to the first post of mine, in this thread.
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Re: How to play 2.8.1 on debian sid

Post by bgbirdsey »

Don't modify any of the files or the directory structure.

Use the two following commands from "egoboo-2.8.1" (not from "egoboo-2.8.1/src" ):
  • make all PREFIX=$HOME/.local
  • make install PREFIX=$HOME/.local
kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

Re: How to play 2.8.1 on debian sid

Post by kiyop »

bgbirdsey wrote:Don't modify any of the files or the directory structure.

Use the two following commands from "egoboo-2.8.1" (not from "egoboo-2.8.1/src" ):
  • make all PREFIX=$HOME/.local
  • make install PREFIX=$HOME/.local
Of course, I had first tried the above before I first posted here.
But, whenever I executed above-mentioned way,

Code: Select all

~/egoboo-2.8.1$ make all PREFIX=$HOME/.local
The following error message was shown.
make: *** No rule to make target `all'. Stop.
Thus, I tried many things and found that the above command can be successfully executed when current directory is ~/egoboo-2.8.1/src.

Is my situation strange?
Any ideas?
kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

Re: How to play 2.8.1 on debian sid

Post by kiyop »

I finally found work around by myself.

Code: Select all

~/egoboo-2.8.1/src$ mv * ..
~/egoboo-2.8.1/src$ cd ..
~/egoboo-2.8.1$ make all PREFIX=$HOME/.local
~/egoboo-2.8.1$ sudo make install PREFIX=$HOME/.local
~/egoboo-2.8.1$ cd game
~/egoboo-2.8.1$ ./egoboo-2.x
started the egoboo!!! :D

~/egoboo-2.8.1/src$ mv * ..
is the key!!
Maybe, a kind of bug? :?
kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

Another problems

Post by kiyop »

In playing, when I push the key set to go up, the player goes down. When I push the key set to go left, the player goes right.
When I push "rotate camera right", the screen becomes black for a little time and again the screen displays, but all the players become transparent.
Terrible bug.

I enjoyed egoboo 2.7.4 on Ubuntu 10.04 and Windows Me very much.

So, I am very sad to know that it is difficult for me to play egoboo 2.8.1 on debian sid correctly.

Edit: I found that this kind of bug was reported 8 months ago.
http://egoboo.sourceforge.net/phpBB3/vi ... f=5&t=1267

Maybe I should run egoboo 2.8.1 or 2.8.2 on windows.
User avatar
octagon
Darkshine Knight (Extremist fanatic)
Darkshine Knight (Extremist fanatic)
Posts: 2589
Joined: Sat Feb 20, 2010 1:07 pm

Re: How to play 2.8.1 on debian sid

Post by octagon »

Then you apparently use the version in which control key inputs were processed as the wrong data type... This is fixed in v2.9.0.
Also, welcome.
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Re: Another problems

Post by penguinflyer5234 »

kiyop wrote:When I push "rotate camera right", the screen becomes black for a little time and again the screen displays, but all the players become transparent..
Sadly, this has not been fixed in Egoboo 2.9.0 rc1 (at least in Mac and I assume Linux as well)
...
bgbirdsey
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)
Posts: 1864
Joined: Wed Jul 23, 2008 4:22 am
Location: Minnesota, USA

Re: How to play 2.8.1 on debian sid

Post by bgbirdsey »

If you are a praying person, please do so! :P

But seriously, please do!
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Re: How to play 2.8.1 on debian sid

Post by Zefz »

Sadly, this has not been fixed in Egoboo 2.9.0 rc1
Still trying to figure out if the current 2.9.0 is working enough to try and fix. I am pretty sure we had a very stable version around when I reimplemented A*. The current RC seems to have a couple of serious issues though. And the SVN version still needs a lot of work - birdsey is working fervently on it!
kiyop
Acid Blob (New member)
Acid Blob (New member)
Posts: 10
Joined: Mon Jan 02, 2012 4:28 pm

How to play 2.9.0 rc1 on debian sid

Post by kiyop »

Thanks for all who posted here.

In booting debian sid, I downloaded
egoboo-2.9.0-src.tar.gz
from
http://www.2shared.com/file/Dt_Pd5Iq/eg ... rctar.html
to my home folder (/home/USER_NAME).

Code: Select all

~$ tar -xzf egoboo-2.9.0-src.tar.gz
~$ cd egoboo-2.9.0-src
~/egoboo-2.9.0-src$ make all PREFIX=$HOME/.local
But it did not make.
I found again src directory and src/game and src/game/Makefile so,

Code: Select all

~/egoboo-2.9.0-src$ cd src/game
~/egoboo-2.9.0-src/src/game$ make -f Makefile
But nothing was done for "all".
So, again

Code: Select all

~/egoboo-2.9.0-src/src/game$ cd ..
~/egoboo-2.9.0-src/src$ make all PREFIX=$HOME/.local
Messages like that shown in compilation started and finally, error messages were shown.
So, I gave up and started again after removing files and directories.

Code: Select all

~/egoboo-2.9.0-src/src$ cd ../..
~$ rm -r egoboo-2.9.0-src
~$ tar -xzf egoboo-2.9.0-src.tar.gz
~$ cd egoboo-2.9.0-src/src
~/egoboo-2.9.0-src/src$ mv * ..
~/egoboo-2.9.0-src/doc directory contains files and so ~/egoboo-2.9.0-src/src/doc was not moved to it.

Code: Select all

~/egoboo-2.9.0-src/src$ cd ..
~/egoboo-2.9.0-src/src$ make all PREFIX=$HOME/.local
Again, the similar error messages were shown.

The error messages are:
gcc -Os -Wall -DPREFIX=\"/home/USER_NAME/.local\" -D_NIX_PREFIX -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o platform/sys_linux.o platform/sys_linux.c
platform/sys_linux.c: In function ‘sys_popup’:
platform/sys_linux.c:98:16: warning: the comparison will always evaluate as ‘false’ for the address of ‘strcmp’ will never be NULL [-Waddress]
platform/sys_linux.c:98:26: error: expected ‘)’ before ‘session’
platform/sys_linux.c:98:43: error: expected statement before ‘)’ token
platform/sys_linux.c:111:25: error: ‘cmd’ undeclared (first use in this function)
platform/sys_linux.c:111:25: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [platform/sys_linux.o] Error 1
make[1]: Leaving directory `/home/USER_NAME/egoboo-2.9.0-src/game'
make: *** [egoboo] Error 2
Is what I did wrong?
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Re: How to play 2.8.1 on debian sid

Post by penguinflyer5234 »

No, I just never tested Egoboo 2.9.0 rc1 with Linux to see if it worked :|

else if ( 0 == strcmp session, "kde" ) ) type = KDIALOG;
should be
else if ( 0 == strcmp( session, "kde" ) ) type = KDIALOG;

if (0 <= system(cmd) ) break;
should be (?)
if (0 <= system(buffer) ) break;
...
Post Reply