Porting for MorphOS of chess program Stockfish
  • Just looking around
    Posts: 5 from 2020/8/2
    Good morning!!

    I'm writing to ask help on development of a modern chess program for MorphOS. On the OS4 platform, I released Amifish, a GUI for the chess engine Stockfish, a command line program UCI compliant (Universal Chess Interface). Some time ago, I released MorphOS version also, but MorphOS version of Stockfish wasn't existing, so I used another engine, Predateur.

    Stockfish is a very strong program, free and opensource. Is wrote in C++ language. Moreover, several forks of that project are born.

    The goal I want to achieve, is to give to the Amiga community a modern chess program, for several platforms (OS4, AROS, MorphOS), releasing it for free.

    I tried several times to compile Stockfish, but I never did. I ask if someone is able to do it, and if so, to contact me, as I have an optimal version of Stockfish in order to give a complete program to the community, because it can manage both the opening books and the Syzygy tables of the finals. It would therefore be excellent, in my opinion, to port this version instead of the one available on the official website of Stockfish, which has the advantage of giving the strongest algorithm, but does not support the opening books, which I could not easily implement in the GUI. If it can help, Stockfish has already been ported for OS4 and AROS, the makefile of these versions can be a help to make others.
    Some links on the topic:

    STOCKFISH
    https://stockfishchess.org/

    AMIFISH FOR MORPHOS:
    https://www.morphos-storage.net/?id=1532021

    STOCKFISH FOR OS4:
    https://aminet.net/package/game/board/stockfish-5-amigaos4

    STOCKFISH FOR AROS:
    http://archives.aros-exec.org/index.php?function=showfile&file=game/misc/stockfish5_aros-i386.zip

    Thanks in advance
    Domenico
  • »02.08.20 - 10:17
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    amigadave
    Posts: 2713 from 2006/3/21
    From: Lake Arrowhead...
    Hello domenikov,


    I usually demonstrate MorphOS at the annual AmiWest Show in Sacramento, California, each October, and from what I have seen recently, the show is still planned to go forward this year, even though there is the risk of COVID-19. Reading your thread here gave me the idea to challenge someone who owns an A-Eon X5000 running AmigaOS4, to a friendly chess game, if someone here can provide a working port of Stockfish for MorphOS, for me to run on either my 2.7GHz G5 PowerMac, or hopefully the Quad G5 PowerMac I will be picking up around the middle of this month, from fellow member here, Doffo. I'm trading to him one or two of my Classic Amiga big box systems, but we have not worked out all of the trade details yet.

    So, if you or someone else that has good porting skills can complete the port of Stockfish to MorphOS in time for this year's AmiWest Show, I will issue a friendly challenge to one of the show attendee's, perhaps Alex Perez, or Bill Bosari. It could be a fun event to watch during the show.
    MorphOS - The best Next Gen Amiga choice.
  • »02.08.20 - 22:24
    Profile
  • Just looking around
    Posts: 5 from 2020/8/2
    Hello amigadave,

    what you have in mind is an interesting challenge! I'd like to see Stockfish's performance under the more powerful Amiga systems.
  • »04.08.20 - 08:23
    Profile
  • MorphOS Developer
    zukow
    Posts: 555 from 2005/2/9
    From: Poland
    I usually play on lichess.org which uses Stockfish, although they changed some internals and it stopped working with Odyssey and under Wayfarer beta it works without visible chess pieces movement (probably the same problem as in twitter).
  • »04.08.20 - 09:12
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1004 from 2004/2/8
    From: Poland
    Quote:

    amigadave wrote:
    I will issue a friendly challenge to one of the show attendee's, perhaps Alex Perez, or Bill Bosari. It could be a fun event to watch during the show.



    ...and the winner takes the loosers' hardware. That would be exciting. As exciting as... a chess game can be :)
  • »04.08.20 - 11:36
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Tom01
    Posts: 166 from 2009/9/20
    Quote:

    koszer wrote:
    Quote:

    amigadave wrote:
    I will issue a friendly challenge to one of the show attendee's, perhaps Alex Perez, or Bill Bosari. It could be a fun event to watch during the show.



    ...and the winner takes the loosers' hardware. That would be exciting. As exciting as... a chess game can be :)


    What?
    Yes, I also don't like Chess. Checkers is much better.
  • »05.08.20 - 03:17
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 516 from 2004/4/15
    I just had a look quick into the sources of Stockfish.
    As far as can see the mmap stuff needs to be replaced, that should be all.
    I can do the changes in the next few weeks if nobody else had done this till then.
    But it should not be too hard to get this stuff running on Mos.
    regards
    eliot
  • »05.08.20 - 08:00
    Profile
  • Just looking around
    Posts: 5 from 2020/8/2
    Quote:

    eliot wrote:
    I just had a look quick into the sources of Stockfish.
    As far as can see the mmap stuff needs to be replaced, that should be all.
    I can do the changes in the next few weeks if nobody else had done this till then.
    But it should not be too hard to get this stuff running on Mos.


    GREAT! As I told before, I have a slightly different version, outdated for the strenght, but more complete: it supports opening books, starting from Stockfish 6 aren't supported anymore. Using the functionality of the engine to access books, there will be no need to implement this functionality in the GUI. Contact me if you want to receive this version.

    In this moment, is important to have an UCI interface with all important features, and a strong chess engine. Other functionalities can be added subsequently.
  • »05.08.20 - 09:32
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 516 from 2004/4/15
    I checked out the current master from git.
    First compile errors were in one cpp file
    where mmap etc was used.
    All other cpps seem to be fine.
    Really a just a ten minutes quick look into
    the sources. There might be more?!
    regards
    eliot
  • »05.08.20 - 18:05
    Profile
  • Just looking around
    Posts: 5 from 2020/8/2
    Quote:

    eliot wrote:
    I checked out the current master from git.
    First compile errors were in one cpp file
    where mmap etc was used.
    All other cpps seem to be fine.
    Really a just a ten minutes quick look into
    the sources. There might be more?!


    I gave a look at sources of Stockfish 5 ported on OS4 and AROS. No references to mmap found, if you want to give a try...

    In the complete version that I would like to port, there are some mmap references, so at moment I don't know if it is a good idea to submit it to you. There would be the same problem.
  • »05.08.20 - 21:46
    Profile