windows: write steam_appid.txt before starting (the cause of the Steam error box); start the server window minimized

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
esefandClaude Opus 5.5 committed 2026-10-15 21:22:41 +03:00
1 parent 7d8aa4a029
commit d84d736846
4 files changed
+12 -8

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ What you get:
You need 64-bit Windows 10 or 11 and about 1.5 GB of free space.
1. Click **Download ZIP** on this page and unzip it (Downloads is fine).
2. Double-click `setup.cmd`. Answer the questions or press Enter to keep the defaults. It downloads the game (about 600 MB) and starts the server in its own window. Say Yes when Windows asks for admin permission: that lets your friends through the firewall.
2. Double-click `setup.cmd`. Answer the questions or press Enter to keep the defaults. It downloads the game (about 600 MB) and starts the server in its own window, minimized in the taskbar. Say Yes when Windows asks for admin permission: that lets your friends through the firewall.
3. Setup then asks how your friends will join and helps with that (see below).
The server is installed in `Documents\cs16` (or `C:\Users\<you>\cs16` if your Documents folder is synced by OneDrive). From then on, double-click `cs.cmd` in that folder to start or stop the server, change the map or mode, set the bots, or see the kill counter. Closing the server window stops the server.
@@ -68,7 +68,7 @@ More for players (Steam and non-Steam): [docs/PLAYERS.md](docs/PLAYERS.md).
- **Setup stopped with an error.** Fix what it says (usually the internet connection) and run it again. It continues where it stopped.
- **Friends can't connect, but you can.** On Windows, run `cs.cmd` → 10 → 1 and accept the admin prompt so the firewall lets them in. If they're not in your house, check the playit tunnel or the port forward.
- **"Unable to initialize Steam" (Windows).** This can happen once, on the first start after installing; `cs.cmd` and setup retry by themselves. If you started `hlds.exe` yourself, close the box and start the server with `cs.cmd` → 9.
- **"Unable to initialize Steam" (Windows).** Close the box and start the server with `cs.cmd` → 9 instead of opening `hlds.exe` directly: `cs.cmd` writes the `steam_appid.txt` file the server needs.
- **The server window closes right away, or setup says files are missing.** Your antivirus probably removed a file. Allow the install folder in it and run `setup.cmd` again.
- **The port is taken.** Setup offers the next free port. Your friends then need that port in the address.