Latest Posts

Topic: I can't launch the game

Jaypad
Avatar
Topic Opener
Joined: 2015-12-12, 10:59
Posts: 40
Ranking
Pry about Widelands
Location: France
Posted at: 2016-02-07, 21:07

Hi,

I have a little problem with the current release : I can't launch it on Linux Mint 17.3.

The output of the terminal :

Set home directory: /home/ju/.widelands
Adding directory: /usr/share/games/widelands/data
selected language: (system language)
using locale fr_FR.UTF-8
Graphics: Try to set Videomode 1366x768
Graphics: OpenGL: Version "3.0 Mesa 10.5.9"
Graphics: SDL_GL_RED_SIZE is 8
Graphics: SDL_GL_GREEN_SIZE is 8
Graphics: SDL_GL_BLUE_SIZE is 8
Graphics: SDL_GL_ALPHA_SIZE is 0
Graphics: SDL_GL_BUFFER_SIZE is 24
Graphics: SDL_GL_DOUBLEBUFFER is 1
Graphics: SDL_GL_DEPTH_SIZE is 24
Graphics: SDL_GL_STENCIL_SIZE is 8
Graphics: SDL_GL_ACCUM_RED_SIZE is 0
Graphics: SDL_GL_ACCUM_GREEN_SIZE is 0
Graphics: SDL_GL_ACCUM_BLUE_SIZE is 0
Graphics: SDL_GL_ACCUM_ALPHA_SIZE is 0
Graphics: SDL_GL_STEREO is 0
Graphics: SDL_GL_MULTISAMPLEBUFFERS is 0
Graphics: SDL_GL_MULTISAMPLESAMPLES is 0
Graphics: SDL_GL_ACCELERATED_VISUAL is 1
Graphics: SDL_GL_CONTEXT_MAJOR_VERSION is 2
Graphics: SDL_GL_CONTEXT_MINOR_VERSION is 1
Graphics: SDL_GL_CONTEXT_FLAGS is 0
Graphics: SDL_GL_CONTEXT_PROFILE_MASK is 2
Graphics: SDL_GL_SHARE_WITH_CURRENT_CONTEXT is 0
Graphics: SDL_GL_FRAMEBUFFER_SRGB_CAPABLE is 0
Graphics: OpenGL: Double buffering enabled
Graphics: OpenGL: Max texture size: 8192
Graphics: OpenGL: ShadingLanguage: "1.30"
**** GRAPHICS REPORT ****
 VIDEO DRIVER x11
 pixel fmt 370546692
 size 1366 768
**** END GRAPHICS REPORT ****

Caught exception (of type '17FileNotFoundError') in outermost handler!
The exception said: Could not find file: could not find file or directory: shaders/fill_rect.fp

This should not happen. Please file a bug report on version bzr7800-201602071346(Release).
and remember to specify your operating system.


If you have an idea for me...
Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-02-08, 01:10

Do you have a "shaders" directory in /usr/share/games/widelands/data?

If not, maybe your data directory is in /home/ju/.widelands/data?

You can manually set the data directory with the --datadir option.


Busy indexing nil values

Top Quote
SirVer

Joined: 2009-02-19, 15:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2016-02-08, 07:09

I just realized that we do not install the "shaders" directory in our CMakeLists.txt, therefore our PPA is not including it. Thanks for reporting Jaypad! The issue is fixed in r7802, I am building a new PPA version as I write this.


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2434
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2016-02-08, 08:36

The exception said: Could not find file: could not find file or directory: shaders/fill_rect.fp

Maybe it would be better if the error message contain the whole path/to/missing? I believe this helps developers and users.


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-02-08, 09:01

kaputtnik wrote:

The exception said: Could not find file: could not find file or directory: shaders/fill_rect.fp

Maybe it would be better if the error message contain the whole path/to/missing? I believe this helps developers and users.

Good idea, I'll look into that


Busy indexing nil values

Top Quote
SirVer

Joined: 2009-02-19, 15:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2016-02-08, 21:48

Maybe it would be better if the error message contain the whole path/to/missing? I believe this helps developers and users.

As far as Widelands is concerned that is the full path. Our LayeredFilesystem abstraction will search in various places for that file, the first being ~/.widelands/shaders/fill_rect.fp and only the last being <datadir>/shaders/fill_rect.fp. So I do not think the error could contain more information.

Jaypad, is that fixed for you now?


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2016-02-09, 10:51

The layered filesystem is looking in multiple paths, so I have submitted a merge request that will list them all.


Busy indexing nil values

Top Quote
Jaypad
Avatar
Topic Opener
Joined: 2015-12-12, 10:59
Posts: 40
Ranking
Pry about Widelands
Location: France
Posted at: 2016-02-09, 11:14

I have upgraded to version bzr7802-201602080612 and it works fine now.


Top Quote