Skip to main content
ROMgoblin

Tests Python Licence Dependencies

Box art for NextUI handhelds, fetched from your computer.

Finds the art. Never guesses.


$ romgoblin /Volumes/NextUI/Roms
5 game(s) with no cover: MGBA 2, N64 2, PS 1
  would fetch  MGBA/Rayman 3
  would fetch  MGBA/Wario Land 4
  would fetch  N64/Mario Kart 64
  would fetch  N64/Pokemon Snap
  would fetch  PS/Spyro 2 - Ripto's Rage!

Nothing was written. Re-run with --apply.

Dry-run by default. Games that already have a cover are not listed, because they are never touched.

Why this exists

NextUI gets its artwork from a scraper that runs on the device. That works, but it means every batch of new games costs a round trip: eject the card, put it in the handheld, run the scraper, bring it back. The library lives on your computer; the artwork does not.

There are already good desktop scrapers for NextUI. They match games by filename, against the Libretro thumbnail archive. That is fast, needs no account, and for most libraries it is fine.

It is not fine for the cases that matter:

  • Crash Bandicoot is a PlayStation game. Crash Bandicoot is also a different Game Boy Advance game. A filename cannot tell you which one you have.
  • Disney's Hercules Action Game (Rerelease).chd matches no official title at all.
  • A hack, a translation, or a bad dump carries the name of the game it was made from, and none of its content.

A wrong cover is worse than no cover, because it looks right. You do not find out until someone picks the wrong game.

ROMgoblin asks a different question. It computes the CRC32 of each ROM and asks ScreenScraper.fr which game that file is. A checksum is identity; a filename is a guess.

Installation

pipx (recommended) pipx install romgoblin
uv uv tool install romgoblin
pip pip install romgoblin
From source git clone https://github.com/Adam-Gold/romgoblin && cd romgoblin && pip install -e .

Python 3.11 or newer. No dependencies — the standard library computes the checksum and makes the request.

Usage

$ romgoblin <path to your Roms directory>

Point it at the Roms folder on the card, or at a copy of it on disk. It walks each system folder, finds the games with no cover, and tells you what it would fetch.

Nothing is written until you say so:

$ romgoblin /Volumes/NextUI/Roms --apply
Flag
--apply actually write. Without it, nothing changes.
--system TAG only one system, e.g. --system N64
--allow-name-match accept a result found by filename when the checksum matched nothing. Off by default.
--max-width PX resize covers before download. Default 400; 0 fetches full size.

Covers are written to .media/<stem>.png inside each system folder, which is where NextUI looks — so Zelda.zip gets Zelda.png.

They arrive resized. Full size, one box art measured 1000×690 and 1274 KB — wider than the whole screen of the handheld it is for, and 133 MB across a hundred-game library. ScreenScraper resizes on their side, so the default is bandwidth and card space never spent rather than spent and thrown away. --max-width 0 if your screen is bigger.

What it will not do

It will not guess. A ROM whose checksum ScreenScraper does not recognise gets no artwork, and is reported by name so you know what to look at. Name matching exists behind --allow-name-match and is never the default.

It will not overwrite, and it will not delete. A cover that is already there is left alone, whoever put it there. Run it beside the on-device scraper and neither destroys the other's work.

It will not take whatever image comes first. Box art only — not screenshots, not title screens, not logos, and not the back of the box. A single game's response offers around thirty images and the cover is not near the top of them.

It will not write a file it did not verify. The bytes are checked to be a PNG before anything is written. A media URL that answers an error page with a cheerful 200 would otherwise leave a cover that looks real until it reaches the handheld.

It will not lose the rest of the run to one bad game. A timeout on game forty does not abandon games forty-one onward — they are reported at the end, by name, as retryable.

It will not pick a box at random. A game has covers per region and they are different pictures. The worldwide edition wins, then US, then Europe — so a library does not end up with a German box for one game and a Japanese one for the next.

It will not exhaust your quota. ScreenScraper reports your remaining allowance on every response; when it runs out the tool stops cleanly, says where it stopped, and continues from there next time.

One source, one target. ScreenScraper only, NextUI only. If you need Libretro thumbnails, muOS or EmulationStation, other tools do that well and this one does not try.

Credentials

ScreenScraper needs two pairs, and they are not interchangeable.

The developer pair identifies this software. It ships inside the released package and is deliberately absent from this repository — a credential committed to a public repo is one anybody can lift and spend. Working from a clone, supply your own:

export SCREENSCRAPER_DEVID=...
export SCREENSCRAPER_DEVPASSWORD=...

Developer access is granted by ScreenScraper on request, in their forum.

The member pair is yours, and it sets your daily quota:

export SCREENSCRAPER_SSID=your-username
export SCREENSCRAPER_SSPASSWORD=your-password

An account is free. Without one you get the anonymous allowance, which is small but real.

Credentials are read from the environment and never from a configuration file.

Licence

MIT. The artwork it downloads is not ours and is not redistributed — it goes from ScreenScraper to your SD card and nowhere else.

Metadata

Release files for romgoblin 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for romgoblin 0.1.0
File Size Uploaded
romgoblin-0.1.0.tar.gz 33.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for romgoblin 0.1.0
File Interpreter ABI Platform
romgoblin-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 53.3 kB

Release files / romgoblin-0.1.0.tar.gz

Download URL romgoblin-0.1.0.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9df92feb7e268aed5a48666811ccb884af1be47eff57071868e27395052eb9b9
BLAKE2b-256 checksum
How to use checksums
7dc31c746ed6b11e3c77bf83c848b704f6586da520a825a3eb04c6ae370d2e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release files / romgoblin-0.1.0-py3-none-any.whl

Download URL romgoblin-0.1.0-py3-none-any.whl
Size 20.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8a448e433b71d0cfbc0c138a2e0f756796b39efe217f74f06aa57400e763932
BLAKE2b-256 checksum
How to use checksums
2e858148bcb9ba45701a3cd27ff1cb8c93bf2067858fed8ef5d4ea76ee9f4456
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page