Author: Marcus Heidkamp
Date: 04:43:44 06/05/01
While trying to implement 6-men endgame capability to my program I noticed that (at least) the "krrkrb" code is missing Crafty's egtb.cpp. I have not checked all 6-men TBs available at the moment, because I only have those fitting on a CR-ROM. I added the following code to include it: line 3197: #define tbid_krrkrb (BASE_33 + 14) all other indices will be incremented by one. line 3474: TB (krrkrb, false, false, (T33<R, R, R, B>::IndCalcW), (T33<R, R, R, B>::IndCalcB), 2752842060, 2822371200) I was not sure about the 16bit flag, but TRUE did not seem to work, so I assumed FALSE. The last two values might be wrong (I guess it's the uncompressed size), but mine have those sizes. Dr. Hyatt said once, that just using one file, e.g. nbw but not nbb, might not work. I did an implementation, so that I can use the smaller one of the two files, and it works fine! This saves a lot of HD space when using 5 and 6 men endings. And I assume that performance should be even better due to better disk cache hit rates. Perhaps it is worth considering to do something equivalent in Crafty, as so many people use it. (and it is INDEED a great program IMHO).
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.