Jump to content
Eternal Lands Official Forums
Guest MCbookworm

EL on the raspberry pi

Recommended Posts

Guest MCbookworm

I am trying to get Eternal Lands to run on my Raspberry Pi as per the instructions here. Every time I try to run it i get the error...

Fatal Error: servers.lst missing

Can anyone help me fix this?

Share this post


Link to post
Share on other sites

If you run from the directory containing the data files, it should work OK. To run from elsewhere, copy the server servers.lst into $HOME/.elc and edit $HOME/.elc/main/el.ini changing the #data_dir line to point at your data.

It's easy to compile your own client too, just use the same instructions as to compile for Debian/Ubuntu:

 

 

Share this post


Link to post
Share on other sites
Guest MCbookworm

Neither of these worked. I still get the same error after editing the .ini file, and I can't compile the client. Is there any other possible solutions?

Share this post


Link to post
Share on other sites

Those solutions should work, I can't see why not.

You should be able to compile the client on a raspberry pi with those instructions.  It would not change the error you are getting though.  This is on one of my pis from the terminal:

git clone git://github.com/raduprv/Eternal-Lands.git
cd Eternal-Lands/
sudo apt-get install build-essential git libcal3d12-dev libsdl-image1.2-dev libsdl-net1.2-dev libxml2-dev libopenal-dev libvorbis-dev
make -f Makefile.linux

You will also need the data files but it sounds like you have them already.  I get a few compiler warnings which I'll look into.

Edited by bluap

Share this post


Link to post
Share on other sites
Guest MCbookworm
6 hours ago, bluap said:

Those solutions should work, I can't see why not.

You should be able to compile the client on a raspberry pi with those instructions.  It would not change the error you are getting though.  This is on one of my pis from the terminal:


git clone git://github.com/raduprv/Eternal-Lands.git
cd Eternal-Lands/
sudo apt-get install build-essential git libcal3d12-dev libsdl-image1.2-dev libsdl-net1.2-dev libxml2-dev libopenal-dev libvorbis-dev
make -f Makefile.linux

You will also need the data files but it sounds like you have them already.  I get a few compiler warnings which I'll look into.

If it helps, here is the error I get when using [make -f Makefile.linux] 

Quote

  CC   2d_objects.o
*** Error in `gcc': double free or corruption (top): 0x00b575f8 ***
Aborted
Makefile.linux:116: recipe for target '2d_objects.o' failed
make: *** [2d_objects.o] Error 1
 

 

 

Share this post


Link to post
Share on other sites

It that is the cause, you could also try:

make -f Makefile.linux PLATFORM=""

If you have copied servers.lst over could you post the output from this command:

ls -l $HOME/.elc/servers.lst

 

Edited by bluap

Share this post


Link to post
Share on other sites
Guest MCbookworm

okay, so I was able to compile it, but when I tried to run "el.x86.linux.bin" I got this error

Quote

libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
init.c:782: Fatal error while loading data files. Either set the data_dir correctly or run from the data directory.

Also when I do "ls -l home/pi/el/servers.lst" I get

Quote

-rw-r--r-- 1 pi pi 736 Mar 29  2010 /home/pi/el/servers.lst

 

Share this post


Link to post
Share on other sites
Guest MCbookworm

I managed to fix the compiled version (I just had to go into the .ini fil, and change the directory.) But it know displays the same error "Fatal Error: servers.lst File Missing". Also in case it helps "ls -l" give me this for the one I compiled.

 

-rw-r--r-- 1 pi pi 881 Jan 31 21:29 /home/pi/mo/Eternal-Lands/servers.lst

 

Share this post


Link to post
Share on other sites
Guest bluap (as guest)

The file needs to be in /home/pi/.elc/ not /home/pi/el/  note the /.elc/ bit, the dot is important too.

Share this post


Link to post
Share on other sites
Guest MCbookworm

I tried deleting everything, recompiling it, and running the client. But the only thing that showed up in .elc was a folder called "log", and I got the same error about the servers.lst file. So I copied and pasted it into .elc and now I get

Quote

/home/pi/Eternal-Lands/el.x86.linux.bin
Failure reading el.ini
 

 

Share this post


Link to post
Share on other sites
Guest MCbookworm

Alright, I tried that and I get the window to pop up. But it then immediately closes, and I get this error

Quote

pi@raspberrypi:~ $ cd /home/pi/Eternal-Lands/

pi@raspberrypi:~/Eternal-Lands $ ./el.x86.linux.bin
libGL error: MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
init.c:782: Fatal error while loading data files. Either set the data_dir correctly or run from the data directory.

 

And the data directory is set to /home/pi/Eternal-Lands

Share this post


Link to post
Share on other sites

For the data_dir issue, edit el.ini in both

/home/pi/Eternal-Lands/

and /home/pi/.elc/main/

and set:

#data_dir = "/home/pi/Eternal-Lands/"

Make sure you keep the # at the beginning of the line.

If that still doesn't work, you are probably missing some data files.

Edit:. Can you pastebin ~/.elc/main/el.ini and /home/pi/Eternal-Lands/el.ini and post the links here?

Regarding the mesa issue, try upgrading if possible to the latest libdrm and mesa versions you can get your hands on.

 

 

 

Edited by hussam

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×