Game server overview
How the dedicated Battlefield Heroes server runs and registers matches
The game server is the original dedicated server executable, version 1.46, running under Wine on Linux. It hosts matches over UDP and registers itself with the master server so players can find it.
Components
| Piece | Role |
|---|---|
bfheroes-server | systemd unit that starts the server through start-server.sh |
bfheroes-xvfb | Virtual display required by the executable |
| Wine | Compatibility layer that runs the Windows binary |
Why a virtual display
The dedicated executable still initializes a window. A virtual display lets it start on a headless machine without any monitor.
Cold start takes about 40 seconds. After that the server appears in the match list on its own.
Next steps
Follow Run under Wine, open the ports, and read Restart safely.