A MAME Lua plugin for interface emulated chess machine with UCI/XBoard GUI
Requires MAME >= 0.231
Copy the folder chessengine to the plugins folder of your mame installation. Start Mame and enable the plugin. Ensure that you locally have installed lua5.3. "sudo apt-get install lua53" should work in Ubuntu.
Anyway after installing the plugin you can play against the emulated Saitek RISC 2500 in XBoard xboard -fcp "./mame -skip_gameinfo -plugin chessengine risc2500"
or watch a match between two machines xboard -mm -fcp "./mame -skip_gameinfo -plugin chessengine ch2001" -scp "./mame -skip_gameinfo -plugin chessengine risc2500"