Stern SPIKE 2 pinball software on Windows, from the SD card you own.
No virtual machine. No WSL. No administrator rights.

Get started How it works GitHub

Version 0.1.0 · Windows 10/11 64-bit · MIT licence

One Windows process

The card's ARM Linux game runs inside a normal Windows program. Nothing to enable in the BIOS, no reboot, no UAC prompt.

Your card, untouched

The image is read as it is. A machine's settings, audits and scores live in a folder of their own; delete it for a factory-fresh machine.

Visual Pinball X

Play the real game on a Visual Pinball table: the table is the playfield, UnSpike runs the rules, lights, coils, sound and screen.

Portable

Everything stays in UnSpike's folder. Copy it to another PC or a USB stick and it keeps working.

How it works

A SPIKE 2 game is a 32-bit ARM Linux program spread over three partitions of the machine's SD card. UnSpike runs it unchanged, in user mode, and gives it what it expects to find around it.

CPU

ARMv7 code (ARM, Thumb, VFP, NEON) recompiled to x64 on the fly by dynarmic.

Linux

The card's own loader and libc, with Linux system calls translated to Win32: files, memory, threads, clocks, signals, sockets.

Files

The card's ext4 and FAT partitions read straight from the image; writes go to the machine's own folder.

Hardware

The display processor, NVRAM and node-board bus simulated by spike2-vpx's hardware shim.

Screen

The game's OpenGL ES drawn in a Windows window through ANGLE, on Direct3D 11.

Video & sound

H.264 clips decoded by Windows' Media Foundation; the game's sound played through WASAPI.

Cabinet

Keyboard keys become flippers, start, coins and the coin door's service buttons.

Get started

  1. Put your card image in roms\

    A raw copy of your machine's whole SD card (.raw or .img). Any file name.

  2. Start unspike-launcher.exe

    The images are checked once (a few seconds for 8 GB, then cached). Choose Test, pick a game marked compatible, press Start.

  3. Play

    The game's screen opens in its own window. Keys follow Visual Pinball's layout and can be changed under Config.

1 Start
5 Coin
Shift Shift Flippers
Ctrl Lockbar / launch
7 8 9 0 Service Back, −, +, Select
End Coin door
T Tilt

On the "N" editions of Windows, install Microsoft's Media Feature Pack for the game's videos.

Visual Pinball X

UnSpike's connector takes the place of Visual PinMAME. The SPIKE 2 game runs in UnSpike and the table becomes its playfield: switches go in, lamps and coils come out.

  1. In the launcher, open Config › Prepare table and pick your copy of a supported table. It is only read.
  2. UnSpike recognises it, writes a rewired and re-signed copy into vpx\, and registers its connector for your Windows user.
  3. Open the copy in Visual Pinball X 64-bit. The game starts with the table; closing the table stops it.

ROM tables

Tables written for a PinMAME ROM are rewired: switch numbers, coils and lamps follow the SPIKE 2 machine, and missing inserts are added.

Scripted tributes

A table with its own rules keeps its script as a shadow game for mechanisms, animations and playfield sounds; the real game decides everything else.

Build from source

Visual Studio 2022 with CMake and Ninja, GNU make from Git Bash or MSYS2, and LLVM for the small ARM guest libraries. No GCC, no WSL.

# local.mk: where the dependencies are on this machine
BUILD    = C:/work/build/unspike
DYNARMIC = C:/work/ext/dynarmic
BOOST    = C:/work/ext/boost_1_86_0
VPX      = C:/work/ext/spike2-vpx
LLVM     = C:/work/ext/LLVM
SYSROOT  = C:/work/guest/sysroot
ANGLE    = C:/work/ext/angle

make          # unspike.exe, unspike-launcher.exe, unspike-vpx.dll into dist/
make full     # plus the guest libraries, licences and README
make zip      # release/UnSpike-<version>.zip

The repository's README has the details: every dependency, the repository layout, and how to add a card or a table.

Follow the development

UnSpike is built in the open. Progress, test builds, new tables and questions are discussed on the Ballzy Discord, in the #unspike-emulator channel.

Join #unspike-emulator Source on GitHub