I see in this discussion that the source code of the Nero XBoard engine has been available. Would someone know where I could download it ? It's for my collection of Pascal programs.
Regards.
Roland
Moderator: Ras
Hi Roland, as it looks you will try this on more programs in the future, I suggest first looking at the XB/UCI chronology,Roland Chastain wrote: ↑Sat Oct 24, 2020 3:07 pm Hello!
I see in this discussion that the source code of the Nero XBoard engine has been available. Would someone know where I could download it ? It's for my collection of Pascal programs. :)
Regards.
Roland
Thank you Günther. I didn't know that one could use Wayback like that.Guenther wrote: ↑Sat Oct 24, 2020 3:25 pm I tested one download link and it works and leads to this (Nero 5.3 src):
https://web.archive.org/web/20060624001 ... rowb53.pas
Wow, funny source code!Roland Chastain wrote: ↑Sat Oct 24, 2020 3:41 pmThank you Günther. I didn't know that one could use Wayback like that.Guenther wrote: ↑Sat Oct 24, 2020 3:25 pm I tested one download link and it works and leads to this (Nero 5.3 src):
https://web.archive.org/web/20060624001 ... rowb53.pas
Regards.
Roland
Code: Select all
if ((forwhite) and (bestvalue>=beta[depth-1])) then cutoff:=true;
if ((not forwhite) and (bestvalue<=beta[depth-1])) then cutoff:=true;
if ((forwhite) and (bestvalue>9000)) then cutoff:=true;
if ((not forwhite) and (bestvalue<-9000)) then cutoff:=true;The programs compiles and runs on Linux, but I failed to get it to work, neither in CuteChess nor in XBoard. If I have the time I'll try to see what's wrong.
Great! Thank you.
Code: Select all
locale = fr_FR.UTF-8
recognized 'normal' (-1) as variant normal
recognized 'normal' (-1) as variant normal
recognized 'normal' (-1) as variant normal
shuffleOpenings = 0
shuffleOpenings = 0
Version: xboard 4.9.1 + Nerowb60 ()
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir="/home/roland/Documents/pascal/echecs/nero/60/") /home/roland/Documents/pascal/echecs/nero/60/Nerowb60
321 >first : xboard
protover 2
10322 >first : new
random
10322 >first : st 60
10322 >first : post
10322 >first : hard
Impossible move , type = 0
nps: w=-1, b=-1
nps: w=-1, b=-1
15251 >first : time 6000
15251 >first : otim 6000
book hit = (NULL)
15251 >first : e2e4
GameEnds(27, White resigns, 2)
Interrupting first
38532 >first : result 0-1 {White resigns}
38533 >first : force
GameEnds(27, White resigns, 2)
41943 >first : quit
Code: Select all
[roland@localhost 60]$ ./Nerowb60
new
random
Illegal move: random
st 60
post
hard
time 6000
Illegal move: time 6000
otim 6000
Illegal move: otim 6000
e2e4
move e7e5
Is this with ProtocolVersion 1?Roland Chastain wrote: ↑Sun Oct 25, 2020 8:56 amGreat! Thank you.
It compiles without any problem on Linux, but I can't get it to work with XBoard, I don't know yet why. It doesn't answer to my first move e2e4.
The weird thing is that if I enter manually in a terminal the same commands that I see in xboard.debug,
Code: Select all
locale = fr_FR.UTF-8 recognized 'normal' (-1) as variant normal recognized 'normal' (-1) as variant normal recognized 'normal' (-1) as variant normal shuffleOpenings = 0 shuffleOpenings = 0 Version: xboard 4.9.1 + Nerowb60 () Reset(1, 0) from gameMode 0 recognized 'normal' (-1) as variant normal GameEnds(0, (null), 2) shuffleOpenings = 0 StartChildProcess (dir="/home/roland/Documents/pascal/echecs/nero/60/") /home/roland/Documents/pascal/echecs/nero/60/Nerowb60 321 >first : xboard protover 2 10322 >first : new random 10322 >first : st 60 10322 >first : post 10322 >first : hard Impossible move , type = 0 nps: w=-1, b=-1 nps: w=-1, b=-1 15251 >first : time 6000 15251 >first : otim 6000 book hit = (NULL) 15251 >first : e2e4 GameEnds(27, White resigns, 2) Interrupting first 38532 >first : result 0-1 {White resigns} 38533 >first : force GameEnds(27, White resigns, 2) 41943 >first : quit
Code: Select all
/firstProtocolVersion 1 /secondProtocolVersion 1I have just tried. It doesn't solve the problem. But anyway it's certainly a good idea to use it.Guenther wrote: ↑Sun Oct 25, 2020 9:03 am Is this with ProtocolVersion 1?
Usually I run very old programs in WB withflagsCode: Select all
/firstProtocolVersion 1 /secondProtocolVersion 1