Collection of .bat files to run FastChess (ready-to-use)
Here’s a tidy, SEO-friendly toolkit of Windows .bat launchers for FastChess based on your own SPRT example and notes. I’ve kept your two Revolution builds as the base pair, and—when needed—added Stockfish 17.1 and Obsidian 16.40 exactly as you requested. The pack covers 180+2 and 900+15 time controls across SPRT, 1v1 matches, round-robin, gauntlet, and a Swiss-style harness (see note below).
Each script is self-contained, sets sane defaults for logging/PGN, and prints running output in Cutechess format for easier parsing. FastChess flags follow the current public docs and examples. (GitHub, official-stockfish.github.io)
What’s included (engines & formats)
- Two engines (from your doc):
Revolution_DEV→revolution_090925_v2.20_avx.exeRevolution_BASE→revolution.exe
- Three engines: add Stockfish 17.1.
- Four engines: add Obsidian 16.40.
- Time controls:
180+2and900+15. - Formats: 1v1 SPRT, 1v1 match, round-robin (3 & 4 engines), gauntlet (anchor A vs field), and a Swiss-style 4-engine harness.
Quick start (edit once, run forever)
- Edit paths at the top of any
.bat(they’re the same in all files):FASTCHESS→ path tofastchess.exeENGINE_A … ENGINE_D→ your engine EXEsBOOK→ I pre-filled your UHO_2024_8mvs_+085_+094.pgn
- Double-click a
.bator run it fromcmd.
Outputs go to aresultsfolder next to the script: a timestamped.pgnand.logper run. - Adjust
CONCURRENCYto taste (e.g., higher for180+2, lower for900+15) andROUNDSas needed.
Why these flags? They mirror the examples shown in the FastChess README and Stockfish Fishtest’s “Running Fastchess” page (e.g., -engine cmd=… name=…, -each tc=…, -rounds, -repeat, -concurrency, -pgnout, -log, and Cutechess-style -output). (GitHub, official-stockfish.github.io)
Downloads — “cmd torneo fastchess”
Tip: click to download, then right-click → Properties → Unblock if Windows warns about internet files.
What each launcher does (at a glance)
- Common header: sets your engine paths, book, results folder, a timestamp, and
-srand. - Logging & PGN: every run writes both a
.log(info level, with engine streams enabled) and a.pgnfor later analysis. - Output:
-output cutechessfor compatibility with your tooling. (GitHub) - Intervals:
-ratinginterval,-scoreinterval, and-autosaveintervalkeep progress chatty and safe. (official-stockfish.github.io) - SPRT: default bounds are
elo0=0,elo1=5withalpha=beta=0.05(edit as you like). - Gauntlet: uses an anchor (A) vs field; you can change
anchor="Revolution_DEV"if needed. - Round-robin: set
ROUNDS=2for a single RR,4for a double RR at classical, higher for blitz.
Practical notes & pitfalls
- No
initstr. Your earlier FastChess error showsinitstrisn’t a recognized engine option; these launchers avoid it and rely on standard-engine cmd=… name=…syntax instead. (This aligns with the README examples.) (GitHub) - Stockfish 17.1. The script names and comments use the current release tag (17.1). If your EXE is named differently, just adjust
ENGINE_C. (GitHub) - Book usage. I pre-filled your UHO book path; feel free to swap in any PGN opening suite you prefer.
- Concurrency. With your dual-Xeon box,
6–12parallel games at180+2is often fine; for900+15keep it low (e.g.,2–4) to avoid time losses. - SPRT length. You can shorten or extend
-roundsfor SPRT; the test will stop once a boundary is crossed.
Why FastChess for this?
FastChess is a modern, efficient CLI tournament runner with straightforward flags (-engine cmd=…, -each tc=…, -rounds, -repeat, -concurrency) and clean output; it’s the same runner used in the Stockfish infrastructure, which keeps our scripts durable. (GitHub, official-stockfish.github.io)