TOGA II

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

Moderator: Ras

chesstango
Posts: 184
Joined: Thu Mar 09, 2006 10:13 pm

TOGA II

Post by chesstango »

I wish I could ask for help installing Toga II correctly.
My questions are:
a) where from to download the latest complete uci version? (URL?)
b) is there any 64 bits compatible version?
c) how to know which version is MP compatible (ex 2 CPU)?
d) I have downloaded and located bitsbases from scorpios in C:\egbb
e) what to do with the SRC subfolder under Toga folder? I mean i leave it as it is or should i copy its files to be in the same folder than executables? or viceversa, should i copy the executables to SRC folder?
f) where to put performance .bin (book)???
g) Where to insert the updates to all that stuff ?
h) Should i change the src each time toga is updated?
i) what about if it is a beta update?
j) should I edit any file???

Suggests and opinions welcome.
thx in advance.
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: TOGA II

Post by Denis P. Mendoza »

chesstango wrote:I wish I could ask for help installing Toga II correctly.
My questions are:
a) where from to download the latest complete uci version? (URL?)
b) is there any 64 bits compatible version?
c) how to know which version is MP compatible (ex 2 CPU)?
d) I have downloaded and located bitsbases from scorpios in C:\egbb
e) what to do with the SRC subfolder under Toga folder? I mean i leave it as it is or should i copy its files to be in the same folder than executables? or viceversa, should i copy the executables to SRC folder?
f) where to put performance .bin (book)???
g) Where to insert the updates to all that stuff ?
h) Should i change the src each time toga is updated?
i) what about if it is a beta update?
j) should I edit any file???

Suggests and opinions welcome.
thx in advance.
Doc bernard,

Seems you're new to this, so please bear with my responses.

a. Download the offcial Toga Thomas Gaksch released versions at this link - http://www.superchessengine.com/toga_ii.htm
For the other modified releases, check the Toga related threads at CCRL forum - http://kirr.homeunix.org/chess/discussi ... um.php?f=7
You can also check them here -
http://www.freewebs.com/computerchessen ... engine.htm
b. There were 64-bit versions compiled by Bryan Hoffman before, but since 'mailbox' source code of Toga doesn't benefit this platform, only the 32-bit compiles were the main released binaries thereafter. Only Ryan Benitez at the moment successfully transformed the new Fruit code to bitboards, which is making optimum use of 64-bit and multiprocessor as well. This is still on beta testing and not released publicly. I only mentioned this as Toga is a derivative of the open source Fruit engine by Fabien Letouzey. Ryan Benitez continued the development of the Fruit engine as well. Fabien is now working on his new engine Chess64 (private).
c. Since the new Toga releases doesn't have a UCI MP selection option, the compiles were manually built specific for the number of processors. Normally you would see -1cpu, -2cpu, -4cpu etc. executables. As Thomas mentioned, "For mp support a simple shared hashtable is used."
d. The default Scorpio bitbase location is c:\egbb . Just place all the egbbdll.dll and corresponding bitbase (3-4 or 3-4-5 men) in that folder. To avoid some problems, use the latest egbbdll.dll and bitbases. Just search for 'Scorpio' engine here - http://wbec-ridderkerk.nl/html/enginesindex.htm
e. The 'src' folder contains the raw C++ code of the engine. This is only used by programmers who wants to study the code. Normally, you will only use the binary (executable) in using the engine. But if you want to make use of the source code to try and build the engine, you need a compiler like the free GCC and MingW or commercial ones like MSVC or ICC. Just leave the engine on its location and set path manually in your Chess GUI (like Winboard and Arena).
f. The 'performance.bin' is the default name of the polyglot book by Toga. Place it in the engine folder for ease.
g. For new engines, place them on a separate folder or location.
h. As I mentioned, 'src' has no bearing in using the engine during play - programmer's stuff only.
i. For beta engines, place them too on separate locations.
j. Normally, you only use one file when using Toga - the 'Toga' engine. And there's nothing to edit except the engine parameters (if you want) when you are enabled to view the UCI-configuration options in your chess interface like Arena. With other external accessories like logos, polyglot adapter, another polyglot book, etc. you may need to edit files and names as necessary.

Take note that the new MP-enabled beta engines starting from Toga 1.4beta5c has 'MutiPV' option disabled, also mentioned by Thomas in the readme.txt file.

I hope this helps.

Denis
Uri
Posts: 523
Joined: Thu Dec 27, 2007 9:34 pm

Re: TOGA II

Post by Uri »

What is a SRC folder?
Golem

Re: TOGA II

Post by Golem »

Uri wrote:What is a SRC folder?
You must be kidding, right ?
User avatar
Eelco de Groot
Posts: 4704
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: TOGA II

Post by Eelco de Groot »

That is the folder containing the sources for the program. This is not important for the end-user, only if you would like to make changes to the program and know how to compile with the C programming language. Because of the GPL licence, it is important that the sources are there, so everybody can see what changes were made to the program. Toga has this, Glaurung has a similar licence, Sloppy and some more programs and they all come with their sources documented.

Eelco
Tony Thomas

Re: TOGA II

Post by Tony Thomas »

Uri wrote:What is a SRC folder?
Source folder..


Ooops, I see that Elco already answered your question..
Golem

Re: TOGA II

Post by Golem »

Tony Thomas wrote:
Uri wrote:What is a SRC folder?
Source folder..
Ooops, I see that Elco already answered your question..
And this was already explained by Denis too...
e. The 'src' folder contains the raw C++ code of the engine. This is only used by programmers who wants to study the code. Normally, you will only use the binary (executable) in using the engine. But if you want to make use of the source code to try and build the engine, you need a compiler like the free GCC and MingW or commercial ones like MSVC or ICC. Just leave the engine on its location and set path manually in your Chess GUI (like Winboard and Arena).
Tony Thomas

Re: TOGA II

Post by Tony Thomas »

Golem wrote:
Tony Thomas wrote:
Uri wrote:What is a SRC folder?
Source folder..
Ooops, I see that Elco already answered your question..
And this was already explained by Denis too...
e. The 'src' folder contains the raw C++ code of the engine. This is only used by programmers who wants to study the code. Normally, you will only use the binary (executable) in using the engine. But if you want to make use of the source code to try and build the engine, you need a compiler like the free GCC and MingW or commercial ones like MSVC or ICC. Just leave the engine on its location and set path manually in your Chess GUI (like Winboard and Arena).
I was trying to give him a single word answer, and didnt read the wordy yet useful reply from Denis. However, I quicky noticed the put down from your side and was trying to show that a simple answer is all that is required at times.

Compare the two quotes below, anyone would agree that it would have taken less time to write mine..
Golem wrote: You must be kidding, right ?
Tony Thomas wrote:
Source folder..
Golem

Re: TOGA II

Post by Golem »

Tony Thomas wrote:
Compare the two quotes below, anyone would agree that it would have taken less time to write mine..
Golem wrote: You must be kidding, right ?
Tony Thomas wrote:
Source folder..
Yes but I was really thinking this question was some kind of humor (irony) but I was not totally sure about it. The response seems so obvious to me. By the way, if Zlatnik doesn't know what "SRC folder" means, I think he doesn't know what "source code" means either. So your two words must not be sufficient for him to understand.
Golem

Re: TOGA II

Post by Golem »

PS : My words were not meant to offend Zlatnik, we have all some ignorance with some subjects.