Latest Posts

Topic: Game craches without recognizable indication

Tibor

Joined: 2009-03-23, 22:24
Posts: 1377
Ranking
One Elder of Players
Location: Slovakia
Posted at: 2017-01-28, 18:14

which should return only executables (=files) in the path:

$ which widelands
 /usr/bin/widelands
$ ls -al /usr/bin/widelands
-rwxr-xr-x 1 root root 7411576 nov 27 08:21 /usr/bin/widelands
$ file /usr/bin/widelands
/usr/bin/widelands: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=59ecc044ebbfaa3f346b3cc01a7d8340d5b257b3, stripped

Of course, it is still possible that your installation of widelands (executable itself) is not in path, in that case which would not report it

Edited: 2017-01-28, 18:15

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 19:48
Posts: 2441
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-01-28, 18:54

Goofy wrote:

I don't understand your first tip: What should I zooming or scrolling?

When you start a new game you could zoom in and out with your mouse wheel face-smile.png


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

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 19:48
Posts: 2441
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-01-28, 19:36

kaputtnik wrote:

Goofy wrote:

I don't understand your first tip: What should I zooming or scrolling?

When you start a new game you could zoom in and out with your mouse wheel face-smile.png

Edit: If you have a newer version than build19


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

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-01-28, 22:06

in /usr/games/widelands, /usr/games is the path and widelands the executable, so you can run that by typing /usr/games/widelands.

To get a list of your PPAs for Widelands, try running

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep widelands

Busy indexing nil values

Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-29, 07:07

@Tibor

on my last post I was a little bit wrong: the command

'which widelands'

shows the path to that widelands-file, which is in my case in the directory

'/usr/games/' (not '/usr/share/games/widelands', where are those directories named data and the others)

That file 'widelands' there is from 04.12.2016 21:42

The command:

'ls -al /usr/games/widelands'

prints out:

'-rwxr-xr-x 1 root root 7747664 Dez 4 21:42 /usr/games/widelands'

The command:

'file /usr/games/widelands'

prints out:

'/usr/games/widelands: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=cca03c17118c528660ef7f2d312dfe8306c1db8e, stripped'

@kaputtnick

Ahh ok... No, the zooming with mouse-wheel doesn't works face-sad.png

face-wink.png

It means, that it's not the daily-version, which is running on my computer... face-sad.png

@GunChleok

the command:

'grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep widelands'

print out:

/etc/apt/sources.list.d/widelands-daily-update.list:## Widelands Daily Build

/etc/apt/sources.list.d/widelands-daily-update.list:deb http://ppa.launchpad.net/widelands-dev/widelands-daily/ubuntu yakkety main

/etc/apt/sources.list.d/widelands-daily-update.list:deb-src http://ppa.launchpad.net/widelands-dev/widelands-daily/ubuntu yakkety main

(...the list-name 'widelands-daily-update.list' is my individual creation)

(in between: thanks for your efforts)

face-smile.png


Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 19:48
Posts: 2441
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-01-29, 13:12

Maybe a silly question: Have you run

sudo apt-get update

after adding the ppa?


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

Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-30, 07:53

Hello kaputtnik,

no, an update 'never' isn't silly... face-smile.png

In my case I could have sworn, that I've done it many times, but:

'sudo apt-get update'

was only a small update, but then I've done a completly update via using the APTus-tool. And I've seen by the terminal-lines, that something is going on with the daily-widelands-version. It was a download about 169MB...!

But if I started widelands after, the game crashes...!

I will send you the printed output from the terminal:

(Unfortunately I don't know, how I can get that nice text-block, which you are using...)

Unexpected error during the game [/build/widelands-19+repack/src/graphic/image_io.h:35] Image not found: images/ui_fsmenu/mainmenu.jpg

Please report this problem to help us improve Widelands. You will find related messages in the standard output (stdout.txt on Windows). You are using build build-19 (Release). Please add this information to your report.

Widelands attempts to create a savegame when errors occur during the game. It is often – though not always – possible to load it and continue playing.

Caught exception (of type '13ImageNotFound') in outermost handler! The exception said: [/build/widelands-19+repack/src/graphic/image_io.h:35] Image not found: images/ui_basic/scrollbar_background.png

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


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-01-30, 08:46

Looks like widelands isn't finding the path to your data directory. Do you have /usr/share/games/widelands/data on your computer?

You get the nifty code boxes with ~~~~ before and after - check the "Help on Syntax" link when posting.


Busy indexing nil values

Top Quote
Goofy
Avatar
Topic Opener
Joined: 2017-01-24, 10:47
Posts: 29
OS: Linux-x86_64 (Manjaro)
Version: 1.1 release
Ranking
Pry about Widelands
Location: Berlin
Posted at: 2017-01-30, 09:38

Yes, the directory

~~~~/usr/share/games/widelands/data~~~~

already exists


Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-01-30, 13:57

Can you try handing it to Widelands with the --datadir option, to see if it fixes it? If it is still messed up, use apt-get to uninstall widelands and widelands-data and then install again - maybe it got confused.


Busy indexing nil values

Top Quote