[Bug 533756] Re: Crafty does not use the opening book
Is there a good reason why this bug persists 9 years after being reported/confirmed? Installing Crafty today from the Ubuntu 18.04 repos does not put the book files where Crafty can find them. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/533756 Title: Crafty does not use the opening book To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/crafty/+bug/533756/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: crafty (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/533756 Title: Crafty does not use the opening book To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/crafty/+bug/533756/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
mortal@:~$ crafty Machine is NUMA, 1 nodes (4 cpus/node) unable to open book file [./book.bin]. book is disabled unable to open book file [./books.bin]. Crafty v23.4 (1 cpus) White(1): with the latest oneiric crafty ii crafty 23.4-5ubuntu1 state-of-the-art chess engine, compatible with xboard ii crafty-books-medium1.0.debian1-2 Medium size opening books for the crafty chess engine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/533756 Title: Crafty does not use the opening book To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/crafty/+bug/533756/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
I have the same problem with Ubuntu 10.10, the book is there in /usr/share/crafty, but it does not load by default. I figured out the bookpath parameter from a man crafty, and read about the /usr/share/doc/crafty shell script here, but this should exist by default upon install, and if people want to later specialize the book they can, but the book installed by default should be loaded by crafty by default. ** Tags added: maverick -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/533756 Title: Crafty does not use the opening book -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
I've also experienced this bug as well, but I think I've found a fix. in /usr/share/doc/crafty there is a shell script, what this script does is that it copies the opening books to a .crafty folder in your homedir and gives you environmental variables to put in your .bashrc to point to that directory. After that, all you have to do is to reload the desktop manager, by either logging out or rebooting. Not only will this work as an easy workaround for the bug, but it also gives you a personal book file with write permissions, allowing crafty to go into learning mode. Don't run that script as sudo btw, since it creates the files with the privileges of whatever user invokes it. Having files in your homedir with root as owner won't allow you to write to them, thus disabling learning mode :) I also changed the crafty.rc to allow it to use both of my cores :3 (change mt=0 to mt=2 where 2 is the number of cpus/cores) -- Crafty does not use the opening book https://bugs.launchpad.net/bugs/533756 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
I've just had the same bug I solve it installing 20.14 version (you can find it in multiverse) and books medium-to-small It works ok in karmy and lucid -- Crafty does not use the opening book https://bugs.launchpad.net/bugs/533756 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
The handling of the opening book is a source of confusion with this package. I just installed package crafty-books-medium. It appears to have installed the book into /var/lib/crafty. In Karmic, the Ubuntu package defaults the opening book to the current directory. (This shows up under strace.) The search for tablebase files, however, defaults to /usr/lib/crafty/TB so at first blush the book default appears broken and inconsistent. My book works when I run crafty as follows: /usr/games/crafty bookpath=/var/lib/crafty There is also an environment variable documented on the man page to achieve this effect. However, when run this way, it complains that my book can not be opening for writing, so learning mode is disabled. Perhaps this is why the default was left at . Logical, on some level, perhaps. Friendly or predictable, not even close. -- Crafty does not use the opening book https://bugs.launchpad.net/bugs/533756 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 533756] Re: Crafty does not use the opening book
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/40410827/Dependencies.txt -- Crafty does not use the opening book https://bugs.launchpad.net/bugs/533756 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs