MPF complete feature list¶
Even though MPF is a work-in-progress that’s not yet complete, the core dev team has been working on it since 2014, with thousands of hours of combined effort.
Major Features & Concepts¶
- The vast majority of “programming” your game can be done with text-based config files that make it easy to get powerful and complex pinball features running in your game. They’re also easy for non-programmers to use.
- MPF is “event-driven” meaning that everything that happens in a pinball machine generates an event, and you can use those events to trigger actions (scoring, lights, starting a mode, etc.)
- Advanced programmers and customization can be done via the API. (The API is fully documented at developer.missionpinball.org.)
- You can easily switch between hardware platforms, so if sometime down the road you want to switch hardware or the company whose hardware you’re using goes out of business, all your effort is not lost as you can easily move everything to a new hardware platform with a few changed lines in your config file.
Compatible control systems / electronics¶
MPF currently interfaces with the following pinball control systems & electronics (which in turn control the physical pinball machine hardware):
- Multimorphic P-ROC & P3-ROC pinball controllers, with either PD-8x8, PD-16, PD-LED, and SW-16 driver and accessory boards or installation in existing WPC, Stern Whitestar, or Stern SAM machines.
- FAST Pinball Core, Nano & WPC controllers, with 3802, 1616, and 0804 I/O boards, FAST servo boards, or installation in existing WPC machines.
- Open Pinball Project (OPP) open source controllers with Gen2 driver boards.
- Stern SPIKE / SPIKE 2 pinball machines.
- Mark Sunnucks’s “Snux” System 11 driver board for use in System 11 and Data East machines, in concert with either a P-ROC or FAST WPC controller.
- Fadecandy RGB LED controllers.
- Open Pixel Control (OPC) LED and lighting controllers.
- I2C servo controllers.
- Pololu Maestro servo controllers.
- SmartMatrix RGB LED DMD controllers
- RGB.DMD RGB LED-based DMD controllers
See the Control Systems / Electronics documentation for full details.
Pinball mechanism support¶
MPF currently supports the following different types of pinball playfield mechanisms:
- Switches (normally open, normally closed, mechanical or opto, with configurable debounce settings)
- Coils / drivers / solenoids (pulse, enable, disable, PWM)
- Lamp matrix-based incandescent lights & LEDs
- LEDs (RGB, GRB, RGBA, RGBW, RGBAW)
- GI (general illumination)
- Pop bumpers / slingshots
- Drop targets and drop target banks
- All forms of troughs (modern, System 11, early WPC, early ‘80s, Gottlieb System 3, etc.)
- Ball devices (scoops, VUKs, saucers, locks, etc.)
- Multiple playfields and playfield transfers (including head-to-head machines)
- Driver-enabled devices (like flippers and pop bumpers in System 11 machines)
- Mechanical and coil-fired plungers, ball launchers, and catapults
- EM score reels
- Rollover switches
- Stepper motors
- Traditional motors
See the Pinball Mechs documentation for full details.
MPF includes built-in support for all the pinball machine and game logic you need, inculding:
- Modes and a mode stack (start / stop / restart / stacked modes)
- Ball locks
- Ball saves
- Ball search
- Extra balls
- Credits / coin play
- High score
- Full per-player variable and settings support. Save/restore anything on a per-player bases (shots, objectives, goals collected, targets hit, etc.)
- Player achievements & achievement groups (groups of modes to start which progress towards wizard mode, etc.)
- Ball tracking / automatic ball routing
- Shots & shot groups (with full per-player state management (e.g. lit, unlit, flashing, etc.)
- Shot rotation (lane change, etc.)
- Attract mode
- Logic blocks, which let you build complex pinball game logic out of reusable components via the config files
- Score controller to assign points (or other progress) per-player for different events, with mode integration for blocking and blending
- Timers (start / stop / pause / count down / count up)
- Video modes
- Switch combinations (flipper cancel, hold flipper button to start super skill shot, etc.)
- Timed switches (hold the flipper for 2 seconds to show game stats, etc.)
See the Game Logic documentation for full details.
Displays, DMDs, & Graphics¶
On-screen LCD displays, either high-def or with a “dot” look
Physical mono-color DMDs
RGB LED DMDs
Display “slides” with priorities, transitions in and out
Display “widgets” (things you put on displays), including:
- Text (with fonts, styles, colors, dynamic text based on game state, etc.)
- Images & animated images
- “Picture-in-picture” style sub-displays
Any property of any widget can be animated (opacity, size, position, etc.)
See the Displays documentation for full details.
Sounds & Audio¶
- Multi-track sound system with automatic volume and ducking (e.g. voice, sfx, and background music tracks)
- Per-track settings for simultaneous sounds and sound queues (e.g. let as many sfx sounds play at once as you want, but queue sounds on the voice track so only one plays at a time)
- Advanced per-sound “tuning”, including attack, attenuation, ducking, etc.
- Sound pools and sound groups, so you can have multiple sounds for a single effect and cycle through them, with controls for whether they random, weighed random, rotation patterns, etc.
See the Sounds documentation for full details.
- A show controller which runs coordinated shows of LEDs, lights, coils, flashers, sounds, slides, videos, animations, etc.
- Start/stop/pause/resume shows
- Dynamic shows which change based on what’s happening in the game.
- Change the playback speed of shows (even while they’re playing)
See the Shows documentation for full details.
- Service mode / operator menus
- Operator-configurable “settings” which you can use to expose any setting anywhere in MPF to game operators.
- A data manager which handles reading and writing data from disk, including audits, earnings, machine variables, high scores, etc.
- Power supply management (map drivers to power supplies to make sure not too many things fire at once)
- The MPF Monitor standalone app which is a graphical tool that connects to a live running instance of MPF and shows the status of various devices. You can interact with it by clicking on switches and see your game in action on your computer.
- An “interactive” media controller which lets you interactively build and test display slides, widgets, and animations.
- A switch player which lets you build automatically scripts to “replay” switches for testing your game.
- A complete set of test functions which you can use to write your own automated tests for your machine.
- A keyboard interface which lets you simulate switch actions with your computer keyboard. (Great for testing!)
- Detailed logging, config file checking, and helpful error messages to help you troubleshoot issues.
- Fully open-source and well-documented code.
- A plugin architecture which allows you to write your own plugins to extend baseline functionality.
- Modular design that lets you write your own hardware interfaces.
- A “scriptlet” interface which can be used to easily add Python code snippets to a game to extend the functionality you can get with the configuration files.
- A mode “code” interface which lets you add custom Python code to game modes.
And the best part: Everything mentioned on this page (except for the developer stuff) can be done via the text-based configuration files. If you don’t want to be a “coder,” you don’t have to be. (Though if you are a coder, we’d love to have you help us write MPF!
By the way, if you’d like to see what we have in store for the future, check out our MPF Road Map, Vision & Future.