Crash in Preferences

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Keigachi
Posts: 1
Joined: May 3rd, 2018, 9:59 pm

Crash in Preferences

Post by Keigachi »

Hi,

I cant access the preference menu. I always get the Error Data directory:


Checking lua scripts... ok
Caught general 'St8bad_cast' exception:
std::bad_cast

and the game crashes

Pref file looks like this:

color_cursors=yes
encountered_terrain_list="Ch, Ct, Ft, Gg^Efm, Gg^Fet, Gg^Ve, Gg, Gll^Fds, Gll^Fms, Gs^Efm, Gs^Fds, Gs^Fms, Gs, Gt, Kh, Re^Es, Re, Vt, Wst, Ww^Bw/, Ww^Ewf, Ww"
encountered_units="Elder Mage,Fighter"
grid=no
scroll_threshold=10
show_haloes=yes
turbo=no
turbo_speed=2
xresolution=1680
yresolution=1050
[completed_campaigns]
[/completed_campaigns]
[history]
[/history]


-----

The Battle for Wesnoth version 1.14.0
Running on Microsoft Windows 10 (10.0.16299)

Game paths
==========

Data dir: C:\Program Files (x86)\Battle for Wesnoth 1.14.0
User config dir: E:\documents\My Games\Wesnoth1.14
User data dir: E:\documents\My Games\Wesnoth1.14
Saves dir: E:\documents\My Games\Wesnoth1.14\saves
Add-ons dir: E:\documents\My Games\Wesnoth1.14\data\add-ons
Cache dir: E:\documents\My Games\Wesnoth1.14\cache

Libraries
=========

Boost: 1.59
OpenSSL/libcrypto: 1.1.0f (runtime 1.1.0f)
Cairo: 1.10.2 (runtime 1.10.2)
Pango: 1.30.1 (runtime 1.30.1)
SDL: 2.0.4 (runtime 2.0.4)
SDL_image: 2.0.0 (runtime 2.0.0)
SDL_mixer: 2.0.0 (runtime 2.0.0)
SDL_ttf: 2.0.12 (runtime 2.0.12)

Features
========

Experimental OpenMP support: yes
JPG screenshots: no
Lua console completion: yes
Legacy bidirectional rendering: no
Win32 notifications back end: yes


-----

The Battle for Wesnoth version 1.14.0
Running on Microsoft Windows 10 (10.0.16299)

Game paths
==========

Data dir: C:\Program Files (x86)\Battle for Wesnoth 1.14.0
User config dir: E:\documents\My Games\Wesnoth1.14
User data dir: E:\documents\My Games\Wesnoth1.14
Saves dir: E:\documents\My Games\Wesnoth1.14\saves
Add-ons dir: E:\documents\My Games\Wesnoth1.14\data\add-ons
Cache dir: E:\documents\My Games\Wesnoth1.14\cache

Libraries
=========

Boost: 1.59
OpenSSL/libcrypto: 1.1.0f (runtime 1.1.0f)
Cairo: 1.10.2 (runtime 1.10.2)
Pango: 1.30.1 (runtime 1.30.1)
SDL: 2.0.4 (runtime 2.0.4)
SDL_image: 2.0.0 (runtime 2.0.0)
SDL_mixer: 2.0.0 (runtime 2.0.0)
SDL_ttf: 2.0.12 (runtime 2.0.12)

Features
========

Experimental OpenMP support: yes
JPG screenshots: no
Lua console completion: yes
Legacy bidirectional rendering: no
Win32 notifications back end: yes
Post Reply