OpenCritter compiled for Linux with Free Pascal

Discussion of anything and everything relating to chess playing software and machines.

Moderators: Harvey Williamson, Dann Corbit, hgm

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
User avatar
Roland Chastain
Posts: 442
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

OpenCritter compiled for Linux with Free Pascal

Post by Roland Chastain » Tue Nov 17, 2020 2:04 pm

Hello! I retouched the source code of OpenCritter 1.1.37, to compile it for Linux with Free Pascal. The program seems to work correctly. Maybe it will interest someone. Theoretically the program is able to use Gaviota tablebases, but I haven't yet tried it. This will be (I hope) for the next version.

Thanks to Richard Vida for sharing his work, and for kindly allowing me to use it.

I will create a git repository soon. For now here is a link to the ZIP file (source and Linux binaries): OpenCritter 1.1.38

Best regards.

Roland
Qui trop embrasse mal étreint.

User avatar
Scally
Posts: 139
Joined: Thu Sep 28, 2017 7:34 pm
Location: Bermondsey, London
Full name: Alan Cooper
Contact:

Re: OpenCritter compiled for Linux with Free Pascal

Post by Scally » Tue Nov 17, 2020 10:40 pm

Thanks Roland,

I managed to compile & run it on my Raspberry Pi 4, I just had to delete the ‘{$asmmode intel}’ line from platform.inc


Thanks,

Al.
Alan Cooper
My Chess Computers

User avatar
Roland Chastain
Posts: 442
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: OpenCritter compiled for Linux with Free Pascal

Post by Roland Chastain » Wed Nov 18, 2020 6:07 am

Scally wrote:
Tue Nov 17, 2020 10:40 pm
I managed to compile & run it on my Raspberry Pi 4, I just had to delete the ‘{$asmmode intel}’ line from platform.inc
Thank you for the information. This line is no longer needed: I will delete it.

By the way, I tested the program in Chess960 mode: it doesn't work. I am trying to find what is wrong.
Qui trop embrasse mal étreint.

unserializable
Posts: 31
Joined: Sat Oct 24, 2020 4:39 pm
Full name: Taimo Peelo

Re: OpenCritter compiled for Linux with Free Pascal

Post by unserializable » Wed Nov 18, 2020 8:17 pm

Thanks for this, I have not tried it out yet, but was wandering whether OpenCritter could be the strongest open-source chess engine in Pascal?
Monchester 1.0, chess engine playing at scholastic level: https://github.com/unserializable/monchester ("Daddy, it is gonna take your horsie!")
Tickle Monchester at: https://lichess.org/@/monchester

User avatar
Roland Chastain
Posts: 442
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: OpenCritter compiled for Linux with Free Pascal

Post by Roland Chastain » Wed Nov 18, 2020 11:19 pm

unserializable wrote:
Wed Nov 18, 2020 8:17 pm
Thanks for this, I have not tried it out yet, but was wandering whether OpenCritter could be the strongest open-source chess engine in Pascal?
Yes, I believe. Booot is also very strong (but works only on Windows).
Qui trop embrasse mal étreint.

User avatar
Roland Chastain
Posts: 442
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: OpenCritter compiled for Linux with Free Pascal

Post by Roland Chastain » Thu Nov 19, 2020 5:49 am

Roland Chastain wrote:
Wed Nov 18, 2020 6:07 am
By the way, I tested the program in Chess960 mode: it doesn't work. I am trying to find what is wrong.
There was an error in the FEN parser. It is fixed now. But there is another problem: after a castling from the opponent, the engine plays illegal move. I must take the time to review everything relating to castling.
Qui trop embrasse mal étreint.

User avatar
Roland Chastain
Posts: 442
Joined: Sat Jun 08, 2013 8:07 am
Location: France
Full name: Roland Chastain
Contact:

Re: OpenCritter compiled for Linux with Free Pascal

Post by Roland Chastain » Sat Nov 21, 2020 7:11 pm

The engine works more or less but there are some issues that I am not able to fix for now, because there are many things in the program that I don't understand. For example, I didn't know until today what is a "null move". :)

I created a git repository: Open Critter

Contributions are welcome.
Qui trop embrasse mal étreint.

Post Reply