Hi, I'm wondering if position learning has been deleted from the newer Crafty versions? I've recently started playing with Crafty 22.4, and I've gotten it working in Winboard and Arena. But it's not creating a position.bin file when I add a "learn 7" command (without the quotes) to the crafty.rc file. I get log messages saying that my book learning and result learning are enabled, but I do NOT get any message stating that position learning is enabled.
I'm aware that, apparently, starting with version 20.17, the export files (book.lrn, position.lrn) no longer are created/used (as discussed in the revision history in the source file main.c). But what about the position.bin file? No matter which 22.4 compile I use (in console mode), the position.bin file is not being created for me. Should it be created, or was this function also deleted starting with version 20.17?
I can give details of the log output if necessary, but maybe there's a simple answer to the question.
By the way, I did discover one interesting thing. Initially, I couldn't get the book learning to be activated. I had added a comment statement to the right of the learn 7 command (using the # character) in Crafty.rc. I found that once I removed this comment, the book learning feature would work.
P.S. - One additional question. I really get confused about when a command in the crafty.rc file needs an equal sign and when it shouldn't. (For example, log=off versus learn 7). If there's a rhyme or reason to this convention, it eludes me. Any help on this one?
Crafty 22.4 position.bin file?
Moderator: Ras
-
Jimbo I
- Posts: 149
- Joined: Thu Feb 15, 2007 4:34 am
- Location: USA
-
bob
- Posts: 20943
- Joined: Mon Feb 27, 2006 7:30 pm
- Location: Birmingham, AL
Re: Crafty 22.4 position.bin file?
1. position learning has been gone for a year or more...Jimbo I wrote:Hi, I'm wondering if position learning has been deleted from the newer Crafty versions? I've recently started playing with Crafty 22.4, and I've gotten it working in Winboard and Arena. But it's not creating a position.bin file when I add a "learn 7" command (without the quotes) to the crafty.rc file. I get log messages saying that my book learning and result learning are enabled, but I do NOT get any message stating that position learning is enabled.
I'm aware that, apparently, starting with version 20.17, the export files (book.lrn, position.lrn) no longer are created/used (as discussed in the revision history in the source file main.c). But what about the position.bin file? No matter which 22.4 compile I use (in console mode), the position.bin file is not being created for me. Should it be created, or was this function also deleted starting with version 20.17?
I can give details of the log output if necessary, but maybe there's a simple answer to the question.
By the way, I did discover one interesting thing. Initially, I couldn't get the book learning to be activated. I had added a comment statement to the right of the learn 7 command (using the # character) in Crafty.rc. I found that once I removed this comment, the book learning feature would work.
P.S. - One additional question. I really get confused about when a command in the crafty.rc file needs an equal sign and when it shouldn't. (For example, log=off versus learn 7). If there's a rhyme or reason to this convention, it eludes me. Any help on this one?
2. = is always optional. log=off and log off do exactly the same thing. It accepts either as sometimes the = makes it more readable, but it is up to you whether you use it or not.
3. you can start a line with # to make it a comment, but you can't stick a # on the end, that is invalid syntax and will break the parsing which will cause that line to most likely be ignored...
-
Jimbo I
- Posts: 149
- Joined: Thu Feb 15, 2007 4:34 am
- Location: USA
Re: Crafty 22.4 position.bin file?
Thanks very much for the answers, Dr. Hyatt! 