Peachgram Docs
StartMaster serverGame serverClientOperations

Run under Wine

Install and start the game server on a headless Linux host

Requirements

  • A recent Wine build and xvfb.
  • The game server files in /opt/bfheroes-146.
  • A systemd unit for the virtual display and one for the server.

Start order

  1. bfheroes-xvfb starts the virtual display.
  2. bfheroes-server runs start-server.sh after it.
bash
systemctl status bfheroes-server --no-pager | head
journalctl -u bfheroes-server -n 50 --no-pager

Client-side patches

The server accepts clients with modified archives only if the archive hash check is disabled. Rename std_archive.md5 to std_archive.md5.disabled in the server directory.

Without this change, modified clients fail with an invalid client data error.

On this page