MChess Pro 8.0: UCI Compatible

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

Moderator: Ras

User avatar
Steve Maughan
Posts: 1400
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

MChess Pro 8.0: UCI Compatible

Post by Steve Maughan »

I'm delighted to announce that Marty Hirsch's MChess Pro 8.0 is back, this time as a native UCI engine you can drop into any modern chess GUI.

https://github.com/stevemaughan/MChess-Pro-8.0-UCI-Compatible

This is not a new engine "in the style of" MChess. It is MChess. I took the 1998 MS-DOS program apart and rebuilt it in Zig, translating the original search and evaluation from the machine code and checking the result against the original running in a purpose-built emulator. With the bug corrections switched off, it matches the original on all 700 recorded searches: same move, same node count, same move order.

The fun part is the speed. The original manages about 7,000 nodes per second on a fast 1998 PC, while the rewrite runs at 1.8 to 2.9 million on a single thread of a current laptop. A first test of 750 fast games puts it at roughly 2525 Elo on the CCRL Blitz scale.

It ships as a single executable with Sandro Necchi's opening book and the original three- and four-man tablebases built in, so there is nothing to install. UCI support is thorough, including pondering and Fischer increments. I also corrected 38 bugs in the original (one of which could make it play an illegal move), and each is documented and switchable in the source.

For the programmers here, the README describes what the disassembly revealed about MChess's famous tactical style: the plan built at the root, the layered selective search, and a remarkable threat detector.

The Windows x64 build is fully tested. The Windows ARM, macOS, Linux, and Android builds are compiled but not yet run, so reports are very welcome, as are test results at longer time controls. One request: this is a restoration, not an improvement. If the original would have played it, it's not a bug!

All of the chess is Marty Hirsch's. The rewrite is free for non-commercial use.

Enjoy!

Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
chesstal
Posts: 7
Joined: Mon Jul 27, 2026 8:09 am
Full name: Adam Brown

Re: MChess Pro 8.0: UCI Compatible

Post by chesstal »

Steve Maughan wrote: ↑Mon Nov 23, 2026 4:00 am I'm delighted to announce that Marty Hirsch's MChess Pro 8.0 is back, this time as a native UCI engine you can drop into any modern chess GUI.

Steve
Fantastic work Steve! Quick question - did MChess Pro 8.0 support lower skill levels, don't see this as uci option. If not will have to use my weakening wrapper.
User avatar
Steve Maughan
Posts: 1400
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: MChess Pro 8.0: UCI Compatible

Post by Steve Maughan »

chesstal wrote: ↑Mon Nov 23, 2026 6:44 am
Steve Maughan wrote: ↑Mon Nov 23, 2026 4:00 am I'm delighted to announce that Marty Hirsch's MChess Pro 8.0 is back, this time as a native UCI engine you can drop into any modern chess GUI.

Steve
Fantastic work Steve! Quick question - did MChess Pro 8.0 support lower skill levels, don't see this as uci option. If not will have to use my weakening wrapper.
If it did, I don't believe they were converted over to the UCI engine.

— Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
Jouni
Posts: 3981
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: MChess Pro 8.0: UCI Compatible

Post by Jouni »

Stunning speed for legendary program! SSDF lists:

MChess Pro 8 K6-2 450 MHz 2483 25 -26

400x speed-up don't give much !? MChess is better mate solver than Stockfish sometimes :D

[d]rk6/p1r3p1/P3B1Kp/1p2B3/8/8/8/8 w - - 0 1

Analysis by MChess Pro 8:

1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
=/+ (-0.54) Depth: 7/18 00:00:00 65kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
=/+ (-0.54) Depth: 7/18 00:00:00 86kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
=/+ (-0.54) Depth: 8/21 00:00:00 115kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
=/+ (-0.54) Depth: 8/21 00:00:00 158kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
-/+ (-0.72) Depth: 9/22 00:00:00 270kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
-/+ (-0.72) Depth: 9/22 00:00:00 351kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
-/+ (-1.02) Depth: 10/29 00:00:00 567kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Kxg7 b4 5.Kxh6 b3 6.Kg5 b2 7.Be4 Kxa6
-/+ (-1.02) Depth: 10/29 00:00:00 848kN
1.Bd5 Kc8 2.Bxc7 Kxc7 3.Bxa8 Kb6 4.Bb7 b4 5.Kxg7 b3 6.Kxh6 b2 7.Be4 Kxa6
-/+ (-1.02) Depth: 11/34 00:00:00 1294kN
1.Bd7
-/+ (-1.01 ++) Depth: 11/34 00:00:00 1856kN
1.Bd7
=/+ (-0.41 ++) Depth: 11/34 00:00:00 1857kN
1.Bd7 b4
+- (#5) Depth: 11/34 00:00:00 1867kN
Jouni
Uri Blass
Posts: 11276
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: MChess Pro 8.0: UCI Compatible

Post by Uri Blass »

Jouni wrote: ↑Mon Nov 23, 2026 1:55 pm Stunning speed for legendary program! SSDF lists:

MChess Pro 8 K6-2 450 MHz 2483 25 -26

400x speed-up don't give much !? MChess is better mate solver than Stockfish sometimes :D
We do not have MChess Pro8 450 GHZ in the CCRL blitz list and I will not be surprised if it get something close to 2200 if people test it in blitz with 450 GHZ in the CCRL rating list.

MChessPro8 used slower time control in the SSDF list so I guess it is possible that the level of play in the SSDF rating list may be equivalent to 2483 elo of the CCRL blitz rating list.