Polyglot 1.4w Released

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

Moderators: hgm, Rebel, chrisw

bnemias
Posts: 373
Joined: Thu Aug 14, 2008 3:21 am
Location: Albuquerque, NM

Re: Polyglot 1.4w11 Released

Post by bnemias »

There are several compiler warnings (especially using a MS compiler) still present. I had made changes to remove all of the gcc warnings, but those changes aren't in the current 1.4w tree.

For MS compilers, at warning level 3, there were 18 warnings, and over 200 at warning level 4, which is why the makefile I supplied for MS doesn't have any warning options included. It's easy enough to at least comply with warning level 3-- 14 of the 18 were easy to silence because it was clear the obvious way to silence them was safe. The remaining 4 were all in book_make.cpp, conversion from unsigned __int64 to int which weren't obvious to me they were safe, eg:

Code: Select all

   for (index = key & Book->mask; (pos=Book->hash[index]) != NIL; index = (index+1) & Book->mask) {
key is uint64 while Book->mask is int.

At some point it's worth getting these cleaned up because they represent potential bugs. It would be nice to get warning level 4 to compile cleanly before any kind of "stable" release.
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Polyglot 1.4w11 Released

Post by Denis P. Mendoza »

Yes, Fonzy you are right. I just found out his real name is Huang Chen (also the author of XiangQi Wizard (Chinese Chess Wizard) of Shanghai Computer Chess Research Center).

Michel,

If you want to contact Huang Chen try here:
eMail: webmaster@elephantbase.net
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Polyglot 1.4w11 Released

Post by Michel »

no ,the cywinless port (and pipestruct) is from the chinese author "Morning Yellow" who also created mobile chess (wccc 2008) http://sourceforge.net/project/shownote ... _id=196069
Yes, Fonzy you are right. I just found out his real name is Huang Chen (also the author of XiangQi Wizard (Chinese Chess Wizard) of Shanghai Computer Chess Research Center).
Ok thanks a lot!! But then Huang Chen should be listed as an author I think :D
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Polyglot 1.4w11 Released

Post by Michel »

Ok I put up a new version of my tree up here

http://alpha.uhasselt.be/Research/Algeb ... t-release/

with an extended AUTHORS file.
F. Bluemers
Posts: 868
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: Polyglot 1.4w12 Released

Post by F. Bluemers »

This one moves a bit closer to Michel his polyglot version.
It is still oldfashioned though :wink:
It now uses the UseNice/NiceValue mechanism.
Logs the polyglot's version number.
I also did some code cleanup.
The link to Michel's version is on my website now.
Best
Fonzy
Dirt
Posts: 2851
Joined: Wed Mar 08, 2006 10:01 pm
Location: Irvine, CA, USA

Re: Polyglot 1.4w12 Released

Post by Dirt »

F. Bluemers wrote:This one moves a bit closer to Michel his polyglot version.
It is still oldfashioned though :wink:
It now uses the UseNice/NiceValue mechanism.
Logs the polyglot's version number.
I also did some code cleanup.
The link to Michel's version is on my website now.
Best
Fonzy
Thanks for your (and other's) continued work on Polyglot.

I think it would help people keep track of what they are doing if you at least changed the name of the zip file for each release.
ernest
Posts: 2041
Joined: Wed Mar 08, 2006 8:30 pm

Re: Polyglot 1.4w12 Released

Post by ernest »

Dirt wrote:I think it would help people keep track of what they are doing if you at least changed the name of the zip file for each release.
I renamed it polyglot1.4w12 (10 january 2008).zip 8-)
F. Bluemers
Posts: 868
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: Polyglot 1.4w14 Released

Post by F. Bluemers »

Polyglot 1.4w14 with a new feature:
A global ini file:
After reading the users's ini file (the default polyglot.ini or the ini file supplied on the command line),
polyglot checks if there exists a file "globals.ini" and reads this one too.
Entries in global.ini overrides the previous values,
except for "LogFile" and "NoGlobals",which are ignored.
This is usefull if you want to set some values (Hash f.i.) same for all engines .

added a new option for the [polyglot] section in the user's ini file:
- NoGlobals : if set true, the globals.ini will not be read.

global.ini could look like this:

Code: Select all

[POLYGLOT]
; just an example globals.ini file

log = true
logfile = global.log ; no effect!

PostDelay = 1 ; don't spam us

Book = true
BookFile = randomfun.bin ;same book for all engines

[Engine]

OwnBook = false

Hash = 64
MultiPv = 1  ; turn off multipv 
NalimovCache = 32
NalimovPath = C:\Tablebases\TB4

Best
Fonzy
Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Polyglot 1.4w14 Released

Post by Michel »

Nice idea!

But wouldn't it be more logical if global.ini was read before the user's .ini?
User avatar
hgm
Posts: 27791
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Polyglot 1.4w14 Released

Post by hgm »

I guess that you don't want to redo all the existing users .ini files to remove the parameters that are set in the global.ini. In the current scheme you only have to touch the user .ini of broken engines that somehow cannot run with the global settings, and need to be pampered.