Skip to content
DennisPohlmannPublic

About

A free remake of HLSW - the game server browser and RCON admin tool - for Windows, Linux, macOS and FreeBSD, written in Rust. One native binary, no runtime needed.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

3 stars

Watchers

2 watching

Forks

openHLSW

A free remake of HLSW – the game server browser and RCON admin tool – for Windows, Linux, macOS and FreeBSD, written in Rust. One native binary, no runtime needed.

openHLSW

openHLSW Black

Supported servers

  • Source (SRCDS): CS:S, CS:GO, CS2, TF2, HL2:DM, GMod, L4D and other Source games
  • Half-Life 1 / GoldSrc (HLDS): CS 1.6, Condition Zero, DoD, TFC, NS, TS and other mods
  • Every other game of HLSW's list and of GameQ's list (queries only, about 180 games): GameSpy 1 / 2 / 3 (Battlefield 1942 / 2 / 2142, Unreal Tournament, ArmA, Crysis, Halo …), Unreal 2 (UT2004, Killing Floor), Quake 1 / 2 / 3 (Call of Duty, Enemy Territory, Urban Terror, Warsow …), Doom 3, Frostbite (Battlefield Bad Company 2, 3, 4, Hardline), All-Seeing Eye (MTA, Far Cry, Soldat), Minecraft (Java and Bedrock), SA-MP, FiveM / RedM, Terraria (TShock), Teeworlds, OpenTTD, TeamSpeak 2 / 3, Ventrilo, Mumble and more; Valve games with an own query port (ARK, Squad, Rust …)

What changed between versions: CHANGELOG.md.

Download

Ready-made packages are on the releases page:

System Architectures Packages
Windows 10 / 11 x64, x86, ARM64 .msi (setup wizard), -portable.zip
Linux x86_64, aarch64 .deb, .rpm, .flatpak, .tar.gz
Linux riscv64 .deb, .rpm, .tar.gz
macOS 11+ universal (Apple silicon + Intel) .dmg, .zip
FreeBSD 15 x86_64 .tar.gz
  • Windows: the .msi lets you choose the folder and adds a Start menu entry; updates keep your settings. The portable .zip runs from any folder.
  • Linux: .deb / .rpm add a desktop entry; the binaries also run on older distributions. For servers and machines without a display there is openhlsw-headless (.deb / .rpm, and openhlsw-headless-v…-linux-….tar.gz): only the console tool openhlsw-tui and openhlsw-cli, no GUI and no X11 / Wayland / OpenGL libraries needed. Install either openhlsw or openhlsw-headless; the full package already contains both tools. Flatpak: flatpak install --user openhlsw-…flatpak.
  • macOS: drag openHLSW to Applications. The app is only ad-hoc signed: on the first start, right-click → Open (or xattr -dr com.apple.quarantine /Applications/openHLSW.app).
  • FreeBSD: unpack the .tar.gz and start openhlsw; without a display use openhlsw-headless-v…-freebsd-x86_64.tar.gz (only openhlsw-tui and openhlsw-cli).
  • Checksums: every package has a .sha256 file next to it with its SHA-256 checksum; download both and check with sha256sum --check <package>.sha256.

Languages: English, German, French, Spanish (Argentina), Portuguese (Portugal), Dutch, Danish, Swedish, Norwegian, Finnish, Polish, Czech, Slovak, Hungarian, Turkish, Russian, Chinese (Simplified and Traditional) – the system language by default.

Features

Layout, menus, toolbar and keyboard shortcuts like HLSW 1.4; skin White or Black in a flat look with blue accent and rounded corners (Black by default).

Server list

  • Several lists; add servers as IP:port, host name, steam://connect/… or IP:gameport:queryport. Game list like HLSW's (Auto detect, not detectable games, all games): Auto detect finds Valve, GameSpy 1 and GameSpy 2 servers; for the other games choose the game, the usual port and query port are filled in.
  • New server... (button next to Add, menu Server list, Ctrl+N) adds a server step by step: choose the game first (type to search, the arrow keys switch the game), then host, game port, query port, RCON password and options, comment and start parameters. Each field says whether it is required or optional, and each game shows what it needs (query, transport, ports, auto detection, RCON, server log) right in the window.
  • Import Steam favorites, search the LAN, Multi Server Insert, filter, find (Ctrl+F / F3).
  • Export one server list (chosen in a dropdown) or all as JSON or CSV with the fields you choose (game, comment, parameters, RCON options; the RCON password only when ticked, it is off by default). Import JSON, CSV (semicolon separated, first row names the columns, address required, empty values as "") or a text list; the import wizard shows the format and lets you pick the fields, the target list and whether existing servers are updated.
  • Columns like HLSW: flag, name with game icon (and a key for servers with a password), game, map, players, ping (current + average), version, location and provider, add-ons (MM:S, SourceMod, AMXX, …), anti-cheat, limits, comment. Double-click a header to fit a column, right-click to show / hide columns. Right-click any list header (servers, players, rules, bans, maps, chat, …) to fit the column (Fit column to content) or every column (Fit all columns to content) to its longest value, so nothing is cut off with "…", or to give them their initial width again (Reset column width, Reset all column widths).
  • Refresh every second by default; offline servers turn red, keep their last infos and move to the end of the list.

Server, players and rules

  • Server info with game icon and HLSW's ping graph (fixed scale, green → yellow → red); right-click a value (name, address, map, …) to copy it, its line or all details.
  • Players with country flag and – via RCON status – ping, loss, Steam ID and IP; Battlefield 2 score, deaths, skill, team and bots straight from the query.
  • Mark several players with Ctrl / Shift + click, Ctrl+A, or by dragging a rectangle over them with the mouse like in HLSW (Ctrl + drag adds to the marked players).
  • Right-click menus like HLSW: copy (names, Steam IDs, profile URLs, rows), Steam profile, Global ID Database, kick and ban with a duration – Multi Kick / Multi Ban for several marked players. Rules: copy and change values; after the cvars, HLSW's grey server info rows (gamedir, gamename, steamid, clientcount, …, game_id).

RCON (Source over TCP, Half-Life 1 over UDP)

  • Rcon Config with Auto Update Status and server log (Get Log LAN / Internet). Hide, Save, Auto Update Status and its interval (status every 30 s by default, 5–600 s) are kept per server; new servers start with Hide and Auto Update Status on and Save off.
  • Console like HLSW (switches C * F D E A, find, history, Tab completion); every command a button sends is shown with the server's answer, and so is the periodic status of Auto Update Status (switch A hides it).
  • Chat with Admin Notification (switch D shows the date, S scrolls along, X clears it, the window button opens the big window), Ban List (with the Global ID Database), Change Level (maps side by side in a grid; the search takes part of a name or a pattern with * and ?, such as de_*; arrow keys and Enter work too).
  • The console history keeps the last 200 commands across restarts; commands that may carry a secret (rcon_password, sv_password, login, sv_setsteamaccount, rcon <password> ..., anything containing "password", "passwd" or "token") stay in the history of the running session only and are never saved.

More

  • Connect with player name, start parameters per game and server, password prompt and waiting for a free slot.
  • Trace Route window with ping graph per hop; Global Player ID Database (banned.cfg import / export).
  • Console and Chat in a big window of their own (toolbar button or the window button next to the console or chat input): console above, chat below, the divider can be dragged (console 20–90 %); input, history, find and switches are the same as in the tabs. Size and divider are remembered. Until RCON is connected the window shows the RCON password box of Rcon Config (same password and status), afterwards only a line with the status and Disconnect.
  • The main window opens maximized the first time, later exactly as it was closed: position, size and maximized or not ("Restore" gives the normal size and place you last chose; a window on a monitor that is gone is centered on the main one). Maximized and normal window each remember their own panel layout, saved right after you drag a border.
  • Settings like HLSW: My Games, Startup, Connecting, Rcon, Connections, Plugins (empty, HLSW plugins are not supported), Sounds, Misc; plus MCP for AI clients (off by default, see below).
  • Sharp text: ClearType-like sub-pixel text on Windows, Linux and macOS (automatically off on high-resolution screens), any installed font (shown in its own look), text size 10–16 px (12 px by default). openHLSW brings no fonts of its own.
  • Typing in an open dropdown jumps to the matching entry ("de" → Deutsch).

Console tool openhlsw-tui (in every package, next to openhlsw)

  • openHLSW in the terminal, laid out like the GUI so everything is in the same place: menu bar, server list, details with ping graph on the left, players and rules on the right, the tabs Rcon Config, Console, Chat, Ban List and Change Level at the bottom, status bar. Same server list and console history as the GUI (same config file). Works over SSH.
  • Used like htop and Midnight Commander: Tab / Shift+Tab move between the panels, Alt+1…5 (or Shift+← / →, Ctrl+PgUp / PgDn, Esc and then 1…5) switch the tabs, F9 opens the menu bar; F1 help, F2 console, F3 / / search, F4 / \ filter (servers, players or rules), F5 refresh, F6 sort column (< >, I inverts), F7 add, F8 remove, F10 / q quit; arrows, PgUp / PgDn and the mouse. y copies the address to the terminal's clipboard.
  • Rcon Config: password, Test, Disconnect, Hide, Save (stored like in the GUI). Chat sends say; Ban List shows listid / listip with unban, ban and write; Change Level shows the maps (maps * plus the stock maps) with search (*, ?). Get Log (Internet / LAN) in Rcon Config works like in the GUI (UDP log, HTTP log of Counter-Strike 2, UPnP port forwarding, the GUI's log port settings, asked again on map change): the log shows up in the Console, what players write in the Chat.
  • Every panel stays current, whichever has the focus: like the GUI, each refresh asks every server for its info (ping, map, players count) and the selected one for its players; players and rules of all servers every 10 s. openhlsw-tui -d 5 refreshes every 5 s (default: the GUI's refresh interval, 1 s); -c FILE uses another config file; addresses on the command line are shown too, without saving them.
  • Servers added or removed in the console tool are written to the config file (only the server list, the RCON settings of a server and the console history; everything else is kept). Close the GUI first, it writes its own list when it exits.

openhlsw-tui

Not included on purpose: HLSW login, buddy list, HLSW's web / global server lists (those services are gone), Metamod plugin management.

Good to know

  • Query limit: srcds answers only sv_max_queries_sec queries per second per IP (default 3). openHLSW stays below it (Settings → Misc → Query limit, 2.5/s per server), so the refresh interval can go down to 0.4 s. All servers on one IP address together get at most 10 queries per second (or the query limit, if higher): hosters' firewalls limit the queries per sender and answer with ICMP "port unreachable" or "administratively prohibited" above that. After a timeout the rate for that server is lowered for a while, after such an ICMP error the rate for the whole address, and the query is sent once more before the server counts as unreachable. Timeouts and these errors usually mean a firewall or DDoS protection drops queries; raise the interval or lower the query limit then.
  • Other games: Valve, GameSpy 1 and GameSpy 2 / 3 servers are detected automatically; GameSpy servers with an own query port are entered as IP:gameport:queryport. For all other games choose the game in the game list next to the address field before adding: its usual port and query port are filled in. New server... (Ctrl+N) does the same step by step and says for the chosen game which ports, RCON and server log it has. After adding or deleting a server the list goes back to "Auto detect". These servers have no RCON; Battlefield 2 / 2142 are joined directly on Connect. Ports, query ports, RCON and server log of every game: docs/games.md (also ? → Game servers: ports and RCON and the ? button next to Add).
  • RCON password: the server is only asked with it when you click Test (or press Enter) or send a command, never while typing; after "Bad password" openHLSW does not try again by itself (servers ban addresses after a few failed logins).
  • Location of servers and players comes from ip-api.com (cached, local addresses are not looked up); it can be switched off in Settings → Misc.
  • Update check: at start openHLSW asks GitHub in the background for the latest release (with the system's curl; nothing else is sent). If it is newer, a small window offers to open the download page; "Don't remind me about this version" skips that release. Without an answer (offline, no curl, GitHub not reachable) nothing is shown. Switch it off in Settings → Startup. ? → Check for updates... checks at any time, also with the setting off, offers a skipped release again and always answers (latest version / could not check).
  • Server log / chat: "Get Log" sends logaddress_add and log on. The UDP port must be reachable – for Internet forwarded in your router. By default openHLSW listens on a free port chosen at start; Settings → Connections → Fixed UDP port sets one (e.g. 27500). With a firewall on this computer (ufw, firewalld, Windows Firewall rules for a port) use a fixed port and allow it there. If no log line arrives within 15 s after Get Log, openHLSW says so in the console and the status bar, with the router forwarding state and, when it finds ufw or firewalld on, the command that opens the port (no root needed for the check). openHLSW does that by itself with UPnP while it receives logs (and removes the forwarding on exit); it can be switched off in Settings → Connections. It needs UPnP enabled in the router (FRITZ!Box: "Permit independent port sharing") and a public IPv4 address – with CGNAT / DS-Lite no forwarding helps. Without UPnP, forward the port by hand. A firewall on this computer must let the port in too, e.g. sudo ufw allow 27500/udp (Linux with ufw) or sudo firewall-cmd --add-port=27500/udp --permanent (firewalld). The console tool openhlsw-tui does the same (Rcon Config → Get Log) with the GUI's settings for the port, UPnP and the public IP.
  • Counter-Strike 2 log: CS2 sends its log only over HTTP. For a CS2 server Get Log sends logaddress_add_http "http://<your IP>:<port>/log/<secret>/<n>" and log on; openHLSW receives it on the same port number over TCP (a small HTTP server that only takes POST requests of up to 1 MB to that URL, started together with the UDP listener). The secret is new at every start, so only servers openHLSW asked can send it lines. UPnP forwards the TCP port too; without UPnP forward TCP and UDP by hand, and let the TCP port through a local firewall (sudo ufw allow 27500/tcp). The lines show up in the Console and Chat tabs and in the saved logs like those of other Source servers.
  • MCP server for AI clients (Settings → MCP, off by default): with Enable MCP server on, AI clients that speak the Model Context Protocol (for example Claude Code) can read the server list (list_servers) and one server's info, players and rules (get_server, asked fresh from the server). It listens on http://127.0.0.1:48700/mcp (port adjustable; Streamable HTTP, answers as JSON) on this computer only, and every request needs the token from the tab as Authorization: Bearer <token>; requests with a foreign Host or Origin (web pages) are refused. Copy command for Claude Code puts claude mcp add --transport http openhlsw <address> --header "Authorization: Bearer <token>" on the clipboard; New token locks out clients with the old one. Only with Allow RCON commands ticked (off by default) there is a third tool, rcon_command: it runs any command on servers whose RCON password is set in openHLSW, through the same connection as the console, and the command and answer show up in that server's console. Server names, player names and RCON answers come from the servers: the AI client is told to treat them as data. The console tool openhlsw-tui has no MCP server.
  • Settings are stored in config.json in %APPDATA%\openHLSW (Windows), ~/.config/openHLSW (Linux, FreeBSD) or ~/Library/Application Support/openHLSW (macOS). Saved RCON passwords are stored there as plain text, as is the MCP token and the console history (without commands that may carry a secret).

Building

Rust (stable, ≥ 1.95, https://rustup.rs), then:

cargo build --release

This builds openhlsw (the GUI), openhlsw-tui (console tool) and openhlsw-cli in target/release/. Linux needs the OpenGL, X11 and Wayland development packages, e.g. on Debian / Ubuntu sudo apt install libxkbcommon-dev libgl1-mesa-dev libwayland-dev; FreeBSD pkg install pkgconf libX11 libxkbcommon.

Checks before a push: tools/check-all.sh runs clippy and the tests and compiles for every system the packages are built for (Windows, macOS, Linux aarch64 / riscv64, FreeBSD; add the Rust targets once as the script tells you). git config core.hooksPath tools/hooks runs it before every git push. It does not cover linking for Windows / macOS or the installers; CI builds those on every push.

Packages and releases: .github/workflows/build.yml checks and builds all packages of the download table on every push to main and every pull request (as workflow artifacts, kept 7 days). Releases are made on demand only: run the workflow manually on main with "release" ticked (gh workflow run build.yml -f release=true). Then semantic-release reads the Conventional Commits since the last tag: a feat (minor), fix / perf (patch) or breaking change (major) sets the version in Cargo.toml and Cargo.lock, writes CHANGELOG.md, tags vX.Y.Z and publishes a GitHub release with all packages and their .sha256 files. Never tag by hand. Packaging files are in packaging/ (Linux desktop entry and Flatpak, WiX installer, macOS Info.plist). A macOS job that gets no runner is re-run automatically (retry-macos.yml, from the second attempt on the Intel runners). The packages are added to the release once every package job has succeeded; re-running a release run adds only what the release still lacks.

Command line:

openhlsw-cli 203.0.113.10:27015                  # query info, players, rules
openhlsw-cli 203.0.113.10:27015 RCON_PASSWORD status
OPENHLSW_RCON_PASSWORD=RCON_PASSWORD openhlsw-cli 203.0.113.10:27015 - status   # not visible in ps
openhlsw-cli 203.0.113.10:23459:34567            # query a GameSpy server
openhlsw-tui                                     # the server list in the terminal (htop-like)
openhlsw-tui -d 5 203.0.113.10:27015             # refresh every 5 s, one extra server

Testing without a real server: tools/fake_srcds.py simulates SRCDS (A2S, RCON, log), with --goldsrc HLDS, with --cs2 Counter-Strike 2 (log only over HTTP) and with --gamespy2 <queryport> a GameSpy 2 server. Unit tests: cargo test.

python3 tools/fake_srcds.py --port 27015 --password secret
cargo run   # then add 127.0.0.1:27015, RCON password "secret"

Code

src/
  address.rs, a2s.rs, gamespy2.rs, rcon.rs   addresses, Valve / GameSpy 2 queries, RCON
  rcon_text.rs, steamid.rs                   RCON answers (ban and map lists), Steam IDs
  history.rs                                 RCON console history (GUI and console tool)
  upnp.rs                                    port forwarding in the router (UPnP IGD)
  httplog.rs                                 HTTP log receiver (Counter-Strike 2)
  mcp.rs                                     MCP server for AI clients (HTTP, JSON-RPC)
  serverlog.rs                               server log: UDP listener, UPnP forwarding,
                                             logaddress_add, chat lines (GUI and console tool)
  query/                                     the other query protocols (GameSpy 1, Quake,
                                             Unreal, TeamSpeak, Minecraft, SA-MP, …)
  worker.rs                                  background threads (queries, RCON, log listener)
  app.rs, settings.rs, native_window.rs      user interface and dialogs
  app/mcp_tools.rs                           the MCP server's tools (server list, RCON)
  theme.rs, toolbar_icons.rs, typeahead.rs   look, fonts, toolbar icons, dropdown search
  games.rs, game_icons.rs, flags.rs          game list, icons, country flags
  filter.rs, iddb.rs, discover.rs            filter, Global ID Database, Steam favorites / LAN
  firewall.rs                                local firewall check for the log port
  update.rs                                  update check (latest GitHub release)
  geo.rs, trace.rs, stats.rs                 location, Trace Route, traffic counters
  i18n.rs, config.rs                         languages, settings file
  win_icon.rs                                program icon on the window (Windows)
  server_io.rs                               server list export / import (JSON, CSV, text)
  bin/openhlsw-cli.rs                        command line tool
  bin/openhlsw-tui/                          console tool (htop-like terminal UI, ratatui)
vendor/      egui's painting crates with sub-pixel text, see vendor/README.md
assets/      icons, flags, translations (assets/lang/*.json)
packaging/   packages and installer
tools/       test server, version script for releases, checks before a push, gen-games-doc.py
             (writes the game table of docs/games.md from games.rs)
docs/        screenshots, docs/games.md (ports, RCON and server log per game)

Translations: the English text in the code is the key (tr!("Refresh"), tr!("Added {count} servers", count = n)); each language is a JSON file in assets/lang/ mapping it to the translation. Missing entries fall back to English; cargo test checks the {placeholders}.

Contributing: see CONTRIBUTING.md and the Code of Conduct; security problems are reported privately as described in SECURITY.md. Accessibility, what works and what does not yet: ACCESSIBILITY.md.

Ideas for later: ARK: Survival Ascended (needs an Epic login), GTA Network / RAGE MP (their server lists need HTTPS), system tray, View Manager.

License

openHLSW is free software under the GNU General Public License v3.0 or later. Copyright (C) 2026 the openHLSW contributors.

The game icons in assets/games/ are not covered by this license: they show logos and artwork of the respective games, all rights belong to their owners, see assets/games/NOTICE.txt. The country flags are public domain (assets/FLAGS-LICENSE.txt). The modified egui crates in vendor/ are under MIT or Apache-2.0; the console tool uses ratatui and crossterm (MIT). openHLSW includes no fonts. openHLSW is not affiliated with the original HLSW or with any game publisher. The license and these notices are also shown in the program under ? → License.

About

A free remake of HLSW - the game server browser and RCON admin tool - for Windows, Linux, macOS and FreeBSD, written in Rust. One native binary, no runtime needed.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

3 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages