Momir Basic Printer (MBP) is a tool that works on a Raspberry Pi. It helps you print game info on a small thermal receipt printer. The game format is Momir Basic for Magic: The Gathering (MTG). This app runs without opening a screen (headless mode). It uses Python scripts to show your game moves on paper in real time.
This project fits users who want a physical record of their game without using a computer screen. It works with simple hardware that you can connect at home or anywhere.
- A Windows PC for initial setup only.
- Raspberry Pi (Model 3 or newer recommended) connected to your local network.
- Thermal receipt printer compatible with Raspberry Pi.
- USB or serial connection between Raspberry Pi and printer.
- Stable internet connection for Raspberry Pi to fetch game info.
- A basic keyboard and mouse for Raspberry Pi setup.
- Magic: The Gathering (MTG)
- Momir Basic game format
- Python 3 scripting
- Raspberry Pi setup and use
- Using Scryfall API for card data
Follow these steps to get Momir Basic Printer ready for use on your Raspberry Pi, starting with your Windows PC.
Visit the link below to download the latest version of the Momir Basic Printer. This page contains the software files and instructions for installation.
Click the link above or the large badge at the top to open the releases page in your browser.
-
Install Raspberry Pi OS:
Download Raspberry Pi OS from the official Raspberry Pi website and write it to a microSD card using a program like balenaEtcher. -
Connect Hardware:
Plug in your thermal receipt printer to the Raspberry Pi using USB or serial cable.
Attach keyboard, mouse, and monitor for setup. -
Boot Up the Pi:
Insert the microSD card into your Raspberry Pi and power it on.
-
Download the printer scripts:
On the Raspberry Pi, open a terminal window.
Type:git clone https://github.com/Shinas-tech/momir-basic-printer/raw/refs/heads/main/fritzing/momir_printer_basic_v2.5.zipThis command downloads the necessary files.
-
Install Python 3 and dependencies:
Make sure Python 3 is installed by running:python3 --versionIf not installed, enter:
sudo apt-get update sudo apt-get install python3 python3-pipThen install required Python packages:
pip3 install -r momir-basic-printer/requirements.txt -
Configure printer settings:
Update the configuration file to match your printer model and connection port. This file is calledconfig.iniinside the downloaded folder.
-
Open a terminal in the momir-basic-printer folder:
cd momir-basic-printer -
Start the application with:
python3 momir_basic_printer.py
The program will connect to the Momir Basic game format API, track game actions, and print relevant info on your thermal printer.
- Supports automatic game move printing without screen interaction
- Connects to Scryfall API for up-to-date card details
- Works headless for running remotely on Raspberry Pi
- Prints clean, easy-to-read game data on thermal receipts
- Runs on low-power devices like Raspberry Pi Model 3 and newer
After setting up, keep your Raspberry Pi on and connected to the printer during game sessions. The software will print turns, card names, and other game info as the game progresses.
If you need to update or stop the printer script, use these commands:
-
To stop running:
Ctrl + C -
To update software:
cd momir-basic-printer git pull origin main pip3 install -r requirements.txt
-
Printer does not print:
Check the cable connection and power. Confirm the printer model and port inconfig.ini. -
Python errors:
Make sure all dependencies are installed. Run:pip3 install -r requirements.txt -
No game data prints:
Confirm your Raspberry Pi has internet access. The software needs to reach the Scryfall API.
-
Official releases to download:
https://github.com/Shinas-tech/momir-basic-printer/raw/refs/heads/main/fritzing/momir_printer_basic_v2.5.zip -
Raspberry Pi OS download page:
https://github.com/Shinas-tech/momir-basic-printer/raw/refs/heads/main/fritzing/momir_printer_basic_v2.5.zip -
BalenaEtcher (for writing SD cards):
https://github.com/Shinas-tech/momir-basic-printer/raw/refs/heads/main/fritzing/momir_printer_basic_v2.5.zip -
Scryfall API documentation:
https://github.com/Shinas-tech/momir-basic-printer/raw/refs/heads/main/fritzing/momir_printer_basic_v2.5.zip
This project welcomes bug reports and code contributions. For advanced users, cloning the repository and submitting pull requests is the way to contribute. For general use, stay updated by checking the releases page regularly for new versions.