# game-kit

Packages for making, porting, testing and capturing games: controller input, pixel formats, ROM and disc checks, emulator automation and procedural audio.

- Language: C, Python, TypeScript and Swift
- Packages: 34 packages, 10 released
- Repository: https://github.com/uppercut-labs/game-kit
- Release status checked: November 25, 2026

npm and PyPI packages keep their usual names. C libraries have no package index: a release is a git tag that CMake FetchContent takes with SOURCE_SUBDIR set to the package's folder. A package marked Not released yet has its source and README on GitHub and no published version yet.

## Packages

### bitmap-font

Small bitmap fonts as tables, with a callback to draw them.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/bitmap-font

### @uppercut-labs/cappy-adapter

A typed client for Cappy's game adapter protocol v1: handshake, scenario registry, scenario, recording and replay operations, heartbeat and error codes, plus a child-process runner with an output ring and a clean shutdown.

- Language: TypeScript
- Status: npm 0.1.0
- Source version: 0.1.0
- Install: `npm install @uppercut-labs/cappy-adapter`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/cappy-adapter
- Release: https://www.npmjs.com/package/@uppercut-labs/cappy-adapter

### det-core

The small numeric core that a deterministic game simulation stands on: exact-width types, saturating Q16.16 fixed-point math, 32-bit FNV-1a hashing and a one-word xorshift32 random number generator.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/det-core

### @uppercut-labs/emulator-session

Runs an emulator for a headless capture: an isolated profile with settings overrides, muted and allowed to run in the background, output read through a bounded line reader with noise filters, window captures at given seconds past boot latency, and a stop that signals only the launched process. Per-emulator launch profiles are data.

- Language: TypeScript
- Status: npm 0.1.0
- Source version: 0.1.0
- Install: `npm install @uppercut-labs/emulator-session`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/emulator-session
- Release: https://www.npmjs.com/package/@uppercut-labs/emulator-session

### @uppercut-labs/fgc-data

Fighting-game rosters, gameplay summaries, a catalog of games with team-selection schemas, and the builder helpers that assemble them, as typed data with no dependencies.

- Language: TypeScript
- Status: npm 0.1.0
- Source version: 0.1.0
- Install: `npm install @uppercut-labs/fgc-data`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/fgc-data
- Release: https://www.npmjs.com/package/@uppercut-labs/fgc-data

### gba-tile-ui

A software layer between a Game Boy Advance game's screen code and the console's video memory.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/gba-tile-ui

### kos-naomi-cabinet

What a game on a Sega NAOMI cabinet (built with KallistiOS) needs from the cabinet, written so that the logic runs and is tested without one.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/kos-naomi-cabinet

### libretro-guest-probe

Runs a libretro core with no window and no audio device, feeds it scripted pad input, answers its option queries, and reads the guest's memory while it runs, so a test can say "after this input the game reached this screen".

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/libretro-guest-probe

### mac-window-tools

Three small jobs on macOS windows that emulator and game capture scripts keep needing, as one command line tool: list windows by owner, find a process's window (its id and title), and capture a process's window to a PNG.

- Language: Swift
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/mac-window-tools

### minimal-png

A PNG writer for game ports and tools that has no zlib.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/minimal-png

### pad-replay

A plain-text controller replay for a game port: a six-field line format, a reader that refuses a bad file whole, a player that gives every pad's state at a frame, and a recorder that writes the same format.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/pad-replay

### port-input-harness

Tests a game port's controller handling with simulated controllers, so every port gets the same checks without anyone plugging pads in, and without a system driver.

- Language: C
- Status: Tagged 0.1.0 in c-kit
- Install: `GIT_TAG port-input-harness@0.1.0`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/port-input-harness
- Release: https://github.com/uppercut-labs/c-kit/tree/port-input-harness%400.1.0

### port-sdl-input

The input layer of a game port, on SDL3: every keyboard, gamepad and joystick open at once, positional default mapping with no setup, players assigned as devices connect, device pinning, SOCD cleaning, an analog switch, one-button remap capture saved as text, controller family detection for button prompts, rumble.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/port-sdl-input

### port-settings

A plain key = value settings file for a game port: window mode, scaling, button bindings, a pinned controller, whatever the port keeps.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/port-settings

### ps2-multitap-pads

Reads up to eight PlayStation 2 controllers (two ports, each with a multitap of four slots) once a frame and tells a game for each one: nothing there, a fresh sample, or "there but not readable this frame".

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/ps2-multitap-pads

### save-block

Saved data that survives a power cut, a wrong disc and a bad card.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/save-block

### sgdk-host-stub

Builds a Mega Drive (Genesis) game's logic with an ordinary host compiler and runs it under ctest, with no emulator, no cross-compiler and no SGDK install.

- Language: C
- Status: Not released yet
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/sgdk-host-stub

### uppercut-bizhawk-driver

Drive BizHawk from Python: a pinned, checked install, a private config copy for each run, Lua table configs, a launch that stops only its own process, and a wait for the script's .done or .err file.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-bizhawk-driver

### uppercut-chiptune-synth

Deterministic chiptune and procedural audio for console homebrew: square, triangle and noise voices, envelopes, step sequencing, WAV and raw PCM output.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-chiptune-synth

### uppercut-gba-asset-export

Export indexed pixel art for the Game Boy Advance: BGR555 palettes, 4bpp tile words, grit-style C files, 4bpp BMP and Butano JSON, and GIMP palettes.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-gba-asset-export`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-gba-asset-export
- Release: https://pypi.org/project/uppercut-gba-asset-export/

### uppercut-gba-rom-verify

Check a Game Boy Advance ROM header and its devkitARM ELF, and report the ROM's SHA-256.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-gba-rom-verify`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-gba-rom-verify
- Release: https://pypi.org/project/uppercut-gba-rom-verify/

### uppercut-godot-render

Render a Godot scene offline with Movie Maker and check the result: trim frames to the run, check frame count, size and blank frames, hash every frame, encode bt709 H.264 and write a JSON manifest.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-godot-render

### uppercut-iso-normalize

Make a PlayStation 2 disc image byte-reproducible: fixed dates, ISO 9660 version suffixes and a checked SYSTEM.CNF and ELF.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-iso-normalize

### uppercut-iso9660

Read ISO 9660 disc images (2048-byte and raw 2352-byte sectors): walk directories, extract files with a SHA-256, and find a PlayStation 2 disc's SYSTEM.CNF and boot ELF.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-iso9660

### uppercut-mgba-smoke

Run a Game Boy Advance ROM in native mGBA in an isolated sandbox: key taps, frame stepping, RAM probe, screenshots and Lua assertions, with the screenshots checked.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-mgba-smoke

### uppercut-pad-replay-tools

Build and check controller replay files and capture scripts for game ports, and export a replay as a Dolphin DTM.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-pad-replay-tools

### uppercut-pcsx2-pine

A client for PCSX2's PINE socket: read and write PS2 memory, batch reads, title, status, game id, save states, with an optional write allowlist.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-pcsx2-pine`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-pcsx2-pine
- Release: https://pypi.org/project/uppercut-pcsx2-pine/

### uppercut-pixel-art-sheets

Pillow helpers for indexed pixel-art sheets: palettes, pattern fills, a bitmap font and sheet packing.

- Language: Python
- Status: PyPI 0.2.0
- Source version: 0.2.0
- Install: `pip install uppercut-pixel-art-sheets`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-pixel-art-sheets
- Release: https://pypi.org/project/uppercut-pixel-art-sheets/

### uppercut-poly-meshes

Regular-polyhedron meshes (exact vertex sets, exact hull, icosphere) and C-array emitters for float and fixed-point console layouts. Standard library only.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-poly-meshes

### uppercut-port-proof

Helpers for the proof run of a recompiled game port: PPM frame dumps to PNG, frame MD5 comparison, WAV statistics, press scripts and a debug-socket driver.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-port-proof

### uppercut-ps2-match

Tooling for a PlayStation 2 matching decompilation: compile one function at a time and check its bytes against the original, place data pieces, split C files, fetch a toolchain by SHA-256 pins, audit a public repo.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-ps2-match

### uppercut-retro-pixels

Retro console pixel formats as pure functions: RGB565, ARGB4444, ARGB1555, RGBA5551 and BGR555, R/B swap, block swizzle, RLE, palette ramps and a glyph-atlas packer.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-retro-pixels`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-retro-pixels
- Release: https://pypi.org/project/uppercut-retro-pixels/

### uppercut-rom-headers

Compute, fix and verify the header checksums of Nintendo 64, Mega Drive and 32X, and Game Boy Advance ROM images.

- Language: Python
- Status: Not released yet
- Source version: 0.1.0
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-rom-headers

### uppercut-sound-effect-synth

Deterministic procedural sound effects: envelopes, filtered noise, sweeps, seeded variation and WAV output.

- Language: Python
- Status: PyPI 0.1.0
- Source version: 0.1.0
- Install: `pip install uppercut-sound-effect-synth`
- Source: https://github.com/uppercut-labs/game-kit/tree/main/packages/uppercut-sound-effect-synth
- Release: https://pypi.org/project/uppercut-sound-effect-synth/

All kits: https://kits.uppercut-labs.com/
