Jump to content
Eternal Lands Official Forums
Aislinn

Compiling Linux Client 6-28-2020

Recommended Posts

9 hours ago, bluap said:

Depending on how fast your system is, you may want to enable full-scene anti-aliasing.  Its in the options under the Video tab (restart required - needs adding to the long description).

That changed the story :) Looks very nice now.

 

As a note for others: I also had to change anti-aliasing settings for the video driver (set to rather low values, as I didn't need/want them for other programs).

Just changing the in-game settings and restarting the client wasn't enough in my case. And with some fonts, I couldn't get a decent looking result whatever I tried (baseline too low, or characters designed too tiny).

Edited by revi

Share this post


Link to post
Share on other sites
21 hours ago, bluap said:

Depending on how fast your system is, you may want to enable full-scene anti-aliasing.  Its in the options under the Video tab (restart required - needs adding to the long description).

 

What is "full-scene" anti-aliasing?  I only have x0, x2, x4, x8, and x16 options.

Share this post


Link to post
Share on other sites
3 hours ago, Aislinn said:

 

What is "full-scene" anti-aliasing?  I only have x0, x2, x4, x8, and x16 options.

It uses additional pixels to smooth the edges of lines and textures.  The higher the value the, smoother its should be.  But more processing is required with higher values and it may lower your FPS.  It's been in the client forever, but could do with being updated and cleaned up a bit.  I'm working on understanding it a bit more and perhaps offering a clearer set of options.

Share this post


Link to post
Share on other sites

Errors when compiling after fix for inventory window numbers disappearing:

 

Update: Issue was achievements.o did not recompile after updates.  Fixed issue by deleting (renaming) .deps folder, ran make -f Makefile.linux clean, and then recompiled client.

 


[sb@arch Eternal-Lands]$ git pull
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 34 (delta 25), reused 24 (delta 15), pack-reused 0
Unpacking objects: 100% (34/34), 12.41 KiB | 215.00 KiB/s, done.
From git://github.com/raduprv/Eternal-Lands
   d0711af2..fee44bef  master     -> origin/master
Updating d0711af2..fee44bef
Fast-forward
 font.cpp              | 341 ++++++++++++++++++++++++++++----------------------
 font.h                | 190 +++++++++++++++-------------
 hud_misc_window.c     |  42 +++++--
 hud_quickbar_window.c |   3 +-
 loginwin.c            |  22 ++--
 widgets.c             | 159 ++++++++++++-----------
 widgets.h             |   7 --
 7 files changed, 432 insertions(+), 332 deletions(-)
[sb@arch Eternal-Lands]$ make -f Makefile.linux
  CC   actor_scripts.o
  CC   bbox_tree.o
  CC   cal.o
  CC   chat.o
  CC   hud_misc_window.o
  CC   hud_quickbar_window.o
  CC   loginwin.o
  CC   misc.o
  CC   sky.o
  CC   storage.o
  CC   special_effects.o
  CC   widgets.o
  CXX  books.o
  CXX  command_queue.o
  CXX  context_menu.o
  CXX  elloggingwrapper.o

  CXX  font.o
font.cpp: In member function ‘void eternal_lands::Font::draw(const unsigned char*, size_t, int, int, const eternal_lands::TextDrawOptions&, size_t, size_t) const’:
font.cpp:916:23: warning: ‘tot_height’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  916 |   draw_help_background(x_left, y, tot_width, tot_height);
      |   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
font.cpp:916:23: warning: ‘tot_width’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  CXX  hud_indicators.o
  CXX  hud_timer.o
  CXX  icon_window.o
  CXX  item_info.o
  CXX  item_lists.o
  CXX  named_colours.o
  CXX  password_manager.o
  CXX  quest_log.o
  CXX  select.o
  CXX  sendvideoinfo.o
  CXX  trade_log.o
  CXX  user_menus.o
  CXX  eye_candy_wrapper.o
  CXX  eye_candy/eye_candy.o
  CXX  eye_candy/effect_wind.o
  CXX  json_io.o
  LINK el.x86.linux.bin
/usr/bin/ld: achievements.o: in function `eternal_lands::Font::reset_soft_breaks(std::__cxx11::basic_string<unsigned char, std::char_traits<unsigned char>, std::allocator<unsigned char> > const&, eternal_lands::TextDrawOptions const&)':
/home/sb/EL-compile/Eternal-Lands/font.h:651: undefined reference to `eternal_lands::Font::reset_soft_breaks[abi:cxx11](unsigned char const*, unsigned long, eternal_lands::TextDrawOptions const&, int*, float*)'
collect2: error: ld returned 1 exit status
make: *** [Makefile.linux:137: el.x86.linux.bin] Error 1
[sb@arch Eternal-Lands]$

Share this post


Link to post
Share on other sites

I found a small issue.

 

With TTF enabled, in the Manufacture window, if you decrease the window size the plus (+) button for the recipes is not being displayed.

The remaining of the window looks OK.

Share this post


Link to post
Share on other sites
10 minutes ago, ladrilho said:

in the Manufacture window, if you decrease the window size the plus (+) button for the recipes is not being displayed.

Fixed, thanks.

Share this post


Link to post
Share on other sites

I have ran into the same error as aisy.

 

/home/***/Eternal-Lands/font.cpp: In member function ‘void eternal_lands::Font::draw(const unsigned char*, size_t, int, int, const eternal_lands::TextDrawOptions&, size_t, size_t) const’:
/home/***/Eternal-Lands/font.cpp:695:12: warning: ‘tot_width’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  glVertex3i(x + width, y + height, 0);
  ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/***/Eternal-Lands/font.cpp:878:6: note: ‘tot_width’ was declared here
  int tot_width, tot_height;
      ^~~~~~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-cast-function-type’

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×