AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

game/board/Crafty-15.19.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Crafty Chess program V 15.19
Author: hyatt at cis.uab.edu (Robert M. Hyatt)
Uploader:dlorre caramail com (Dominique Lorre)
Type:game/board
Architecture:m68k-amigaos
Date:1998-10-06
Download:game/board/Crafty-15.19.lha - View contents
Readme:game/board/Crafty-15.19.readme
Downloads:775


From Crafty.FAQ (author : Anil Mungal (amungal@vnet.ibm.com)) :
---
[1] What is Crafty?

Crafty is a chess program written by Bob Hyatt (hyatt@cis.uab.edu).
It is modeled after Cray Blitz (also written by Bob).

Crafty has the following features:
- written in C
- can be compiled with the GNU C compiler on various platforms
- has a customizable opening book
- supports tablebases (Steven Edward's endgame database)
- text interface

Crafty is a work in progress, and is frequently updated/enhanced by Bob.
-----
[1.1] What platforms can Crafty run on?
---
Now, on the Amiga !

Crafty is really strong. It wins 2-0 again UChess which was the strongest
until now. It has also a lot a features, is PGN aware and also maintain an
internal list of IM/GM ! I noticed it was particularly good in endings:
White : Pc7, Kd7
Black: Pb7, Bg6, Kg3
White to move.
Crafty found the draw in 20 minutes on 68030/28Mhz !

THE GOOD NEWS
Crafty is now stable and the new version seems stronger. Also the book
creation needs much less memory.

THE BAD NEWS
Crafty still not works with AmyBoard and now only supports XBoard 4.0.
This means that we have either to use it with X11 and XBoard-4.0 or to
update AmyBoard to the 4.0 version (I say we because if you are working on it
I would appreciate to be informed about this).

There are also some memory problems. In resume : if you don't have enough
memory for the hash size, your system might crash. This will not happen
on startup since I have put some special code for handling this but only
if you declare a big hash size later or if your book is too big. The author
of crafty, Mr. Hyatt, recommends that you don't allocate more than the
half of your available memory for the hash size and if you follow this
recommendation you should not have any problem.

SYSTEM REQUIREMENTS
I think crafty would run on a 2Mb system.
Due to the way I compiled it, crafty requires a 68020 and a 2.0 system.

INSTALLATION
First, you must have a minimal Geek Gadgets distribution. If you don't,
please do the following :

Makedir <YourPath>/GG
Assign GG: <YourPath>/GG
Assign GNU: GG:
Assign ADE: GG
The two Assigns for ADE and GNU are for ancient names of the ADE distribution.
If you do this you will not have any trouble in the future.
Makedir GG:lib
Makedir GG:bin
Makedir GG:Sys

A few words of explanation : The geek gagdets is providing a library named
ixemul.library which is a NetBSD kernel. So it is very Unix-like. I don't want
to go into details but when you want to install a new Geek-Gagdets utility
it will have to be installed here, in the GG: drawer.

Now, install the ixemul.library, the name depends on the flavor you choose :

Cd GG:
Copy <SrcPath>ixemul-bin.lha ""
Lha x ixemul-bin

And ixemul will be extracted to your Sys directory

If the archive is in the form tar.gz :

Cd G::
copy <SrcPath>ixemul-bin.tar.gz ""
gunzip ixemul-bin.tar.gz
tar xvf ixemul-bin.tar

Of course, in this case you will need tar and gzip in your path.

If the ixemul is a special flavor you may need to rename it :

Cd GG:Sys/Libs
Rename ixemul020.library as ixemul.library
Rename ixnet020.library as ixnetlibrary

Now, all you need is to add the following in your user-startup :

Assign GG: <YourPath>/GG
Assign GNU: GG
Assign ADE: GG:
Path GG:bin ADD
Assign LIBS: GG:Sys/Libs ADD

As I said, this is minimal, you might need other assigns such as info:
for GG:info but this is not needed by Crafty. If your are interested,
you should have look on the Geek gadgets docs on the Aminet in dev/gg or
on the geek Gadgets site at http://www.ninemoons.com.

When you have done this, or if you have already a suitable Geek Gadgets
installation, crafty can be installed :


Cd <CraftyPath>
Copy <SrcPath>crafty-15.19.lha ""
Lha x crafty-15.19

The directory crafty-15.19 will be created.

It is better to use crafty on its directory. I have made a cleanup script
that will remove all the extra files
Just pay attention to the fact that crafty is creating two files each time
you play a game, so starting it from any directory will create a lot of
CLp files. Always starting Crafty from the same drawer is a good habit.


DEVELOPER INFORMATION
This is the list of modifications I have done for making the Amiga version
of Crafty-15.19.

1) I did not used the code I made for the 15.9 but started from the
15.19 official version. Anyway the author of Crafty seems to have integrated
some of my changes.

2) I have modified some of the init.c file because crafty was requiring
about 7M on startup. The Amiga code uses AvailMem to check how many memory
Crafty can use.

3) I removed the old _kbhit function from a previous version of Crafty
because the ixemul.library is good enough to handle the keyboard like
an UNIX system.

4) I discovered a bug when Crafty was compiled with -fomit-frame-pointer
(egcs-1.0.2). The file test.pgn reproduces it : Enter analyze mode,
then read test.pgn and try the following moves : Qxa2 and Kxc3.
If compiled with -fomit-frame-pointer the reply is :
                2     0.68  Mat03   31. ... Rxb3+ 32. Kd4 Qa1+ 33. Kd5
                                    Qe5#
which is false because the knight can take the queen !

If not compiled with -fomit-frame-pointer the reply is:
                2     0.63  Mat04   31. ... Rxb3+ 32. Kd4 Qf2+ 33. Kd5
                                    Rc5+ 34. Ke4 Qe3#
which is correct. Anyway the program is stable because it will reproduce
the same output when given this position to analyze.

5) If you try some options such as compiling without -mc68020 you might have
some compiler errors in attacks.c and movgen.c.
This is due to the complexity of the code and you will have to live with it.

6) After some tests it appeared that COMPACT_ATTACKS and SPLIT_SHIFTS were
giving the best results.

7) Compiled with egcs and stuff from the Geek Gadgets May 98 Snapshot.

8) Crafty will not compile on SAS/C because it needs 8 bytes long long.
If you really want to do that you will have to switch to C++, create
a BITBOARD class and perform an heavy modification to the sources (mainly
casting) and do the work again when you will you want to upgrade to the
next version. You can look at the ulonglong.h file if you are interested.

Dominique Lorre (dlorre@craramail.com) 1-Oct-98


Contents of game/board/Crafty-15.19.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                   47      62  75.8% -lh5- 7744 Jun 12  1998 crafty-15.19/cleanup
[generic]               173669  413964  42.0% -lh5- 57f3 Sep 26  1998 crafty-15.19/Crafty
[generic]                   51      54  94.4% -lh5- a469 Sep 26  1998 crafty-15.19/crafty.rc
[generic]                26518   66138  40.1% -lh5- 8c8e Sep 19  1998 crafty-15.19/doc/crafty.doc
[generic]                 4227   10252  41.2% -lh5- 8a62 Sep 19  1998 crafty-15.19/doc/CRAFTY.FAQ
[generic]                 3015    6411  47.0% -lh5- 1e58 Oct  1  1998 crafty-15.19/doc/README.amiga
[generic]                 1227    4441  27.6% -lh5- 4f19 Sep 13  1998 crafty-15.19/src/analyze.c
[generic]                 4046   16526  24.5% -lh5- be00 Sep 13  1998 crafty-15.19/src/annotate.c
[generic]                 1351    7736  17.5% -lh5- ba12 Sep 13  1998 crafty-15.19/src/attacks.c
[generic]                 1292    4343  29.7% -lh5- d875 Sep 13  1998 crafty-15.19/src/bench.c
[generic]                11087   49713  22.3% -lh5- 68d3 Sep 16  1998 crafty-15.19/src/book.c
[generic]                  608    2370  25.7% -lh5- e07c Sep 13  1998 crafty-15.19/src/boolean.c
[generic]                 9949   44222  22.5% -lh5- ea66 Sep 13  1998 crafty-15.19/src/chess.h
[generic]                 6266   40876  15.3% -lh5- 811d Sep 13  1998 crafty-15.19/src/data.c
[generic]                 3080   17619  17.5% -lh5- f969 Sep 13  1998 crafty-15.19/src/data.h
[generic]                  722    2670  27.0% -lh5- 6f23 Sep 13  1998 crafty-15.19/src/draw.c
[generic]                  633    2795  22.6% -lh5- 3993 Sep 13  1998 crafty-15.19/src/drawn.c
[generic]                 1756    6409  27.4% -lh5- 1e72 Sep 13  1998 crafty-15.19/src/edit.c
[generic]                 1669    6939  24.1% -lh5- 244b Sep 13  1998 crafty-15.19/src/enprise.c
[generic]                31525  145627  21.6% -lh5- 2e84 Sep 13  1998 crafty-15.19/src/epd.c
[generic]                 1793    5570  32.2% -lh5- f0b2 Sep 13  1998 crafty-15.19/src/epd.h
[generic]                 7458   27204  27.4% -lh5- 2317 Sep 13  1998 crafty-15.19/src/epddefs.h
[generic]                18731   77125  24.3% -lh5- e624 Sep 13  1998 crafty-15.19/src/epdglue.c
[generic]                  687    1251  54.9% -lh5- 46b8 Sep 13  1998 crafty-15.19/src/epdglue.h
[generic]                18899  120830  15.6% -lh5- b5e2 Sep 13  1998 crafty-15.19/src/evaluate.c
[generic]                  834    5724  14.6% -lh5- 5d1e Sep 13  1998 crafty-15.19/src/evaluate.h
[generic]                 1087    3409  31.9% -lh5- cdd6 Sep 13  1998 crafty-15.19/src/evtest.c
[generic]                  712    2616  27.2% -lh5- 5c6f Sep 13  1998 crafty-15.19/src/history.c
[generic]                10873   51418  21.1% -lh5- 48a9 Sep 26  1998 crafty-15.19/src/init.c
[generic]                 2606   10873  24.0% -lh5- cd1e Sep 13  1998 crafty-15.19/src/input.c
[generic]                 2218    9142  24.3% -lh5- 7b4a Sep 13  1998 crafty-15.19/src/interupt.c
[generic]                 4247   16641  25.5% -lh5- ad83 Sep 13  1998 crafty-15.19/src/iterate.c
[generic]                10799   48164  22.4% -lh5- ee93 Sep 13  1998 crafty-15.19/src/learn.c
[generic]                 1585    5959  26.6% -lh5- b075 Sep 13  1998 crafty-15.19/src/lookup.c
[generic]                59015  195460  30.2% -lh5- 60a3 Sep 18  1998 crafty-15.19/src/main.c
[generic]                 3915   22927  17.1% -lh5- ce62 Sep 13  1998 crafty-15.19/src/make.c
[generic]                 2203    6111  36.0% -lh5- 61f5 Sep 30  1998 crafty-15.19/src/Makefile
[generic]                 2252    5354  42.1% -lh5- 42f5 Sep 16  1998 crafty-15.19/src/Makefile.nt
[generic]                 6945   53131  13.1% -lh5- a40e Sep 13  1998 crafty-15.19/src/movgen.c
[generic]                 1929    9775  19.7% -lh5- e8a2 Sep 13  1998 crafty-15.19/src/next.c
[generic]                 1722    6522  26.4% -lh5- 1015 Sep 13  1998 crafty-15.19/src/nexte.c
[generic]                  949    3106  30.6% -lh5- 188f Sep 13  1998 crafty-15.19/src/nextr.c
[generic]                28260  137317  20.6% -lh5- 27bf Sep 13  1998 crafty-15.19/src/option.c
[generic]                 1506    5864  25.7% -lh5- f44c Sep 13  1998 crafty-15.19/src/output.c
[generic]                  871    3009  28.9% -lh5- 5a34 Sep 13  1998 crafty-15.19/src/phase.c
[generic]                 2266    8568  26.4% -lh5- c56e Sep 13  1998 crafty-15.19/src/ponder.c
[generic]                 1254    5742  21.8% -lh5- 8384 Sep 13  1998 crafty-15.19/src/preeval.c
[generic]                 1659    6220  26.7% -lh5- d316 Sep 13  1998 crafty-15.19/src/quiesce.c
[generic]                 1085    4903  22.1% -lh5- ec6c Sep 13  1998 crafty-15.19/src/repeat.c
[generic]                 1333    4854  27.5% -lh5- e270 Sep 13  1998 crafty-15.19/src/resign.c
[generic]                 1976    7537  26.2% -lh5- 9c35 Sep 13  1998 crafty-15.19/src/root.c
[generic]                 5440   21027  25.9% -lh5- e2ca Sep 13  1998 crafty-15.19/src/search.c
[generic]                 2003    7793  25.7% -lh5- 768d Sep 13  1998 crafty-15.19/src/searchmp.c
[generic]                 2971   12276  24.2% -lh5- 95b8 Sep 13  1998 crafty-15.19/src/searchr.c
[generic]                 2394    9169  26.1% -lh5- 2dcd Sep 13  1998 crafty-15.19/src/setboard.c
[generic]                 1564    9839  15.9% -lh5- 9f1e Sep 13  1998 crafty-15.19/src/Sparc.s
[generic]                 1988   10127  19.6% -lh5- 231c Sep 13  1998 crafty-15.19/src/store.c
[generic]                 1763    8072  21.8% -lh5- c4bd Sep 13  1998 crafty-15.19/src/swap.c
[generic]                 1915    6708  28.5% -lh5- 3049 Sep 13  1998 crafty-15.19/src/test.c
[generic]                 2959   12679  23.3% -lh5- 0157 Sep 13  1998 crafty-15.19/src/thread.c
[generic]                 3621   14519  24.9% -lh5- 451b Sep 13  1998 crafty-15.19/src/time.c
[generic]                 1297    5836  22.2% -lh5- 05d0 Oct  1  1998 crafty-15.19/src/ulonglong.h
[generic]                 2097   15539  13.5% -lh5- da7f Sep 13  1998 crafty-15.19/src/unmake.c
[generic]                17362   69922  24.8% -lh5- 3b70 Sep 21  1998 crafty-15.19/src/utility.c
[generic]                 1308    7012  18.7% -lh5- 1d78 Sep 13  1998 crafty-15.19/src/valid.c
[generic]                 2601   16590  15.7% -lh5- 6093 Sep 13  1998 crafty-15.19/src/validate.c
[generic]                 2638   19482  13.5% -lh5- 2a81 Sep 13  1998 crafty-15.19/src/X86.s
[generic]                    0       0 ****** -lh0- 0000 Sep 18  1998 crafty-15.19/TB/
[generic]                  353     532  66.4% -lh5- 9086 Jul  9  1998 crafty-15.19/test.pgn
[generic]                  858    1636  52.4% -lh5- af3b Sep 18  1998 crafty-15.19.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        70 files  539539 1970251  27.4%            Oct  6  1998
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>