DannyN schrieb am Sonntag, 16. Oktober 2022 um 15:58:25 UTC+2:
After a bit of trial and error I managed to compile Rodent IV 0.33 (Randy's image has 0.32) using the source code that can be found here: https://github.com/nescitus/rodent-iv I don't know what has changed since 0.32 but something must have as the binary is much larger (877kb for 0.33 vs 223kb for 0.32).
I have compiled it with some different default folder settings. The rodent4 folder must now be placed within the armv7l folder and the binary and uci file must be placed within the rodent4 folder. I've done this because with different folder settings, the engine when started from the command line, complained that it could not load basic.ini which is a file in the personalities folder. It gave this error in 0.32 as well and although the engine loads without any problems without basic.ini, I do not like errors and this fixes it.
My compile uses the personality text files that are in the personalities folder. I use them with the uci command PersonalityFile =. So for example for the Alekhine personality the uci entry only has:
[Alekhine]
PersonalityFile = alekhine.txt
This has the advantage that the rodent4.uci is much smaller as all uci settings for a personality are loaded from the text file. Also adding new personalities is much easier. Running the engine with logging option shows that it works.
It's a zip flle which contains the rodent4 folder that must be copied to the armv7l folder and an engines.ini file that contains text that must be copied to engines.ini
I've set up the rodent4.uci file with 10 elo levels (from 1100 to 2000) and 26 personalities of famous chess players. I've not set a default limit strength for elo so all personalities play full strength as this gives the best impression of the different styles imo (but this can be easily changed of course).