Looking for Nero source code

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Roland Chastain
Posts: 454
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Looking for Nero source code

Post by Roland Chastain » Sat Oct 24, 2020 1: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
Qui trop embrasse mal étreint.

User avatar
Guenther
Posts: 3801
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Looking for Nero source code

Post by Guenther » Sat Oct 24, 2020 1:25 pm

Roland Chastain wrote:
Sat Oct 24, 2020 1: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
Hi Roland, as it looks you will try this on more programs in the future, I suggest first looking at the XB/UCI chronology,
may be it contains older links which contain what you want.

Ok, in this case it would not have helped, therefor my second suggestion, if above fails, go to the WB forum and do
a little search for the concerning program and you'll most likely find an old link, if this link doesn't work, just open the
great Wayback archives (https://web.archive.org) and insert the old link there :)
(Sites of chess programs often were archived by request of chess afficionados and programmers)

In one minute I had found this: On page 2 you'll see results for the Nero source of three versions (unnamed, 5.1 and 5.3 - no trace for 6.x yet)

https://web.archive.org/web/*/http://ww ... 7Ehuikari/*

I tested one download link and it works and leads to this (Nero 5.3 src):
https://web.archive.org/web/20060624001 ... rowb53.pas
https://rwbc-chess.de
HGM@'chessqueen' 2018-present, aka: 'George' 2013-2016, 'pichy' 2006-2013, 'Jorge Pichard' 2000-2006 (old forum) wrote: http://talkchess.com/forum3/viewtopic.p ... 79#p789713

User avatar
Roland Chastain
Posts: 454
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Looking for Nero source code

Post by Roland Chastain » Sat Oct 24, 2020 1:41 pm

Guenther wrote:
Sat Oct 24, 2020 1: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
Thank you Günther. I didn't know that one could use Wayback like that.

Regards.

Roland
Qui trop embrasse mal étreint.

Gerd Isenberg
Posts: 2233
Joined: Wed Mar 08, 2006 7:47 pm
Location: Hattingen, Germany

Re: Looking for Nero source code

Post by Gerd Isenberg » Sat Oct 24, 2020 8:32 pm

Roland Chastain wrote:
Sat Oct 24, 2020 1:41 pm
Guenther wrote:
Sat Oct 24, 2020 1: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
Thank you Günther. I didn't know that one could use Wayback like that.

Regards.

Roland
Wow, funny source code!
no negamax, but in evaluate which is the recursive search

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;

User avatar
Roland Chastain
Posts: 454
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Looking for Nero source code

Post by Roland Chastain » Sun Oct 25, 2020 6:49 am

Gerd Isenberg wrote:
Sat Oct 24, 2020 8:32 pm
Wow, funny source code!
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.

If someone had the source of the version 6, that would be good.
Qui trop embrasse mal étreint.

tmokonen
Posts: 1173
Joined: Sun Mar 12, 2006 5:46 pm
Location: Kelowna
Full name: Tony Mokonen
Contact:

Re: Looking for Nero source code

Post by tmokonen » Sun Oct 25, 2020 7:18 am

I have this archive I downloaded from Dann Corbit's old site:

https://mega.nz/file/y1dQgDQB#U0iln1orL ... 21Qtd9TO7o

It's a Lazarus compile of Nero 6.0, including source. I don't know if Dann modified it in any way to get it to compile with Lazarus. Sorry, I don't have the source for version 6.1, unless it's hidden in a folder on one of my numerous old drives.

User avatar
Roland Chastain
Posts: 454
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Looking for Nero source code

Post by Roland Chastain » Sun Oct 25, 2020 7:56 am

tmokonen wrote:
Sun Oct 25, 2020 7:18 am
I have this archive I downloaded from Dann Corbit's old site:
Great! 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
the program answers as expected:

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
Qui trop embrasse mal étreint.

User avatar
Guenther
Posts: 3801
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Looking for Nero source code

Post by Guenther » Sun Oct 25, 2020 8:03 am

Roland Chastain wrote:
Sun Oct 25, 2020 7:56 am
tmokonen wrote:
Sun Oct 25, 2020 7:18 am
I have this archive I downloaded from Dann Corbit's old site:
Great! 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
Is this with ProtocolVersion 1?

Usually I run very old programs in WB with

Code: Select all

/firstProtocolVersion 1 /secondProtocolVersion 1
flags
https://rwbc-chess.de
HGM@'chessqueen' 2018-present, aka: 'George' 2013-2016, 'pichy' 2006-2013, 'Jorge Pichard' 2000-2006 (old forum) wrote: http://talkchess.com/forum3/viewtopic.p ... 79#p789713

tmokonen
Posts: 1173
Joined: Sun Mar 12, 2006 5:46 pm
Location: Kelowna
Full name: Tony Mokonen
Contact:

Re: Looking for Nero source code

Post by tmokonen » Sun Oct 25, 2020 8:06 am

I have not been able to get the supplied compile to work for me. I tried several GUIs, and even wb2uci, and no luck. I noticed it was a 64 bit executable. Perhaps Dann was trying some modifications. I saw a link to an old thread on the Chess Programming Wiki's entry for Nero.

viewtopic.php?t=26273&start=3

Perhaps that's what this archive contains. Gerd is fast with his CPW updates. I see he already included a link to this very thread.

User avatar
Roland Chastain
Posts: 454
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: Looking for Nero source code

Post by Roland Chastain » Sun Oct 25, 2020 8:37 am

It seems that XBoard doesn't receive anything from the engine. No idea why. I continue to search.
Guenther wrote:
Sun Oct 25, 2020 8:03 am
Is this with ProtocolVersion 1?

Usually I run very old programs in WB with

Code: Select all

/firstProtocolVersion 1 /secondProtocolVersion 1
flags
I have just tried. It doesn't solve the problem. But anyway it's certainly a good idea to use it.
Qui trop embrasse mal étreint.

Post Reply