Mediocre has a new home

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

Moderator: Ras

User avatar
Jim Ablett
Posts: 2295
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Mediocre has a new home

Post by Jim Ablett »

Zlaire wrote:Actually I'm using the evaluation version for now which works like the enterprise edition, I just didn't realize the global optimization was needed.

After using it the executable size went from 218kb to 5381kb, but I guess it should work now then?

Edit: I compiled with the global optimization and uploaded it to Sourceforge again, I hope it works now then

Yes, should work now but exe will cease to work after a month I think (evaluation version ). Test it by moving your date/clock forward

Jim.
Zlaire

Re: Mediocre has a new home

Post by Zlaire »

Argh, well well, atleast it works for now then.
User avatar
abik
Posts: 823
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Mediocre has a new home

Post by abik »

Michel wrote: Perhaps you might consider supporting the polyglot book format. It is very easy to parse, completely open and already understood by a number of programs. Polyglot includes utilities for generating such books from pgn files.
Regards,
Michel
Thanks for the pointer Michel. I was also pondering over adding a book opening to BikJump (if only to tune it for its many deficiencies :-)) and was not sure what format to use, but this seems very reasonable. Are you sure about its "openess" (i.e. it will allow me to keep my sources closed)?
User avatar
Jim Ablett
Posts: 2295
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Mediocre has a new home

Post by Jim Ablett »

Zlaire wrote:Argh, well well, atleast it works for now then.
Unfortunately your Windows exe still seems to require the external Jet runtime libraries.
Evaluation version of Excelsior Jet is really only suitable for private use.

I've compiled a standalone Excelsior Jet compiled/optimized Windows exe below,
but I found a problem with my build too, compiled exe fails to find the opening book file 'book.zip',
so no opening book support with this exe, but I'll keep trying.

http://www.mediafire.com/?w3ht2tn0itn

Jim.
Zlaire

Re: Mediocre has a new home

Post by Zlaire »

Thank you! I'll add it the release.

The book is acting up so don't bother with it. I am implementing the polyglot opening book and should be done in a day or two.
krazyken

Re: Mediocre has a new home

Post by krazyken »

abik wrote:
Michel wrote: Perhaps you might consider supporting the polyglot book format. It is very easy to parse, completely open and already understood by a number of programs. Polyglot includes utilities for generating such books from pgn files.
Regards,
Michel
Thanks for the pointer Michel. I was also pondering over adding a book opening to BikJump (if only to tune it for its many deficiencies :-)) and was not sure what format to use, but this seems very reasonable. Are you sure about its "openess" (i.e. it will allow me to keep my sources closed)?
If you are using the idea and the same file format, but write your own code, you will be fine. If you use someone else's code, that is where you may find restrictions.
Zlaire

Re: Mediocre has a new home

Post by Zlaire »

Mediocre (v0.334) now supports Polyglot opening books. I'm sure there's a bug or two so any testing would be greatly appreciated.

The path to the opening book is set in mediocre.ini, that's all you should have to do to use them.

Edit: Oh and thanks to Michel for the description of polyglot opening books. It almost made the pain of only signed integers existing in Java bareable. :)
User avatar
Jim Ablett
Posts: 2295
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Mediocre has a new home

Post by Jim Ablett »

Mediocre 0.334

Excelsior Jet optimized win32 exe.

http://www.mediafire.com/?nintnjyju5n

Jim.
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: Mediocre has a new home

Post by Michel »

Thanks for the pointer Michel. I was also pondering over adding a book opening to BikJump (if only to tune it for its many deficiencies Smile) and was not sure what format to use, but this seems very reasonable. Are you sure about its "openess" (i.e. it will allow me to keep my sources closed)?
The short answer is yes!

Here is the longer answer.

The license situation is explained in the first paragraph of the specification.

http://alpha.uhasselt.be/Research/Algeb ... ormat.html

As Kenny already said, the one thing you cannot do it to take the parsing code directly from the Polyglot program. But the book format itself is trivial to implement independently. Furthermore the specification links to some sample code which was written independently of Polyglot and which I released under closed source friendly licenses (public domain and FreeBSD). You are welcome to use that code if you want to.

Best regards,
Michel
User avatar
abik
Posts: 823
Joined: Fri Dec 01, 2006 10:46 pm
Location: Mountain View, CA, USA
Full name: Aart Bik

Re: Mediocre has a new home

Post by abik »

Thanks all for the clarification. Like many other chess engine authors I am stubborn enough to use only my own code in BikJump (except for the core Nalimov querying code), so it sounds like there will be no issues with adding this book format.