Not logged inCSS-Forum
Forum CSS-Online Help Search Login
CSS-Shop Impressum Datenschutz
Up Topic Hauptforen / CSS-Forum / BrainFish: Cerebellum_Light auf polyglot umgestellt
- - By Stefan Pohl Date 2017-11-02 11:54 Edited 2017-11-02 12:07
Hallo,

kurz zur Info: Thomas Zipproth hat die Cerebellum_Light-Library von BrainFish auf das polyglot-Buchformat umgestellt. Es gab ja bis zum heutigen Tage Cerebellum_Light in zwei Formaten, dem ursprünglichen BrainFish-Format und dem polylgot-Format. Letzteres, um die Library auch mit asmFish nutzen zu können. In Rücksprache mit meiner Wenigkeit, kamen wir zu dem Schluß, daß es besser ist, nur ein Format anzubieten, da Format-Vielfalt den nicht so fachkundigen Anwender nur verwirrt. Nun also die Library nur noch im polylgot-Format. Zudem haben BrainFish und asmFish nun auch identische UCI-Parameter, um die Library anzusprechen. Eine schöne Vereinheitlichung, die sicher die Benutzung erheblich erleichtert...Was mich persönlich insofern freut, als daß ich mindestens eine Anfrage pro Woche über meine Website erhalte, bzgl. der Benutzung der Library in Kombination mit BrainFish und/oder asmFish. Ich bin sowas wie der Kummerkasten der Cerebellum-Nutzer geworden... 

Hier die UCI-Parameter von BrainFish und asmFish zur Benutzung der Library (oder auch anderer polylgot-Eröffnungsbücher):

BookFile: Path and Filename of a Polyglot book
BestBookMove: default true, if false the move is selected according to the weights in the Polyglot book
BookDepth: default 255, maximum number of moves played out of the book in one row.

asmFish hat zusätzlich den Parameter OwnBook, der ist default=false und muß natürlich auf true gesetzt werden.

(für die Benutzung von Cerebellum_Light die Parameter BestBookMove auf true und BookDepth auf einem hohen Wert (100+) belassen)

Stefan

PS: Ich habe ein kleines (englisches) Textfile verfaßt, wie man die neuen fasmg-Versionen von asmFish selbst assembliert, die die Benutzung der Cerebellum-Library per default unterstützen. Kann man auf meiner Website runterladen. Ich kopier es hier mal rein (damit sollte die Erstellung und Benutzung von asmBrainFish nun wirklich kein Problem sein)

To assemble asmFish by yourself is pretty easy with the new fasmg Assembler. Here a short
step-by-step manual:

1) got to https://github.com/lantonov/asmFish/tree/fasmg
2) Click on the green button "Clone or download"
3) Click on "Download ZIP", to download the whole file-package on your PC
4) Unzip it
5) You get a folder called "asmFish-fasmg"
6) Doubleclick the file "make.bat" in there, a small menu will popup
7) choose the number, you want (2 is for Windows (popcount and bmi2-versions), 6 is for normal x64-version)
8) wait around 30 seconds - that's it. The asmFish-exe files are ready to use

How to use asmFish with the Cerebellum_Light Library (=how to get asmBrainFish)

1) Download Cerebellum_Light from the Zipproth-website: http://www.zipproth.de/#Brainfish_download
2) Unpack it
3) Set the UCI-parameters of asmFish (not the Book-parameters of your Chess-GUI (Arena, Fritz or whatever),
because the GUI has NOTHING TO DO with the Cerebellum_Library!!!):
- OwnBook = true (default: false!!!)
- BookFile = Path and Filename of the Cerebellum_Light_Poly.bin file
- BestBookMove = true (default true), if false the move is selected according to the weights in the Polyglot book
- BookDepth = 100 (or higher)(default 100, maximum number of moves played out of the book in one row)
Parent - - By Willi Prinz Date 2017-11-02 13:00
hallo Stefan ich habe das Cerebellum Buch immer auf Infinity benutzt.
Heute mit dem neuen Format spielt das Buch dort nicht mehr , was kann die Ursache sein?
Gruß Willi
Parent - - By Stefan Pohl Date 2017-11-02 13:05 Edited 2017-11-02 13:15
Willi Prinz schrieb:

hallo Stefan ich habe das Cerebellum Buch immer auf Infinity benutzt.
Heute mit dem neuen Format spielt das Buch dort nicht mehr , was kann die Ursache sein?
Gruß Willi


Das kann ich dir auch nicht sagen. Da die Library über die Engine angesprochen wird, ist der Ort, wo man die Engine benutzt, eigentlich belanglos.
Kann nur raten, alle UCI-Parameter der Engine genau zu checken, besonders die Pfad- und Dateinamenangabe (die Library-Datei heißt ja nun anders, nämlich Cerebellum_Light_Poly.bin). Bei asmFish muß zudem OwnBook auf true gesetzt werden.
Da Thomas BrainFish intern gerade erst auf das neue Format umgestellt hat, kann ich natürlich nicht ausscließen, daß dort evt. ein Bug vorliegt. Leider habe ich im Moment überhaupt keine PC-Kapazitäten frei, um das zu testen.
Probiere es mit einem selbst assemblierten asmFish (Anleitung ist ja hier vorhanden). Damit müßte es auf jeden Fall klappen.

Aktualisierung: Habe es nun doch schnell mal selber probiert. In der FritzGUI funktioniert der neue Brainfish (Version vom 1.11.2017) problemlos und spricht die Polyglot-Library korrekt an! Also kein Bug!

Stefan
Parent - - By Willi Prinz Date 2017-11-02 18:38
Ok mit der neuen Engine geht das bei mir auch.
Die alten Engine Brainfish vor dem 1.11 2017 verstehen das neue Buch nicht !

Gruß Willi
Parent - By Stefan Pohl Date 2017-11-02 18:53
Willi Prinz schrieb:

Ok mit der neuen Engine geht das bei mir auch.
Die alten Engine Brainfish vor dem 1.11 2017 verstehen das neue Buch nicht !

Gruß Willi


Ja, das ist klar. Erst der ganz neue BrainFish kennt das polyglot-Format.
Parent - By Patrick Götz Date 2017-11-03 02:58
Stefan Pohl schrieb:

kurz zur Info: Thomas Zipproth hat die Cerebellum_Light-Library von BrainFish auf das polyglot-Buchformat umgestellt.


Sehr schön ist, dass man das Cerebellum Buch damit auch unter SCID nutzen kann.
Parent - By Guenter Stertenbrink Date 2017-11-11 05:16 Edited 2017-11-11 05:21
lantonov hat (noch ?) keine updates der juengsten Quellcodes

ich habe sie von
https://github.com/tthsqe12/asm/

1) got to https://github.com/tthsqe12/asm/
2) Click on the green button "Clone or download"
3) Click on "Download ZIP", to download the whole file-package on your PC
4) Unzip it
5) You get a folder called "asm-master"
6) Doubleclick the file "make.bat" in there, a small menu will popup
7) ./.
8) wait some minutes - that's it. The asmFish (popcnt and bmi2) and armFish(v8) executables
(Windows and Linux) files are ready to use
- - By Patrick Jansen Date 2017-11-02 18:13
Hallo,

die neue Version BrainFish_171101 (mit Polyglot) lässt sich nicht auf Apple macOS 10.12.6 mit Apple LLVM version 9.0.0 (clang-900.0.38) kompilieren - die Kompilierung von Stockfish funktioniert auf diesem System wunderbar.

Könnt ihr das bitte prüfen und beheben? Mail mit den Compiler-Ausgaben an die Entwickler ist raus.
Parent - - By Thomas Zipproth Date 2017-11-03 13:48 Upvotes 1
Patrick Jansen schrieb:

Hallo,

die neue Version BrainFish_171101 (mit Polyglot) lässt sich nicht auf Apple macOS 10.12.6 mit Apple LLVM version 9.0.0 (clang-900.0.38) kompilieren - die Kompilierung von Stockfish funktioniert auf diesem System wunderbar.

Könnt ihr das bitte prüfen und beheben? Mail mit den Compiler-Ausgaben an die Entwickler ist raus.


Ich hab's mir angeschaut, es sind offenbar unter dem macOs Compiler einige Funktionen nicht verfügbar oder anders benannt die es unter mingw und Visual Studio gibt.
Weiterhin gibt es einen Compiler Fehler der nur unter LLVM - clang auftritt.

Ich behebe das heute Abend oder morgen (Samstag)
Parent - By Patrick Jansen Date 2017-11-04 21:30
Für alle zur Info, Thomas hat das Problem mittlerweile gelöst. Ihr findet die neue Version auf https://stockfishchess.de
Up Topic Hauptforen / CSS-Forum / BrainFish: Cerebellum_Light auf polyglot umgestellt

Powered by mwForum 2.29.3 © 1999-2014 Markus Wichitill