Guest Ampersat Report post Posted August 22, 2018 Hi, I'm having some issues with getting Eternal Lands to launch on my Raspberry Pi 3B+. I have RetroPie 4.4 on it. I've spent a lot of time learning how to use this thing and I'm getting it well-configured, but I still have to look up almost every command I use in the command line. I've tried to use this 2 year old Reddit post and I've got questions. Is there an updated version of the guide available? I'm told to enable OpenGL support. Fine, but I'm pretty certain I've used OpenGL to run Quake 3 Arena and zDoom. I'm assuming that in the two years since this post was made that it became part of the main RetroPie build, but I wouldn't know how to check that. The bin file being misnamed is fine and good, but I'd like to know if there's an updated release for the Raspberry Pi. I noticed a few Raspberry Pi help requests in this forum, I can't help but think that people are in the same boat I'm in. I imagine quite a few more are not going to bother registering here to get assistance. I untar'd it, easy enough to Google how to do this. ('sudo tar xvfz el_pi.tar.gz' when you're in the directory if you're a clueless Googler like me) Still, in the next guide, maybe just write the single line it would take to streamline the process. Finally, when I get to this point, the guide simply says to start it. Ok, 'el.x86.linux.bin' is sitting where I expect it when I check with WinSCP. I'm a little familiar with DOSbox, so I tried typing the file name with extension, which obviously doesn't work. I've thrown a few commands I've found at it, none work. I'm not sure if it's because I'm running the commands under the 'Pi' user, but I've tried adding sudo in front just to be sure. I'm attempting to install to opt/retropie/ports/el, which I know the opt directory needs elevated privileges, but I'd like to be able to launch it within Emulation Station instead of via command line. I realize this is linux 101 stuff. I'd be happy to provide logs. Quote Share this post Link to post Share on other sites
bluap Report post Posted August 22, 2018 I've not used this build but to run a Linux binary you normally open a terminal then: Move to the directory containing the binary, which I assume contains the data too cd /opt/retropie/ports/el Then run the binary ./el.x86.linux.bin If that does not work, then post the error message you get. Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 23, 2018 Error returned is: './el.x86.linux.bin: error while loading shared libraries: libcal3d.so.12: cannot open shared object file: No such file or directory' Quote Share this post Link to post Share on other sites
bluap Report post Posted August 23, 2018 Install the cal3d libraries using sudo apt install libcal3d12v5 Quote Share this post Link to post Share on other sites
bluap Report post Posted August 23, 2018 (edited) You could also try the new flatpak build, there is a setup guide linked from the main page. https://flathub.org/apps/details/org.pjbroad.EternallandsClient This runs on my pi 3 but I've not enabled OpenGL on so the frame rate is low. Note the setup instructions say to run them as root so either switch to root using "sudo -i" or prefix each command with "sudo ". Run the client as your normal user using the command on the app page. Edited August 23, 2018 by bluap Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 23, 2018 28 minutes ago, bluap said: Install the cal3d libraries using sudo apt install libcal3d12v5 Did so. Then, I tried running ./el.x86.linux.bin once more. Display flashes black and shows a new prompt line beneath the command. "pi@retropie:/opt/retropie/ports/el/el" (not a typo, used "dir" to make sure I was in the right place, second subdirectory called "el" is where everything extracted to, just to clarify) I rebooted in case something needed it, tried again. Same results. If there are no alternatives, I'll attempt installation through Flatpak. It's my understanding that the pi build was specifically tweaked for it. If I don't get any other suggestions, I'll test that method. Quote Share this post Link to post Share on other sites
bluap Report post Posted August 23, 2018 There should be some hint in the log file, look at the output form: cat ~/.elc/log/main_*.log Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 23, 2018 6 hours ago, bluap said: There should be some hint in the log file, look at the output form: cat ~/.elc/log/main_*.log Searched my pi via WinSCP (as root user, at root of directory) for main_*.log and had one result at: "./proc/562/task/562/cwd/.elc/log/main_73afc970.log" which became unavailable after I copied the details and went to command line on the Pi. I'm guessing that it was an active file based on the leading '.' So I searched again, found the log at: "./self/task/627/root/home/pi/.elc/log/" [09:11:25, engine/logging.cpp:310] Log started at: Thu Aug 23 09:11:25 2018 UTC [09:11:25, engine/logging.cpp:313] version: 1.9.4 [09:11:25, elconfig.c:1615] Warning: Can't find var 'server_address = game.eternal-lands.com ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'server_port = 2001 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_vertex_array = 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_mipmaps = 0 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'text_filter_replace = smeg ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'compass_north = 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'near_plane= 0.1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'transparency_resolution_fix= 0 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'dim_sounds_on_rain= 0 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'anisotropic_filter= 2 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'render_skeleton= 0 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'render_mesh= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_display_actors= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_actor_bbox_check= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_render_mesh_shader= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_set_transformation_buffers= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_build_actor_bounding_box= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_model_attach_and_detach_mesh= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_render_attached_meshs= 1 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'use_ext_gpu_program_parameters= 0 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'skybox_update_every_frame= 0 ', type 2 [09:11:25, elconfig.c:1615] Warning: Can't find var 'seconds_between_shadows_updates= 10 ', type 2 [09:11:25, init.c:254] Error: read_config() chdir("c:\Program Files\Eternal Lands\/") failed: No such file or directory [09:11:25, io/elpathwrapper.c:664] Warning: Didn't find your data_dir, using the current directory instead. Please correct this in your el.ini . Given data_dir was: "c:\Program Files\Eternal Lands\/". Using "/opt/retropie/ports/el/el". [09:11:25, gl_init.c:219] Error: Video mode 790x545x32 with a stencil buffer is not available Trying this mode without a stencil buffer... [09:11:25, gl_init.c:241] Error: Video mode 790x545x32 without a stencil buffer is not available Trying the safemode (640x480x32) Full Screen (no stencil) [09:11:25, gl_init.c:351] Error: Couldn't find a hardware accelerated stencil buffer. Shadows are not available. [09:11:25, gl_init.c:361] Error: Couldn't set GL mode: OpenGL not available Jackpot. Kinda. In regard to the top of the log, I can confirm my RPi has internet access and have used it through several programs. I see the majority of the errors are graphical issues and obviously it can't use OpenGL. I looked up ZDoom and it apparently uses its own specialized OpenGL. Considering the errors, I'd say zDoom has more than one rendering option. Here is a current (8/23/18 on 4.4 RetroPie) tutorial for enabling OpenGL, there are multiple options. I followed directions this time. Sorry about that. The process is the same as before pretty much, raspi-config, advanced options, though there are 2 versions of "on," full and half-measure. In its current state, emulationstation doesn't launch (there's a message saying it won't with OpenGL enabled (full)), and the auto-login at boot gets screwed up. Now, that's not a problem if I want to enable and disable it to play Eternal Lands vs other games. Unfortunately, after I log in, change directories, and run "sudo ./yadda_yadda_yadda", it produced the same results, display flickers blank, returns a new line. I found two new logs which are identical give or take a minute on timecode. I'm guessing I tried to run it without sudo first. Other than the time codes, they look identical. Here's the later-dated (would have been sudo'd) one: [16:01:40, engine/logging.cpp:310] Log started at: Thu Aug 23 16:01:40 2018 UTC [16:01:40, engine/logging.cpp:313] version: 1.9.4 [16:01:40, elconfig.c:1615] Warning: Can't find var 'server_address = game.eternal-lands.com ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'server_port = 2001 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_vertex_array = 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_mipmaps = 0 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'text_filter_replace = smeg ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'compass_north = 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'near_plane= 0.1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'transparency_resolution_fix= 0 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'dim_sounds_on_rain= 0 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'anisotropic_filter= 2 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'render_skeleton= 0 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'render_mesh= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_display_actors= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_actor_bbox_check= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_render_mesh_shader= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_set_transformation_buffers= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_build_actor_bounding_box= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_model_attach_and_detach_mesh= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_render_attached_meshs= 1 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'use_ext_gpu_program_parameters= 0 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'skybox_update_every_frame= 0 ', type 2 [16:01:40, elconfig.c:1615] Warning: Can't find var 'seconds_between_shadows_updates= 10 ', type 2 [16:01:40, init.c:254] Error: read_config() chdir("c:\Program Files\Eternal Lands\/") failed: No such file or directory [16:01:40, io/elpathwrapper.c:664] Warning: Didn't find your data_dir, using the current directory instead. Please correct this in your el.ini . Given data_dir was: "c:\Program Files\Eternal Lands\/". Using "/opt/retropie/ports/el/el". [16:01:40, gl_init.c:219] Error: Video mode 790x545x32 with a stencil buffer is not available Trying this mode without a stencil buffer... [16:01:40, gl_init.c:241] Error: Video mode 790x545x32 without a stencil buffer is not available Trying the safemode (640x480x32) Full Screen (no stencil) [16:01:40, gl_init.c:351] Error: Couldn't find a hardware accelerated stencil buffer. Shadows are not available. [16:01:40, gl_init.c:361] Error: Couldn't set GL mode: OpenGL not available Mind you, I didn't delete the files and untar it. Had there been an installation process, I would think it was because it didn't have the dependencies in place beforehand, but it's just a decompressed folder... Fun stuff. I'll wait to make sure there's nothing else I should try (or you would like to see the results of) before attempting the Flatpack method. Thanks for your help, I, uh, would be pretty aggravated with me for not just checking the OpenGL via the old method in the first place. Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 23, 2018 Oops, still not approved, can't edit, but... I just noticed the data directory error. I changed the .ini, but I never modified it previously, so... the packaged ini would always point to a C:/ location instead of whatever random directory the RPi user extracted it to. Anyway, I kicked OpenGL back on, rebooted, cd yadda, ./runpls -> blank flicker sudo ./runpls -> blank flicker Searching for logs, I found one, but WinSCP can't open it, it was in the ./proc directory like the very first result. Haha, well, I'll wait to hear back before I try the Flatpack method. Thanks again for the help! Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 23, 2018 Did another search for the logs, here's the latter of the two (first being without sudo command, otherwise identical save timestamps) [16:40:20, engine/logging.cpp:310] Log started at: Thu Aug 23 16:40:20 2018 UTC [16:40:20, engine/logging.cpp:313] version: 1.9.4 [16:40:20, elconfig.c:1615] Warning: Can't find var 'server_address = game.eternal-lands.com ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'server_port = 2001 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_vertex_array = 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_mipmaps = 0 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'text_filter_replace = smeg ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'compass_north = 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'near_plane= 0.1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'transparency_resolution_fix= 0 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'dim_sounds_on_rain= 0 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'anisotropic_filter= 2 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'render_skeleton= 0 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'render_mesh= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_display_actors= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_actor_bbox_check= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_render_mesh_shader= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_set_transformation_buffers= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_build_actor_bounding_box= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_model_attach_and_detach_mesh= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_render_attached_meshs= 1 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'use_ext_gpu_program_parameters= 0 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'skybox_update_every_frame= 0 ', type 2 [16:40:20, elconfig.c:1615] Warning: Can't find var 'seconds_between_shadows_updates= 10 ', type 2 [16:40:20, gl_init.c:219] Error: Video mode 790x545x32 with a stencil buffer is not available Trying this mode without a stencil buffer... [16:40:20, gl_init.c:241] Error: Video mode 790x545x32 without a stencil buffer is not available Trying the safemode (640x480x32) Full Screen (no stencil) [16:40:20, gl_init.c:351] Error: Couldn't find a hardware accelerated stencil buffer. Shadows are not available. [16:40:20, gl_init.c:361] Error: Couldn't set GL mode: OpenGL not available Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 23, 2018 As a heads up to anyone who randomly finds this thread, the update to raspi-config utility or enabling and disabling opengl broke my emulationstation quite badly. About half my game systems have no logos and can't display the games that display under them. So... turning openGL on and off is probably not a viable option at this point if you like games on your Pi besides Eternal Lands... Quote Share this post Link to post Share on other sites
bluap Report post Posted August 24, 2018 Looks like you tried most things. While the flatpak install would be simpler and self contained you would still need a working opengl setup to get a decent frame rate. I'm afk currently so not in a position to try it myself. By the way. It is as advisable not to run the client using sudo. It is not necessary and could cause permission issues for the standard user. You only normally need sudo to install, update and configure system wide software. Quote Share this post Link to post Share on other sites
Guest Ampersat Report post Posted August 28, 2018 Thanks for the help. I'll attempt the Flatpak installation at some point. I've lost my appetite for troubleshooting for the moment. Quote Share this post Link to post Share on other sites