Skip to content

BattleServerManager does not run on Linux with version 1.15.2 #607

Description

@bgstack15

Versions

1.15.2

Severity

Critical (crashes, data loss)

Describe the bug

Environment: Devuan Linux unstable

In version 1.14.1 of linux-full tarball, the BattleServerManager script runs the .exe with wine, so the battleserver.exe runs.

In version 1.15.2 of linux-full tarball, the BattleServerManager does not run the .exe with wine, so it does not work. Somehow the code lost the ability to detect it needs to run it with wine.

The use of wine is not specified in the config.toml anywhere, or command line execution, so it probably is a change in application behavior. Would you consider reverting the behavior, or adding a config parameter to force "wine" as a token in the invocation before "BattleServer.exe"?

To Reproduce

Run the battle-server-manager directly.

./battle-server-manager/battle-server-manager start -e age2 --logRoot ~/log2 2>&1 | tee -a ~/log/battle-server-manager.3.log

battle-server-manager.1.14.1.log
battle-server-manager.1.15.2.log

Reproducibility

Always

Expected behavior

It somehow detects that it is running in Linux and will run with "wine" (not a full path, so that $PATH will be used)

Software Components

  • Server
  • Server certificate generator (genCert)
  • Launcher
  • Launcher tools (bin subfolder)
  • Battle Server Manager

Games

  • Age of Empires: Definitive Edition
  • Age of Empires II: Definitive Edition
  • Age of Empires III: Definitive Edition
  • Age of Empires IV: Anniversary Edition
  • Age of Mythology: Retold

Operating System

Linux

OS Version

Unstable

Linux Distribution

Devuan

OS Architecture

x86-64 (Intel, AMD, etc.)

Network environment

LAN

Number of players involved

No response

Full logs

No response

Launcher logs

No response

Server logs

No response

Game logs

No response

Additional context

No response

Screenshots

No response

Crash dumps

No response

Metadata

Metadata

Assignees

Labels

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions