Jump to content
Eternal Lands Official Forums
Sign in to follow this  
kooseefoo

Linux 64-Bit Version

Recommended Posts

Hey. I'm just trying to check out Eternal Lands, and have been thwarted completely by Eternal Lands' need for the libsdl_net.so.0 file. Unfortunately, I'm running a 64-bit version of SuSE linux and changing my entire architecture isn't possible. Would it be possible to create a version that uses the 64-bit libsdl_net?

Edited by kooseefoo

Share this post


Link to post
Share on other sites
Hey. I'm just trying to check out Eternal Lands, and have been thwarted completely by Eternal Lands' need for the libsdl_net.so.0 file. Unfortunately, I'm running a 64-bit version of SuSE linux and changing my entire architecture isn't possible. Would it be possible to create a version that uses the 64-bit libsdl_net?

 

Your best bet is to compile a 64bit version of the EL client.

Share this post


Link to post
Share on other sites
How would I go about doing that. I don't have any previous experience creating packages. I have compiled from source before, however.

 

Thanks,

Chris

 

You don't need to create a package, just compile the EL client source code. That will give you a bin file that is tailored for your setup.

 

Go to this website: http://developer.berlios.de/cvs/?group_id=1256 and follow the instructions to get the source code (The module name is elc).

 

Edit the 'Makefile.linux' and add '-DX86_64' to the 'OPTIONS=' line.

 

Change the line 'PLATFORM=-march=i686' to 'PLATFORM=-march=k8'. This assumes that you have a AMD64 cpu, if not then you should google to find out what your cpu requires.

 

The 'STATICLIBS' line in the makefile will give you clues as to what dev packages you need to have loaded to sucessfully compile.

 

To compile: make -f Makefile.linux release

To clean a partial/complete compile: make -f Makefile.linux clean

 

Make sure you have the original client downloaded/extracted somewhere and then copy the compiled bin into that directory. Voila, all *should* be working.

 

Apologies if there are any errors in this, but I'm doing it from memory as I'm at work.

 

Any problems, then post here and I'll try to help.

Edited by Murlock

Share this post


Link to post
Share on other sites

Okay, I got the CVS source, edited thet Makefile.linux like you said (yes, I am running an AMD64). However, when I run the make command, here is what happens:

/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[1]: *** [el.x86.linux.bin] Error 1
make[1]: Leaving directory `/home/cchampion/elc'
make: *** [release] Error 2

It runs smoothly (I've added several devel packages and built cal3d from source) until it hits this part. From the man pages, I read that ld is a linker, but I have no idea what is causing the error.

 

 

Thanks,

Chris

Edited by kooseefoo

Share this post


Link to post
Share on other sites
cannot find -lGLU
this means it can't find the library (-l ) called GLU. you need up-to-date opengl and glut dev packages for EL

Share this post


Link to post
Share on other sites

Hey guys!!

 

Well, I am very happy to report that I got it working. It built fine after I fixed the glut problem. However, when I run the executable I create inside the directory that the original client is in, it couldn't find a bunch of files in /usr/local/games/el. I have no idea why it would be looking around there for these files, as I never installed anything. However, because EL wouldn't respond to changes in the el.ini file, I moved my entire EL installation to that folder, hoping to solve the problem that way. The game runs fine, and all the errors about not finding books, languages, or actor definitions disappear. However, all the text in the game dies. Instead of text, everything is colored boxes.

 

Thanks,

Chris

Edited by kooseefoo

Share this post


Link to post
Share on other sites
/usr/local/games/el

However, because EL wouldn't respond to changes in the el.ini file

cat ~/.elc/el.ini
However, all the text in the game dies. Instead of text, everything is colored boxes.
use -DFONTS_FIX in the makefile

Share this post


Link to post
Share on other sites

Okay, I got the el.ini thing. That was silly of me... haha.

 

The -DFONTS_FIX was already enabled. I tried turning it off, but the same problem still occurs.

 

 

Thanks,

Chris

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×