Guest MCbookworm Report post Posted January 29, 2018 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? Quote Share this post Link to post Share on other sites
bluap Report post Posted January 29, 2018 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: Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted January 31, 2018 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? Quote Share this post Link to post Share on other sites
bluap Report post Posted January 31, 2018 (edited) 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 January 31, 2018 by bluap Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 1, 2018 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 Quote Share this post Link to post Share on other sites
revi Report post Posted February 1, 2018 A quick look on Google shows as possible cause a mis-identification of the architecture. Perhaps those two links might help, though you'll have to adapt the correction to your raspberry version: https://github.com/Motion-Project/motion/issues/104 https://github.com/dpayne/cli-visualizer/issues/27 Quote Share this post Link to post Share on other sites
bluap Report post Posted February 1, 2018 (edited) 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 February 1, 2018 by bluap Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 1, 2018 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 Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 2, 2018 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 Quote Share this post Link to post Share on other sites
Learner Report post Posted February 3, 2018 If I remember correctly, servers,lst is only grabbed from the working directory that the program starts from. Quote Share this post Link to post Share on other sites
Guest bluap (as guest) Report post Posted February 3, 2018 The file needs to be in /home/pi/.elc/ not /home/pi/el/ note the /.elc/ bit, the dot is important too. Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 4, 2018 Is there anything else that needs to been in .elc? Quote Share this post Link to post Share on other sites
bluap Report post Posted February 7, 2018 (edited) As long as you start the client from your data directory, everything will get created. Edited February 7, 2018 by bluap Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 15, 2018 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.binFailure reading el.ini Quote Share this post Link to post Share on other sites
hussam Report post Posted February 16, 2018 cd /home/pi/Eternal-Lands/ then ./el.x86.linux.bin Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 16, 2018 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.binlibGL 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 Quote Share this post Link to post Share on other sites
hussam Report post Posted February 16, 2018 (edited) 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 February 16, 2018 by hussam Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 16, 2018 I have no el.ini file in .elc only a "log" folder and a "main" folder with chat_log.txt and srv_log.txt. But here is my el.ini from home/pi/Eternal-Lands https://pastebin.com/0MhAiFxw mesa and libdrm are both update as well. Quote Share this post Link to post Share on other sites
hussam Report post Posted February 17, 2018 Check for el.ini in that 'main' folder then. Quote Share this post Link to post Share on other sites
Guest MCbookworm Report post Posted February 21, 2018 It's not there just chat_log.txt and srv_log.txt Quote Share this post Link to post Share on other sites
Guest spar Report post Posted November 11, 2018 anyone has managed to make it run on ARM? Quote Share this post Link to post Share on other sites
Guest elguest Report post Posted February 24, 2019 No, applied all the tips but got the same errors as Guest MCbookworm. Quote Share this post Link to post Share on other sites
bluap Report post Posted February 24, 2019 (edited) You can also try my snap package. Comes complete with everything and should just run... On a pi 3 B, I get about 7 FPS inside and 1 fps outside but I've not accelerated the graphics. https://snapcraft.io/eternallands https://docs.snapcraft.io/installing-snap-on-raspbian/ Edited February 24, 2019 by bluap Quote Share this post Link to post Share on other sites