Game crashes on launch (MacOS)
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 5
- Joined: February 22nd, 2021, 3:22 am
Game crashes on launch (MacOS)
If i click into Wesnoth it crashes three to four seconds in before I hit main menu, this started yesterday before adding any updates to the game or my computer. Redownloading Wesnoth both from the official website and from steam.
version 1.14.15 is the one that doesn't work, which i need to do multiplayer
version 1.15.10 does work, but i can't access multiplayer with it so it isn't useful to me
been playing wesnoth for a couple months, didn't have any problems
MacOS Big Sur Version 11.2.2
MacBook Pro
Processor 2.7 GB 2133
I'm not really tech savvy. Any help is appreciated, thank you.
version 1.14.15 is the one that doesn't work, which i need to do multiplayer
version 1.15.10 does work, but i can't access multiplayer with it so it isn't useful to me
been playing wesnoth for a couple months, didn't have any problems
MacOS Big Sur Version 11.2.2
MacBook Pro
Processor 2.7 GB 2133
I'm not really tech savvy. Any help is appreciated, thank you.
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Game crashes on launch (MacOS)
Would you be able to provide the game logs when it crashes?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
-
- Posts: 5
- Joined: February 22nd, 2021, 3:22 am
Re: Game crashes on launch (MacOS)
Data directory: /Applications/The Battle for Wesnoth.app/Contents/Resources
User configuration directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.14
User data directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.14
Cache directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.14/cache
Setting mode to 814x795
Checking lua scripts... ok
WML exception:
User message: Failed to show a dialog, which doesn't fit on the screen.
Dev message: /Users/Shared/wesnoth_1.14/src/gui/widgets/window.cpp:957 in function 'layout' found the following problem: Failed to size window; wanted size 818,465 available size 814,795 screen size 814,795.
logout
Saving session...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
[Process completed]
User configuration directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.14
User data directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.14
Cache directory: /Users/USER/Library/Containers/org.wesnoth.Wesnoth/Data/Library/Application Support/Wesnoth_1.14/cache
Setting mode to 814x795
Checking lua scripts... ok
WML exception:
User message: Failed to show a dialog, which doesn't fit on the screen.
Dev message: /Users/Shared/wesnoth_1.14/src/gui/widgets/window.cpp:957 in function 'layout' found the following problem: Failed to size window; wanted size 818,465 available size 814,795 screen size 814,795.
logout
Saving session...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
[Process completed]
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Game crashes on launch (MacOS)
It looks like the issue is the game is trying to create a window that's larger than your screen. Did this start happening after a system update or a Wesnoth update, or after you started using a different monitor?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
-
- Posts: 5
- Joined: February 22nd, 2021, 3:22 am
Re: Game crashes on launch (MacOS)
No, the problem started before any sort of update.
- Pentarctagon
- Project Manager
- Posts: 5564
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Game crashes on launch (MacOS)
I'm not sure what the problem would be then, to be honest. If the version of Wesnoth didn't change and there wasn't a macOS update and you're using the same monitor as before, there's nothing I can think of that would cause this issue.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Game crashes on launch (MacOS)
One thing to try, given the error message, might be to start Wesnoth from the command line in full screen mode. For some reason Wesnoth seems to remember a window size for you that appears too small to open one of the dialogs.
Repeat the same two steps you used to get the log, with a minor change (the
Repeat the same two steps you used to get the log, with a minor change (the
-f
option when starting the game):
Code: Select all
cd /Applications/The\ Battle\ for\ Wesnoth.app/Contents/MacOS/
./The\ Battle\ for\ Wesnoth -f
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
-
- Posts: 5
- Joined: February 22nd, 2021, 3:22 am
Re: Game crashes on launch (MacOS)
Can you clarify this more? Am I supposed to edit the log?
Re: Game crashes on launch (MacOS)
No, no editing. Just open a terminal (e.g. from Applications -> Utilities -> Terminal) and then enter those two commands.
I thought that's what you had done to get the log in the first place. Apologies if I misunderstood.
I thought that's what you had done to get the log in the first place. Apologies if I misunderstood.
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
-
- Posts: 5
- Joined: February 22nd, 2021, 3:22 am
Re: Game crashes on launch (MacOS)
Oh, alright now I understand. It opened without a problem and now seems to open normally if left on fullscreen mode. I'm still not sure why windowed mode caused this problem but I am very grateful for your help. Thank you very much.
Re: Game crashes on launch (MacOS)
No worries, I'm glad to hear that that worked. There are a whole bunch of reasons why this might have happened, and it's probably impossible to figure out after the fact.
You may now also be able to leave fullscreen mode, resize the window, and then use it in windowed mode again (as long as it's not too small).
You may now also be able to leave fullscreen mode, resize the window, and then use it in windowed mode again (as long as it's not too small).
SP campaigns: Galuldur's First Journey (1.12 & 1.14) & Grnk the Mighty (1.10 & 1.12)
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on
AI experiments: Micro AIs (wiki, forum thread, known/fixed bugs), Fred, AI-demos add-on