Crafty is a rapidly developing chess engine with more and more features
being added regularly. It can play, analyze, and even annotate games
for you. Crafty can utilize tablebases; these are available for FreeBSD
in the related ports.
The files bitmaps.tgz and sound.tgz are available in your doc directory,
usually /usr/local/share/doc/crafty. The bitmaps are for html
annotations performed by crafty - they should be unpacked into the
directory you normally analyze games into, and all should be fine...
The sounds are for move announcements. Unpack the archive somewhere,
and have a look at the 'speak' script to customize for your use, if
desired.
22.1 -> New "skill" command that can be used to "dumb down" crafty.
"skill <n>" where n is a number between 1 and 100. 100 is max (default)
skill. Skill 70 will drop the playing Elo by about 200 points. Skill
50 will drop it about 400 points. The curve is not linear, and the
closer you get to 1, the lower the rating.
This package is set to allow per-user config files, and a shared books
directory. To accomplish this, crafty is setgid nobody, and the books
and learning information are owned by the user 'nobody.'
The location values are tunable, see message when make is issued.
If you have an SMP system, add a line to your ~/.craftyrc file to the
effect:
smpmt=2 (or however many cpus you have)
Do not set this higher than you really have, or performance will
actually drop.
New "skill" command that can be used to "dumb down" crafty. "skill <n>"
where n is a number between 1 and 100. 100 is max (default) skill.
Skill 70 will drop the playing Elo by about 200 points. Skill 50 will
drop it about 400 points. The curve is not linear, and the closer you
get to 1, the lower the rating.
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
For ports on riscv64 that fail the same (or similar ways) to aarch64, mark
them BROKEN.
While here, pet portlint (Makevar order).
Approved by: portmgr (tier-2 blanket)
Mark BROKEN on i386
In file included from crafty.c:28:
./tbprobe.c:111:9: error: invalid operand for instruction
__asm__("bsfq %1, %0": "=r"(idx):"rm"(b));
Reported by: pkg-fallout
MFH: 2019Q2
Mark as broken on armvX.
Apparently the attempt to defeat the x86 assembler is insufficient.
While here, conform to newer style by unquoting and sorting ARCHs.
Approved by: portmgr (tier-2 blanket)
Unbreak
Simplify setup by using only the default opening books
Don't rebuild the opening book that is also downloaded
Docs are no longer included, but provided online at
http://www.craftychess.com/documentation/craftydoc.html
- Fix build for several architectures.
Set CPUS=1 on non-x86. This leads to disabling custom thread synchronization
primitives coded in x86 assembly and thus allows build (confirmed successful
builds on mips and armv6, however haven't tested whether it actually works).
- Minor cleanups added to pet portlint
PR: 201255
Submitted by: amdmi3
- Don't install books.bin in this port. That file should be installed by
one of games/crafty-open-* port.
PR: ports/116622
Submitted by: J Shoemaker <shoemaker at bluebottle.com> (maintainer)
Reported by: pointyhat via pav
[Maintainer Update]: fix arch-related issues
Received email stating "build fails on amd64 system with a
message about unsupported instructions. [...] Modifying
patch-Makefile so that -m486 / -mtune 486 option is removed
fixed the problem for me." Updated Makefile to add PORTREVISION
so that updates will be seen by ports-tools, implemented
arch suggestions for fixes, removing most mention of
architecture specific instructions. Those will likely be
in make.conf, anyway, and if so will be passed along due
to inclusion.
PR: ports/116379
Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
[Maintainer Update] games/crafty: fixes & features
Does not need to ber setuid nobody, as this breaks the
per-user rc-files goal; setgid with group-writable files should
suffice. Configured for the new personalities feature, and added a
fix to make sure that help is available (wasn't working before as it
was moved from the executable to a file.)
PR: ports/116266
Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
update games/crafty (Also solves pr ports/116163)
Crafty is an open source chess engine. The former version is
very old, not to mention broken when compiling enormous opening books
(see pr ports/116163) This updates to the newest version, and solves
the problem as well. Sorry about the prior pr with this topic - the
makefile had a couple typos.
This seems to be an abandoned port. If the maintainer is no
longer interested, I will volunteer to take over this port.
The maintainers email address bounced, so Jonathan is now the happy
maintainer of this port.
PR: ports/116241
Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
update games/crafty (Also solves pr ports/116163)
Crafty is an open source chess engine. The former version is
very old, not to mention broken when compiling enormous opening books
(see pr ports/116163) This updates to the newest version, and solves
the problem as well. Sorry about the prior pr with this topic - the
makefile had a couple typos.
This seems to be an abandoned port. If the maintainer is no
longer interested, I will volunteer to take over this port.
The maintainers email address bounced, so Jonathan is now the happy
maintainer of this port.
PR: ports/116241
Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
- Change MASTER_SITES to make it fetchable again
- Adapt to use .zip distfiles
- Add SHA256 hashes
PR: ports/90071
Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
Approved by: maintainer timeout (14 days)
Upgrade to 19.1. Add the option for using assembler-optimized
implementation on Sparcs with the warning that it segfaulted in my
tests. A Sparc guru should take a look -- the stuff, apparently works on
Solaris.
Approved by: maintainer timeout (two weeks no response)