Hello chess friends, when I start this program "Rebel-15.1-sse.exe", then a console opens
so that I can enter "UCI". Then the list of known options appears. If I then enter "GO",
then nothing happens.
Rebel 15 UCI by Fabien Letouzey, Thomas Gaksch, Jerry Donald Watson, Chris Whittington and Ed Schroder
uci
id name Rebel 15
id author Fabien Letouzey, Thomas Gaksch, Jerry Donald Watson, Chris Whittington and Ed Schroder
option name Hash type spin default 128 min 4 max 16384
option name NNUE Tuner type spin default 70 min 25 max 200
option name Search Time type spin default 0 min 0 max 3600
option name Search Depth type spin default 0 min 0 max 20
option name Ponder type check default false
option name OwnBook type check default true
option name BookFile type string default performance.bin
option name MultiPV type spin default 1 min 1 max 10
option name NullMove Pruning type combo default Always var Always var Fail High var Never
option name NullMove Reduction type spin default 3 min 1 max 4
option name Razoring type check default true
option name Razoring Depth type spin default 4 min 0 max 6
option name Razoring Margin type spin default 300 min 0 max 1000
option name Evaluation Pruning type check default true
option name Evaluation Pruning Depth type spin default 5 min 0 max 6
option name History Pruning type check default true
option name History Threshold type spin default 70 min 0 max 100
option name Delta Pruning type check default true
option name Delta Margin type spin default 200 min 0 max 999
option name Quiescence Check Plies type spin default 1 min 0 max 2
option name Material type spin default 100 min 0 max 400
option name Piece Activity type spin default 100 min 0 max 400
option name Piece Square Activity type spin default 100 min 0 max 400
option name King Safety type spin default 100 min 0 max 400
option name Pawn Structure type spin default 100 min 0 max 400
option name Passed Pawns type spin default 100 min 0 max 400
option name Toga Lazy Eval type check default true
option name Toga Lazy Eval Margin type spin default 200 min 0 max 900
option name Toga Lazy Eval Mobility Margin type spin default 125 min 0 max 900
option name Toga King Pawn Endgame Bonus type spin default 30 min 0 max 100
option name Toga Rook Pawn Endgame Penalty type spin default 10 min 0 max 100
option name Threads type spin default 1 min 1 max 64
uciok
go
Since the source files are included I wanted to do the compilation with the help of the MS MSVS.
Everything looks fine until the error C2664 appears. What is the cause or how can I fix it?
Does anyone here have a good idea?
error C2664: "HANDLE CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE)"
Rebel 15.1 problems
Moderator: Ras
-
chessica
- Posts: 997
- Joined: Thu Aug 11, 2022 11:30 pm
- Full name: Esmeralda Pinto
-
Ras
- Posts: 2720
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: Rebel 15.1 problems
Try keeping in line with the UCI protocol. Just entering "go" is not sufficient. After "uci", enter "isready" and wait for a "readyok" from the engine. Then enter "ucinewgame", followed by "position startpos" (or whatever position you wish), then "go" with some parameter such as "go infinite". You can stop the calculation by entering "stop".
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
chrisw
- Posts: 4749
- Joined: Tue Apr 03, 2012 4:28 pm
- Location: Midi-Pyrénées
- Full name: Christopher Whittington
Re: Rebel 15.1 problems
C++ 17chessica wrote: ↑Sun Aug 21, 2022 4:30 pm Hello chess friends, when I start this program "Rebel-15.1-sse.exe", then a console opens
so that I can enter "UCI". Then the list of known options appears. If I then enter "GO",
then nothing happens.
Rebel 15 UCI by Fabien Letouzey, Thomas Gaksch, Jerry Donald Watson, Chris Whittington and Ed Schroder
uci
id name Rebel 15
id author Fabien Letouzey, Thomas Gaksch, Jerry Donald Watson, Chris Whittington and Ed Schroder
option name Hash type spin default 128 min 4 max 16384
option name NNUE Tuner type spin default 70 min 25 max 200
option name Search Time type spin default 0 min 0 max 3600
option name Search Depth type spin default 0 min 0 max 20
option name Ponder type check default false
option name OwnBook type check default true
option name BookFile type string default performance.bin
option name MultiPV type spin default 1 min 1 max 10
option name NullMove Pruning type combo default Always var Always var Fail High var Never
option name NullMove Reduction type spin default 3 min 1 max 4
option name Razoring type check default true
option name Razoring Depth type spin default 4 min 0 max 6
option name Razoring Margin type spin default 300 min 0 max 1000
option name Evaluation Pruning type check default true
option name Evaluation Pruning Depth type spin default 5 min 0 max 6
option name History Pruning type check default true
option name History Threshold type spin default 70 min 0 max 100
option name Delta Pruning type check default true
option name Delta Margin type spin default 200 min 0 max 999
option name Quiescence Check Plies type spin default 1 min 0 max 2
option name Material type spin default 100 min 0 max 400
option name Piece Activity type spin default 100 min 0 max 400
option name Piece Square Activity type spin default 100 min 0 max 400
option name King Safety type spin default 100 min 0 max 400
option name Pawn Structure type spin default 100 min 0 max 400
option name Passed Pawns type spin default 100 min 0 max 400
option name Toga Lazy Eval type check default true
option name Toga Lazy Eval Margin type spin default 200 min 0 max 900
option name Toga Lazy Eval Mobility Margin type spin default 125 min 0 max 900
option name Toga King Pawn Endgame Bonus type spin default 30 min 0 max 100
option name Toga Rook Pawn Endgame Penalty type spin default 10 min 0 max 100
option name Threads type spin default 1 min 1 max 64
uciok
go
Since the source files are included I wanted to do the compilation with the help of the MS MSVS.
Everything looks fine until the error C2664 appears. What is the cause or how can I fix it?
Does anyone here have a good idea?
error C2664: "HANDLE CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE)"
-
chessica
- Posts: 997
- Joined: Thu Aug 11, 2022 11:30 pm
- Full name: Esmeralda Pinto
Re: Rebel 15.1 problems
Rebel 15.1 UCI by Fabien Letouzey, Thomas Gaksch, Jerry Donald Watson, Chris Whittington and Ed SchroderRas wrote: ↑Sun Aug 21, 2022 5:21 pmTry keeping in line with the UCI protocol. Just entering "go" is not sufficient. After "uci", enter "isready" and wait for a "readyok" from the engine. Then enter "ucinewgame", followed by "position startpos" (or whatever position you wish), then "go" with some parameter such as "go infinite". You can stop the calculation by entering "stop".
uci
id name Rebel 15.1
id author Fabien Letouzey, Thomas Gaksch, Jerry Donald Watson, Chris Whittington and Ed Schroder
option name Hash type spin default 128 min 4 max 16384
option name NNUE Tuner type spin default 60 min 25 max 200
option name IRR type spin default 6 min 2 max 10
option name Eval-Depth type spin default 6 min 2 max 10
option name Eval-Margin type spin default 75 min 10 max 200
option name Search Time type spin default 0 min 0 max 3600
option name Search Depth type spin default 0 min 0 max 20
option name Ponder type check default false
option name OwnBook type check default true
option name BookFile type string default performance.bin
option name MultiPV type spin default 1 min 1 max 10
option name NullMove Pruning type combo default Always var Always var Fail High var Never
option name NullMove Reduction type spin default 3 min 1 max 4
option name Razoring type check default true
option name Razoring Depth type spin default 4 min 0 max 6
option name Razoring Margin type spin default 300 min 0 max 1000
option name Razoring Decay type spin default 39 min 0 max 100
option name Evaluation Pruning type check default true
option name Evaluation Pruning Depth type spin default 5 min 0 max 6
option name History Pruning type check default true
option name History Threshold type spin default 70 min 0 max 100
option name Delta Pruning type check default true
option name Delta Margin type spin default 200 min 0 max 999
option name Quiescence Check Plies type spin default 1 min 0 max 2
option name Material type spin default 100 min 0 max 400
option name Piece Activity type spin default 100 min 0 max 400
option name Piece Square Activity type spin default 100 min 0 max 400
option name King Safety type spin default 100 min 0 max 400
option name Pawn Structure type spin default 100 min 0 max 400
option name Passed Pawns type spin default 100 min 0 max 400
option name Toga Lazy Eval type check default true
option name Toga Lazy Eval Margin type spin default 200 min 0 max 900
option name Toga Lazy Eval Mobility Margin type spin default 125 min 0 max 900
option name Toga King Pawn Endgame Bonus type spin default 30 min 0 max 100
option name Toga Rook Pawn Endgame Penalty type spin default 10 min 0 max 100
option name Threads type spin default 1 min 1 max 64
uciok
isready
readyok
ucinewgame
isready
readyok
position fen N6k/8/8/8/8/8/8/K6B w - - 0 1
go infinite
info depth 1
then the program is closing .-(
in the consol and in arena
Could it have to do with the designations for the bishop, knight, etc?
-
Rebel
- Posts: 7430
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Rebel 15.1 problems
Start the engine from the command line and type: go depth 17
90% of coding is debugging, the other 10% is writing bugs.
-
chessica
- Posts: 997
- Joined: Thu Aug 11, 2022 11:30 pm
- Full name: Esmeralda Pinto
Re: Rebel 15.1 problems
OK; SEE THE SCREENSHOT. https://ibb.co/cCZf4NR
-
Rebel
- Posts: 7430
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Rebel 15.1 problems
That's pretty odd.
How old is your computer? It could be your processor doesn't support SSE.
How old is your computer? It could be your processor doesn't support SSE.
90% of coding is debugging, the other 10% is writing bugs.
-
chessica
- Posts: 997
- Joined: Thu Aug 11, 2022 11:30 pm
- Full name: Esmeralda Pinto
Re: Rebel 15.1 problems
Hello, my CPU has the following Instructions sets: sse, sse2, sse3, sse4a, x86-64
-
Rebel
- Posts: 7430
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Rebel 15.1 problems
Maybe re-download the engine?
90% of coding is debugging, the other 10% is writing bugs.
-
sarona
- Posts: 127
- Joined: Tue Oct 29, 2019 4:14 pm
- Location: Canada
- Full name: Ron Doughie
Re: Rebel 15.1 problems
Just curious. Did you compile the binary yourself from source? If so, did you use Visual Studio?
I recall seeing a thread from Eelco on Ed's forum where somebody encountered the same error - except this was during a compilation of Toga and not running Rebel from the commandline. It might be totally unrelated, but I thought I would mention it.
"Error C2664 'HANDLE CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE)': cannot convert argument 1 from 'wchar_t [1024]' to 'LPCSTR' 1Toga D:\Downloads\1Toga\useful.cpp 170 " when trying to compile rebel or toga 4, before and after following post instructions
https://prodeo.actieforum.com/t705-not- ... tudio-2022