GithubHelp home page GithubHelp logo

Comments (7)

Bulmenisaurus avatar Bulmenisaurus commented on June 10, 2024 1

Thanks, I found my issue. Turns out I didn't have the UCI code pulled. Thanks for the help!

from cutechess.

DeveloperPaul123 avatar DeveloperPaul123 commented on June 10, 2024

It may be parsing your command all as one token so that the engine isn't starting. Can you instead just use the Chess-Challenge.exe as the command and then pass uci MyBot as args?

from cutechess.

DeveloperPaul123 avatar DeveloperPaul123 commented on June 10, 2024

CLI would be:

cutechess-cli -engine name="MyBot" cmd="Chess-Challenge.exe" arg="uci" arg="MyBot"

from cutechess.

Bulmenisaurus avatar Bulmenisaurus commented on June 10, 2024

Thanks! Now I can see the gui for my bot appearing, but now I get a new error:

Terminating process of engine MyBot(0)
Finished game 2 (sf-lvl1 vs MyBot): * {No result}
Score of MyBot vs sf-lvl1: 0 - 0 - 0  [nan] 0
Finished game 3 (MyBot vs sf-lvl1): * {No result}
Score of MyBot vs sf-lvl1: 0 - 0 - 0  [nan] 0
Finished game 4 (sf-lvl1 vs MyBot): * {No result}
Score of MyBot vs sf-lvl1: 0 - 0 - 0  [nan] 0
Elo difference: nan +/- nan, LOS: nan %, DrawRatio: nan %
SPRT: llr 0 (0.0%), lbound -inf, ubound inf

Player: MyBot
   "No result": 3
Player: sf-lvl1
   "No result": 3
Warning: Could not initialize player MyBot:
Finished match

seems like a problem with my engine, since having stockfish fight against itself works perfectly. Any way to debug this, maybe see what my engine is sending from the cli?

from cutechess.

DeveloperPaul123 avatar DeveloperPaul123 commented on June 10, 2024

You could try running your Chess-Challange.exe directly from a CLI and input params directly. You can also do the same with a debugger attached to see what it's doing with the input arguments.

from cutechess.

Jakur avatar Jakur commented on June 10, 2024

I have the same issue on Windows when parsing arguments to an engine directly or through engines.json with "command": "mybot.exe --uci" in version 1.3.1. This appears to be a regression since downgrading to version 1.3.0 fixes the issue.

from cutechess.

Claes1981 avatar Claes1981 commented on June 10, 2024

Affects me too.

cutechess-cli --version
cutechess-cli 1.3.1
Using Qt version 5.15.10
Running on openSUSE Tumbleweed/x86_64

Copyright (C) 2008-2023 Ilari Pihlajisto, Arto Jonsson and contributors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

command:

cutechess-cli -engine conf=Chess-System-Tal-2.00-v21_6t_hash5161 -engine conf=Stockfish-22032822_pgo_6t_nowdz_spl2_spd43_hash5161_sm652_mo2801 -each tc=1+1 restart=on option.Ponder=false option.OwnBook=false -games 2
Elo difference: nan +/- nan, LOS: nan %, DrawRatio: nan %
SPRT: llr 0 (0.0%), lbound -inf, ubound inf

Player: Chess-System-Tal-2.00-v21_6t_hash5161
Player: Stockfish-22032822_pgo_6t_nowdz_spl2_spd43_hash5161_sm652_mo2801
Warning: Cannot start engine Chess-System-Tal-2.00-v21_6t_hash5161:
Cannot execute command: wine /partitions/Sandisk/xfs/media/data/chess/engines/Chess-System-Tal/Chess-System-Tal-2.00-v21/Chess-System-Tal-2.00-v21-E1019-Elo.opt-avx2.exe
Finished match

engines.json:

   {
        "name": "Chess-System-Tal-2.00-v21_6t_hash5161",
        "command": "wine /partitions/Sandisk/xfs/media/data/chess/engines/Chess-System-Tal/Chess-System-Tal-2.00-v21/Chess-System-Tal-2.00-v21-E1019-Elo.opt-avx2.exe",
        "workingDirectory": "/partitions/Sandisk/xfs/media/data/chess/engines/Chess-System-Tal/Chess-System-Tal-2.00-v21/",
        "protocol": "uci",
        "initStrings":[ "setoption name Hash value 5161", "setoption name Threads value 6"]
    },

from cutechess.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.