MChessProUCI

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

Moderator: Ras

User avatar
AdminX
Posts: 6434
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

MChessProUCI

Post by AdminX »

A.I. created MChessProUCI, a standalone 32-bit UCI chess engine wrapping the unpacked 16-bit MChess Pro v3.5 engine and its embedded opening book data with zero runtime file dependencies.

https://github.com/tedsummers/MChessProUCI

I hope you all enjoy this emulated blast from the past! :D

### Deliverables

All files are in /home/idiot/Chess/MChessProUCI/:

• 32-bit Linux Binary: Chess/MChessProUCI/MChessProUCI (ELF 32-bit LSB pie executable, Intel i386, stripped)
• 32-bit Windows Binary: Chess/MChessProUCI/MChessProUCI.exe (PE32 executable for MS Windows 6.00 (console), Intel i386)
• Source & Build Files:
• Chess/MChessProUCI/mchesspro.c — self-contained 80186 real-mode emulator, Unreal-Mode 16 MB extended-memory hash table traps (0x0000:0x9226..0x926e), fast hash-
clear traps (0x0000:0x7253, 0x72b6), virtual DOS filesystem, PV/score/node extraction (0x2f95:0xce3a), and non-blocking UCI loop
• Chess/MChessProUCI/mcpro_data.h — embedded unpacked MChess Pro v3.5 engine (mcpro_clean_module.bin + 2,572 EXEPACK relocations), PRBOOK.M35, M35KEY.000–M35KEY.00F,
ENGLISH.T35, and EGADTA.M35
• Chess/MChessProUCI/Makefile — builds MChessProUCI (gcc -m32 -O3 -s -pthread) and MChessProUCI.exe (zig cc -target x86-windows-gnu -O3 -s)


### Supported UCI Options

All MChess Pro v3.5 engine optional settings are exposed via setoption:

• Hash (spin, default 10, min 1, max 10 MB — mapped to DS:0xe806 in 2 KB units)
• OwnBook (check, default true — mapped to DS:0x4cc4 Cancel M-Chess Book)
• Ponder (check, default false — mapped to DS:0xda5d)
• PlayingStyle (combo, default Normal, vars Cautious, Normal, Aggressive — mapped to DS:0x1775)
• RandomPlay (combo, default Optimal, vars Optimal, SlightlyRandom, Randomized — mapped to DS:0x4cd2)
• EasierPlay (check, default false — mapped to DS:0x2c96)
• PassiveMoves (check, default false — mapped to DS:0xe1c9)
• PresetLevel (spin, default 2, min 0, max 9 — mapped to DS:0xde80)
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
Steve Maughan
Posts: 1397
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: MChessProUCI

Post by Steve Maughan »

Hi Ted,

Awesome!! M-Chess Pro was such a classic. This one I had thought of having a go at creating. It looks like this is emulated code. Is that correct?

— Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
User avatar
AdminX
Posts: 6434
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: MChessProUCI

Post by AdminX »

Discovered and fixed a search implementation bug. You may need to re download the fixed version. Sorry for the bug. :( Hi Steve, Yes it is emulated code just like before.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
Steve Maughan
Posts: 1397
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: MChessProUCI

Post by Steve Maughan »

Hey Ted — why did you pick version 3.5? Was that your favorite version?

— Steve
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
User avatar
AdminX
Posts: 6434
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: MChessProUCI

Post by AdminX »

Steve Maughan wrote: ↑Tue Nov 17, 2026 11:09 pm Hey Ted — why did you pick version 3.5? Was that your favorite version?

— Steve
I could not locate my local copy, I know for a fact they are on one of my many hard drives. So I just went with the only version I was able to locate online.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Damas Clásicas
Posts: 33
Joined: Thu Aug 22, 2019 6:11 am
Full name: Herson P. Guier

Re: MChessProUCI

Post by Damas Clásicas »

AdminX wrote: ↑Tue Nov 17, 2026 11:48 pm
Steve Maughan wrote: ↑Tue Nov 17, 2026 11:09 pm Hey Ted — why did you pick version 3.5? Was that your favorite version?

— Steve
I could not locate my local copy, I know for a fact they are on one of my many hard drives. So I just went with the only version I was able to locate online.
GREAT! Thank you very much for sharing this!!!

Would it be possible to do something similar with the latest version (8.0)? If you need MChess Pro 8.0, just let me know and I'll be happy to provide it.
User avatar
Steve Maughan
Posts: 1397
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: MChessProUCI

Post by Steve Maughan »

Watch this space :D :D :D !
http://www.chessprogramming.net - Juggernaut & Maverick Chess Engine
taychoe
Posts: 22
Joined: Wed Jul 02, 2025 6:28 pm
Full name: Tay Choe

Re: MChessProUCI

Post by taychoe »

MChess 8.0 is in one of Franz Huber's zip downloads (18.4 MB) at https://https://fhub.jimdofree.com

>> DOS-Chess >> Chess-DOS-VM_Top10.zip

Fair warning, though. The zip file also contains Fritz 3.06, Genius 5.0, Gideon 1.0, Hiarcs 7.1, Rebel 12.0, Rex 2.3, Socrates 3.0, WChess 1.05, and Zarkov 3.04. One of you might be tempted (hopefully :wink: ) to convert a few more of them.

Code: Select all

    Engine                                             Score   Me Ps TS Me Ps Cy MC Me Kn Me Ps Me    S-B
01: MessChess Mephisto TM London 68030                 19.0/22 ·· 11 01 =0 11 11 11 11 11 1= 11 11  188.25
02: Psion Chess 2.13 (1985) UCI 3.1                    14.5/22 00 ·· 1= 1= 01 11 11 0= =1 11 == =1  142.50
03: TSCP 1.62 Pascal Sauvage                           14.0/22 10 0= ·· 10 0= =1 1= 11 11 01 10 11  135.25
04: MessChess Fidelity Elite Premiere Vancouver 16-Bit 13.0/22 =1 0= 01 ·· =1 00 =0 1= =1 10 11 11  129.50
05: Psion Chess 2.13 (1985) UCI 2.1.1                  13.0/22 00 10 1= =0 ·· 0= 1= 10 11 11 10 11  118.50
06: Cyrus IS Chess UCI 1.0.0 x64                       11.5/22 00 00 =0 11 1= ·· == 01 =1 =0 11 =1  108.25
07: MChessProUCI 3.5                                   10.5/22 00 00 0= =1 0= == ·· 11 0= 11 =0 11   92.00
08: MessChess Saitek RISC 2500 v1.04                   10.0/22 00 1= 00 0= 01 10 00 ·· == 11 10 11   88.75
09: KnightStalkerUCI 1.0                               9.0/22  00 =0 00 =0 00 =0 1= == ·· == 11 11   71.75
10: MessTiny Mephisto Roma 32-bit                      8.5/22  0= 00 10 01 00 =1 00 00 == ·· =1 11   76.75
11: Psion Chess 2.13 (1985) UCI 1.5                    8.0/22  00 == 01 00 01 00 =1 01 00 =0 ·· 11   73.50
12: MessTiny Mephisto Glasgow III-S                    1.0/22  00 =0 00 00 00 =0 00 00 00 00 00 ··   13.00

132 games played / Tournament is finished
Name of the tournament: Arena - R - Oldies but still Goodies
Level: Blitz 1:45/1.76
User avatar
mclane
Posts: 19021
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: MChessProUCI

Post by mclane »

They are DOS and not UCI.
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....