wargus icon indicating copy to clipboard operation
wargus copied to clipboard

Crash Wargus 3.3.2 - Multiplayers - LAN - Ubuntu 22.04 LTS - GOG installer

Open aguerson opened this issue 1 year ago • 4 comments

Describe the bug I try to play to wargus 3.3.2 on Ubuntu 22.04 LTS in multiplayers in LAN and it crashes

To Reproduce Steps to reproduce the behavior: Disable firewall or iptables if exist Install Wargus on ubuntu Compile Wargus with GOG installer ( no error ) Launch wargus Enter in Menu "Multi player Game" Change Nickname Choose "Create Game" Select a map ( Classic/Bridge to bridge combat.pud.smp.gz" ) Select Create Game Wait the second player/computer

=> Do the same install on a second computer with the same conf ( ubuntu 22.04 LTS without iptables or firewall ) and with a different Nickname => Select "Join Local Game" => Add server => Change server IP => Press OK

The two Nickname/player are under the "Players" list.

The second computer press "Ready"

The first player/computer press "Start Game"

It crashes !

Expected behavior The game must be launch the map

Screenshots and Logs no verbose logs... It just crashes without any args. Same with wargus -p It just say " Stratagus failed to load game data. If you just launched the game without any arguments, this may indicate a bug with the extraction process..."

The game works very well in solo mode...

I read the others issues, I didn't see the same problem... Am I alone in this case ? What do you need to debug ? I try to launch with a "strace" tool, but nothing. Something hardcoded in lua ?

Desktop (please complete the following information):

  • OS: [Ubuntu]
  • Version [22.04 LTS]

Please guys, could you help me ? I would like to play with my friends and my children to this mythic old school game of my childness. Thanks.

aguerson avatar Oct 24 '24 16:10 aguerson

Reading "$(document)/Stratagus/stderr.txt" & "stdout.txt" might give some indications of possible issues.

Jarod42 avatar Oct 24 '24 16:10 Jarod42

In Ubuntu there is only two directories

my homedir ~/.stratagus

with "data.Wargus" and "wc2" directories

and

/usr/share/games/stratagus/wargus

No files named "stderr.txt" or "stdout.txt"

How did you launch wargus to have these files ?

aguerson avatar Oct 24 '24 17:10 aguerson

I'm on Windows... On *nix, it seems it is only in regular console output on MacOs, it is in /tmp/stdout.txt

wc2/logs/*.txt might be there if crash happens once game is started.

Jarod42 avatar Oct 24 '24 17:10 Jarod42

Hello @aguerson As @Jarod42 already suggested, you have to check the error from the console/terminal output because the message window:

Stratagus failed to load game data. If you just launched the game without any arguments, this may indicate a bug with the extraction process...

It's pretty generic and doesn't give a specific reason why the game crashed.

ghost avatar Nov 28 '24 14:11 ghost