Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aguerson opened this issue Oct 24, 2024 · 4 comments
Open

Comments

@aguerson
Copy link

aguerson commented Oct 24, 2024

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.

@Jarod42
Copy link
Member

Jarod42 commented Oct 24, 2024

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

@aguerson
Copy link
Author

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
Copy link
Member

Jarod42 commented Oct 24, 2024

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.

@SimoneStarace
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants