Guide › Command line

Command line

rookstudio [--profile DIR] [--autostart] [--size WxH] [--software]
           [--shot FILE.png[@WINDOW[@SECONDS]]]... [--select-game N] [--focus WINDOW]
           [--quit-after SECONDS]
rookstudio [--profile DIR] --run TOURNAMENT_FOLDER|SETUP.json [--tlcs UDP_PORT [--tlcs-lanes]]
           [--web TCP_PORT] [--tunnel [localhost.run|ssh://USER@HOST[:PORT][/REMOTE_PORT]]] [--live-files [DIR]] [--lichess ROUND_URL|ROUND_ID|new]
           [--control stdio|socket] [--detach] [--allowance THREADS:MEMORY_MB:GPUS:ONE]
rookstudio --attach TOURNAMENT_FOLDER
rookstudio --version
  • --profile DIR uses another profile folder;
  • --autostart starts the saved setup at launch (rather than resuming the tournament that was running, see Pause, stop and resume);
  • --size WxH opens the window at that size, centred, rather than as it was left, and leaves the size and place kept for the next launch alone;
  • --software has the processor draw the window (SDL’s software renderer) rather than OpenGL, as Software rendering in Settings does, for this launch (see Drawing the window);
  • --shot saves a screenshot of the window after the given number of seconds (default 5), with WINDOW brought to the front, and quits once every screenshot is taken. It can be repeated. WINDOW is a page (home, setup, engines, books, board, ratings, ratings-engine, ratings-h2h, ratings-progress, console, settings) or a tab (live, games, openings, standings, schedule, bracket, broadcast). The mouse is ignored in this mode and, on Linux, the window is rendered off screen (no window appears; set SDL_VIDEODRIVER to override); the window opens at the default size, or --size, and the size and place kept are left alone;
  • --focus WINDOW opens that page or tab at launch, or: engines-card (the first engine’s card), engines-refresh (Refresh: the new engines of the folder), engines-ratings=FILE (the preview of that rating list), setup-picker and setup-suggest (the library’s filter focused, or the suggested opponents selected), setup-open=ROW and setup-profiles=ROW (a row of the setup opened, or its profile list: format, time, openings, adjudication, engines, concurrency, pgn), setup-book (the first participant’s own book), submission-export (Export for a rating list…), ratings-players (the PGN players window), clone=DIR (the New tournament page filled by Clone of that tournament’s folder), palette[=TEXT] (the command palette, with TEXT typed in it), game-menu=N (the menu of game N in the Games tab, a result chosen), end-menu=N (End with result of the game of slot N, from 1), big-screen[=N] (the big screen, of the game of slot N), live-back=N (the game followed in Live, stepped back N plies), engines-console (the first engine’s console), board-analyse (the Board page, analysed), board=FILE (a PGN, FEN or EPD file on the Board page; board-analyse=FILE analysed, board-review=FILE its first game analysed move by move), board-edit (the position editor), board-play and board-play-start (a game between the first two engines, started), machines (the first remote machine’s card in Settings; machines-test tested, machines-files the setup’s books and tablebases compared with it), guide[=ID] (the guide panel, at the section ID), guide-search=TEXT (the guide panel, searching TEXT);
  • --select-game N opens game N (in finishing order) in the Games tab as soon as it exists;
  • --quit-after SECONDS stops the tournament and quits;
  • --run, --detach, --attach, --control, --allowance: see Headless mode;
  • --version prints the version and the protocol of the channel the window follows a remote tournament through (see Machines), and quits.
In RookStudio, F1 opens this guide beside the page, at the section of what is under the mouse.