Crafty icon indicating copy to clipboard operation
Crafty copied to clipboard

crafty not reading .craftyrc when started from another folder

Open EJFuchs opened this issue 4 years ago • 1 comments

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?

EJFuchs avatar Dec 08 '20 15:12 EJFuchs

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

MichaelB7 avatar May 12 '21 22:05 MichaelB7