MichaelB7 / Crafty

Crafty is the "son" (direct descendent) of the chess program Cray Blitz. it is designed totally around the bit-board data structure for reasons of speed of execution, ease of adding new knowledge, and a significantly cleaner overall design. it is written totally in ANSI C with some few UNIX system calls required for I/O, etc.
http://craftychess.com
53 stars 14 forks source link

crafty not reading .craftyrc when started from another folder #10

Open EJFuchs opened 3 years ago

EJFuchs commented 3 years ago

I have copied the crafty programs to their own folder in ~/bin. If I start the program from that folder, the .craftyrc file is read, however, if I start crafty from Xboard or from the terminal in another folder, the .craftyrc is not read. I am using macOS Big Sur, and have edited the .zshrc file to include the appropriate export CRAFTY_RC_PATH.

Do I need to include the folder in the path?

MichaelB7 commented 3 years ago

It works in Windows, I just tested it. ->System Properties->Environment Variables Can you share your CRAFTY_RC_PATH? Obviously, xboard will need to be restarted and the variables sourced.

For my test , I set xboard to one thread and then added smpmt=60 to a crafty.rc located at "c:\" and added this to EV CRAFTY_RC_PATH=C:\ and crafty started with 60 threads