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