Skip to content

Create engine config file #8

Closed
Closed
@fsmosca

Description

@fsmosca
  • Read the current dir where pecg.exe is located and look for pecg_engines.json file.
  • If there is no pecg_engines.json file, then read the engines dir and create pecg_engines.json file.
    • The json format will be the same to that of cutechess
    • Run uci engine and determine its options and id name
      • Save all options and write it to json file. Hash is set to 64, and threads is set to 1, all other options will use default values.
      • Write engine id name to json file.
  • Read the json file at startup and show the engine id name in engine list box when user presses Set Engine Opponent.
  • When user selects an engine from the engine list, and presses OK button
    • Read the json file and save the engine file and path with file
  • Tested uci engines
    • Alaric
    • Amoeba
    • Anmon
    • Andscacs
    • Arasan
    • Arminius
    • Atlas
    • Bobcat
    • Booot
    • Cheng
    • Critter
    • Demolito
    • Deuterium
    • Ethereal
    • Floyd
    • Fire
    • Fizbo
    • Gaviota (Does not work, Python-Chess 0.28.0 does not run it)
    • Greko
    • Gogobello
    • Hannibal
    • Ice
    • Laser
    • Lc0
    • Marvin
    • Maverick
    • Monolith
    • Nemorino
    • Pedone
    • Rhetoric
    • Pirarucu
    • Rodent
    • RofChade
    • RubiChess
    • Schooner
    • Senpai
    • Shield
    • Skiull
    • SmarThink
    • Spark (Does not work, Python-Chess 0.28.0 does not run it)
    • Spike (Does not work, Python-Chess 0.28.0 does not run it)
    • Stockfish
    • Texel
    • The Baron
    • Toga
    • Topple
    • Vajolet2
    • Wasp
    • Winter
    • Xiphos
    • Zurichess

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions