Wargus / wargus

Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales
GNU General Public License v2.0
360 stars 55 forks source link

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

Open aguerson opened 3 hours ago

aguerson commented 3 hours ago

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):

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.

Jarod42 commented 3 hours ago

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

aguerson commented 2 hours ago

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 ?

Jarod42 commented 2 hours ago

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.