I just finished a custom crafty setup complete with table bases and all the extra bells and whistles that make crafty a real serious opponent. Here's how i did it
1. Download and install Crafty
Code:
sudo apt-get install crafty
2. Download multi part enormous.zip as well as start.pgn and startc.pgn from
ftp://ftp.cis.uab.edu/pub/hyatt/pgn/ and extract enormous.zip (all 3 files need to be in the same directory)
3. Open terminal cd /directory/of/pgn/files and crafty to run
4. Once crafty is running you should see White(1):
From here type book create enormous.pgn 60
Type books create start.pgn 60
Type bookc create startc.pgn
5(Optional). Now that you have the opening books created it's time to get the table bases. Go ftp://ftp.cis.uab.edu/pub/hyatt/TB/ and download everything in the 3-4-5 and tbs directory (this is about 7GB worth of files and isn't necesary unless you're looking to do some serious analysis or you like to torture yourself with brutal chess engine settings).
6a(eboard setup)
NOTE: if you wish to use eboard to play against crafty all book files must be located in ~/.eboard and all table base files must be located in ~/.eboard/craftylog
1) Download and install eboard
Code:
apt-get install eboard
2) Open eboard and start a new game Peer -> Play against Engine -> crafty
3) After eboard creates an engine bookmark we want to modify this slightly
Peer -> Engine Bookmarks -> Edit Engine Bookmarks (assuming you have one)
under the "Directory" option type /home/user/.eboard/craftylog
4) Edit the command box to say crafty smpmt=2* hash=512M* hashp=128M* ponder=on learn=7 bookpath=/home/gimpdaddy1979/.eboard egtb=on tbpath=/home/user/.eboard/craftylog this will setup eboard to run crafty with extreme settings.
Good Luck!
*Note: smpmt=2 assumes a dual core system. The hash and hashp options control how much memory crafty should use for it's analysis. You can set these at just about anything, but if you exceed your systems available memory limits the highest possibles are set automatically by the engine. So feel free to experiment to find your systems limits the console output on eboard will tell you what values crafty actually used and you can later edit the command
6b(scid setup)
1)
Code:
sudo apt-get install scid
2) Open scid and open the analysys engine window....Tools -> Analysis Engine
3) Cick new and enter the following...
Name: Crafty V.23.1(or whatever version you're using)
command: crafty
parameters: smpmt=2 hash=512M hashp=128M ponder=on learn=7 bookpath=/home/user/.eboard egtb=on tbpath=/home/user/.eboard/craftylog
Directory /home/user/.eboard
4) Uncheck UCI because crafty is a winboard engine and leaving this checked will cause errors.
5) Double click the new entry created for crafty to load the engine and you're done! Crafty will now analyze your games at it's full strength
P.S I hope this helps people who want to play some extreme chess on linux without having to buy some expensive comercial product. Also if anyone knows how to run crafty with those options through Xboard with ICS i'd be much appreciative for the help
-peace
Bookmarks