Recent Add-ons bug on multiplayer macOS?

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
mihaim
Posts: 5
Joined: September 19th, 2020, 9:18 pm

Recent Add-ons bug on multiplayer macOS?

Post by mihaim »

Wesnoth 1.6.11 on macOS Sonoma Steam

I'm frequently playing with a friend Ultimate Wesnoth Survival add-on. A month or so ago the following problem started only on mac:

When I Join official server, Create, Ultimate wesnoth survival - pvp race I get ERROR Failed to load scenario

On load an existing game, I get: ERROR Mandatory WML child missing yet untested for. Please report.
After that error, all Add-ons disappear from Create game (last available scenario listed is 9p - Merkwuerdigliebe)

Other observation: Ultimate wesnoth survival pack in add-ons has None for Dependencies, Website and Translations (only on Mac, on windows it's good).
I am able to create and load a local game though but I don't want to play solo.

I've read the guidelines for bug reporting but if I enter that command to write logs on Steam command then the game will not start.
I searched the forums for the add-on to find its thread but there seem to be none (except one where some guys praise it).

This happens on an intel Mac and on a different Apple silicon one. (All good on windows)
User avatar
Ravana
Forum Moderator
Posts: 3016
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Recent Add-ons bug on multiplayer macOS?

Post by Ravana »

Clear cache and reinstall addon.
mihaim
Posts: 5
Joined: September 19th, 2020, 9:18 pm

Re: Recent Add-ons bug on multiplayer macOS?

Post by mihaim »

Clearing the cache doesn't work obviously since I've mentioned that I installed the game fresh on another Mac.

Here's a screen recording.
Attachments
wesnothfail.mov
(1.14 MiB) Downloaded 24 times
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Recent Add-ons bug on multiplayer macOS?

Post by Pentarctagon »

What command did you enter in Steam?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
mihaim
Posts: 5
Joined: September 19th, 2020, 9:18 pm

Re: Recent Add-ons bug on multiplayer macOS?

Post by mihaim »

The one in the guide for Mac Steam: %COMMAND% 2> ~/wesnoth.log
With this the game won't start.
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Recent Add-ons bug on multiplayer macOS?

Post by Pentarctagon »

Can you try running it from the console?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
mihaim
Posts: 5
Joined: September 19th, 2020, 9:18 pm

Re: Recent Add-ons bug on multiplayer macOS?

Post by mihaim »

How do I run it from the console?

admin@192-168-0-105 DEV % /Users/admin/Library/Application\ Support/Steam/steamapps/common/wesnoth/The\ Battle\ for\ Wesnoth.app
zsh: permission denied: /Users/admin/Library/Application Support/Steam/steamapps/common/wesnoth/The Battle for Wesnoth.app
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Recent Add-ons bug on multiplayer macOS?

Post by Pentarctagon »

I've never used macOS, so I don't know - maybe you need to use the standalone dmg?
https://sourceforge.net/projects/wesnot ... h-1.16.11/
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Iris
Site Administrator
Posts: 6799
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: Recent Add-ons bug on multiplayer macOS?

Post by Iris »

mihaim wrote: February 19th, 2024, 4:18 pm How do I run it from the console?

admin@192-168-0-105 DEV % /Users/admin/Library/Application\ Support/Steam/steamapps/common/wesnoth/The\ Battle\ for\ Wesnoth.app
zsh: permission denied: /Users/admin/Library/Application Support/Steam/steamapps/common/wesnoth/The Battle for Wesnoth.app
Try running this instead:

Code: Select all

'/Users/admin/Library/Application Support/Steam/steamapps/common/wesnoth/The Battle for Wesnoth.app/Contents/MacOS/The Battle for Wesnoth'
(The single quotes around the entire thing are just an easier way to escape the whitespace in the pathname. The only real difference is that this invocation actually points to the real executable and not the .app, which is just a specially-structured folder and not an executable file. You'd have to do a similar invocation even if you used the .dmg version Pentarctagon linked.)
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
mihaim
Posts: 5
Joined: September 19th, 2020, 9:18 pm

Re: Recent Add-ons bug on multiplayer macOS?

Post by mihaim »

Thanks Iris, that worked. But outputting to a log file doesn't.

Code: Select all

admin@192-168-0-105 DEV % '/Users/admin/Library/Application Support/Steam/steamapps/common/wesnoth/The Battle for Wesnoth.app/Contents/MacOS/The Battle for Wesnoth' %COMMAND% 2> ~/wesnoth.log    
admin@192-168-0-105 DEV % '/Users/admin/Library/Application Support/Steam/steamapps/common/wesnoth/The Battle for Wesnoth.app/Contents/MacOS/The Battle for Wesnoth' %COMMAND% > ~/wesnoth.log 2>&1
Anyway I grabbed the output from the terminal "manually". The full log is attached.
Some excerpts:

Code: Select all

20240221 10:14:10 error config: Multiple [unit_type]s with id=AE_arc_ukians_Royal_Constable encountered.
20240221 10:14:10 error config: Multiple [unit_type]s with id=AE_arc_ukians_Northern_Fighter encountered.
20240221 10:14:10 error config: Multiple [unit_type]s with id=AE_arc_ukians_Royal_FireKnight encountered.

...

20240221 10:14:44 error engine: Unable to find config for content QQ_UWS_race of type multiplayer
20240221 10:14:44 error engine: Unable to find config for content Ageless Era of type era
20240221 10:14:44 error engine: Couldn't find [multiplayer] with id=QQ_UWS_race
20240221 10:14:44 error general: Failed to load the scenario
Attachments
wesnoth.log.zip
(148.16 KiB) Downloaded 20 times
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Recent Add-ons bug on multiplayer macOS?

Post by Pentarctagon »

That's really bizarre - I don't know what could cause that. If it didn't know what it was, it should exist to be selectable in the first place.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply