Topple Chess x64 Windows - new compile

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

Moderators: hgm, Rebel, chrisw

Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Topple Chess x64 Windows - new compile

Post by Norbert Raimund Leisner »

Hello,
can anyone of you create a new Windows x64 (without bmi2) edition of https://github.com/konsolas/ToppleChess/ please?

Vincent said: The UCI protocol hadn't been fully implemented: the new commit should implement UCI to the extent of being able to play a game under a GUI.

The new source code seems to be from 2018-05-31.

Best wishes,
Norbert
Joost Buijs
Posts: 1564
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Topple Chess x64 Windows - new compile

Post by Joost Buijs »

Norbert Raimund Leisner wrote: Sun Jun 03, 2018 11:36 am Hello,
can anyone of you create a new Windows x64 (without bmi2) edition of https://github.com/konsolas/ToppleChess/ please?

Vincent said: The UCI protocol hadn't been fully implemented: the new commit should implement UCI to the extent of being able to play a game under a GUI.

The new source code seems to be from 2018-05-31.

Compiling this natively under Windows is not so easy, I tried with both MSVC 14.1 and Intel C++ 18.0 but there are too many issues. Of course, these issues can be solved, but I don't want to start poking around in the source of somebody else to get it compiled.

Maybe somebody with MinGW-w64 can give it a try.
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: Topple Chess x64 Windows - new compile

Post by pferd »

This is compiled with mingw-w64. I added the git hash to the engine version and edited the cmakelists.txt slightly. Hope it runs on your machine:

https://www.sendspace.com/file/ffffvg
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: Topple Chess x64 Windows - new compile

Post by Norbert Raimund Leisner »

[White "Topple"]
[Black "Mobmat903d"]
[Result "0-1"]
[TimeControl "300"]
[WhiteELO "2200"]
[BlackELO "2200"]
[Opening "Pirc"]
[ECO "B07"]
[Variation "2.d4 Nf6"]
[Termination "rules infraction"]
[PlyCount "52"]
[WhiteType "program"]
[BlackType "program"]

1. e4 d6 2. d4 Nf6 3. e5 dxe5 4. dxe5 Qxd1+ 5. Kxd1 Ng4 6. Ke1 Nxe5 7. Bf4 Nbc6 8. Bb5 Bd7 9. Bxe5 Nxe5 10. Bxd7+ Kxd7 11. Nc3 e6 12. Rd1+ Kc8 13. Rd4 g6 14. Nge2 h5 15. Ne4 c5 16. Rd1 Be7 17. h4 Kc7 18. Rh3 Rhd8 19. Rc3 Rxd1+ 20. Kxd1 Rd8+ 21. Kc1 b6 22. g3 Kb7 23. Nd2 Ng4 24. Rf3 Nh6
25. Nc3 Nf5 26. Nce4 Bf8 0-1

[White "Xchenard64"]
[Black "Topple"]
[Result "1-0"]
[TimeControl "300"]
[WhiteELO "2200"]
[BlackELO "2200"]
[Opening "English"]
[ECO "A29"]
[Variation "Four Knights, 4.g3 Bc5 5.Bg2"]
[Termination "time forfeit"]
[PlyCount "51"]
[WhiteType "program"]
[BlackType "program"]

1. c4 e5 2. Nc3 Nc6 3. g3 Nf6 4. Nf3 Bc5 5. Bg2 d6 6. d3 Bb6 7. O-O h6 8. Na4 Be6 9. Bd2 e4 10. Nxb6 axb6 11. dxe4 Bxc4 12. b3 Ba6 13. Bc3 O-O 14. Nh4 Re8 15. Nf5 Nxe4 16. Bxg7 Qg5 17. Bxe4 Rxe4 18. Qd5 Re5 19. Nxh6+ Qxh6 20. Bxe5 Qh5 21. Rfe1 Bxe2 22. Rxe2 Qxe2 23. Bc3 Qc2 24. Qf3 Kf8
25. a4 Re8 26. Bf6 1-0

[White "Topple"]
[Black "Xchenard64"]
[Result "0-1"]
[TimeControl "300"]
[WhiteELO "2200"]
[BlackELO "2200"]
[Opening "Scandinavian"]
[ECO "B01"]
[Variation "2...Qxd5 3.Nc3 Qa5 4.Nf3 Nf6"]
[Termination "time forfeit"]
[PlyCount "52"]
[WhiteType "program"]
[BlackType "program"]

1. e4 d5 2. exd5 Qxd5 3. Nc3 Qa5 4. Nf3 Nf6 5. Bb5+ c6 6. Bd3 e5 7. O-O Bc5 8. Nxe5 O-O 9. Re1 Nbd7 10. Nc4 Qc7 11. Na4 b5 12. Nxc5 Nxc5 13. Ne5 Re8 14. b4 Rxe5 15. bxc5 Rxc5 16. Ba3 Rg5 17. Re7 Qf4 18. Rb1 Be6 19. Rb4 Qd6 20. Rb7 Bc8 21. h4 Rxg2+ 22. Kxg2 Bxb7 23. Kg1 Qd5 24. Bc4 bxc4
25. Rxb7 c3 26. d3 Qxa2 0-1

[White "Topple"]
[Black "Mobmat903d"]
[Result "0-1"]
[TimeControl "300"]
[WhiteELO "2200"]
[BlackELO "2200"]
[Opening "Dutch"]
[ECO "A82"]
[Variation "Staunton Gambit, Balogh Defence"]
[Termination "time forfeit"]
[PlyCount "14"]
[WhiteType "program"]
[BlackType "program"]

1. e4 d6 2. d4 f5 3. e5 dxe5 4. dxe5 Qxd1+ 5. Kxd1 Nc6 6. Nf3 e6 7. Be3 Nh6 0-1
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: Topple Chess x64 Windows - new compile

Post by konsolas »

Sorry, Topple is still struggling with the basics of UCI at the moment. I've recently added a new commit which should be better at observing rules.
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: Topple Chess x64 Windows - new compile

Post by pferd »

I compiled again, based on the latest commit.

https://www.sendspace.com/file/47ckh5
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: Topple Chess x64 Windows - new compile

Post by konsolas »

pferd wrote: Tue Jun 05, 2018 1:01 pm I compiled again, based on the latest commit.

https://www.sendspace.com/file/47ckh5
Hey pferd, thanks for compiling it; are you using -march=ivybridge to compile without BMI2?
pferd
Posts: 134
Joined: Thu Jul 24, 2014 2:49 pm

Re: Topple Chess x64 Windows - new compile

Post by pferd »

I used some generic options similar to the one Stockfish uses for its modern compiles -O3 -msse3 -mpopcnt -Wall -static.

I did a quick comparison of the flags mentioned above and the default flags and did not notice any major difference...
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: Topple Chess x64 Windows - new compile

Post by Norbert Raimund Leisner »

Hello CCRL/CEGT users,

can you test please https://drive.google.com/file/d/1bCiP_r ... 2QqCZ/view ? The x64 popcnt version crashes immediately under WinBoard 4.8.0 GUI. And https://transfer.sh/cfqH6/Topple.exe (no bmi.2 , ivy bridge) shows under Arena 3.5.1: illegal move

Regards,
Norbert
Joost Buijs
Posts: 1564
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Topple Chess x64 Windows - new compile

Post by Joost Buijs »

Norbert Raimund Leisner wrote: Thu Jun 07, 2018 12:25 pm Hello CCRL/CEGT users,

can you test please https://drive.google.com/file/d/1bCiP_r ... 2QqCZ/view ? The x64 popcnt version crashes immediately under WinBoard 4.8.0 GUI. And https://transfer.sh/cfqH6/Topple.exe (no bmi.2 , ivy bridge) shows under Arena 3.5.1: illegal move

Regards,
Norbert
Besides a few small issues I was able to build the latest commit of ToppleChess under Windows. I tried it briefly on my own system and I didn't encounter any problems with it.

You can download it here: https://www.dropbox.com/s/s2lsvorw7u1hi ... s.rar?dl=0