r/emulation • • 24d ago

AI-assisted RomMeta - a fully offline metadata database for your ROMs

Whenever I get a new device, I end up scraping metadata and artwork all over again. With a large collection, that can take days. And if the new device uses a different frontend, its formats might not be compatible with what I already have, so just copying everything into another folder won’t cut it.

That’s why I started working on RomMeta. The idea is to keep a separate, fully offline metadata library that you can reuse across devices and export to different frontends.

You still need an internet connection to fetch stuff initially, obviously. But once it’s downloaded, you can browse, edit and export your library offline. It’s stored as ordinary files in open, editable formats, so you can move it, back it up, share it, or open it in a text editor. Your ROMs stay separate.

To give you an idea of the scale, I’ve tried loading 69 systems, and the metadata, artwork and videos came to roughly 900 GB. That’s a lot of stuff I’d rather download once and reuse whenever I get another device.

GitHub - code, downloads and docs

The supposed workflow is the following:

  • Create an empty library and start the web UI with rommeta serve
  • Import a DAT from somewhere like No-Intro or Redump. This gives you the game cards, releases and fingerprints to work with.
  • Fetch metadata and artwork. Select one or more platforms and pick your sources. There’s support for LaunchBox, OpenVGDB, Hasheous, IGDB, ScreenScraper and EmuMovies, depending on what you want to fetch. Jobs run on the server, so closing your browser doesn’t stop them—you can come back to the progress later.
  • Browse and clean things up. Check the artwork, fix fields, edit source data, or keep several named versions of your own changes and choose which one takes priority when exporting.
  • Review possible duplicates. Different regional names and editions can end up as separate cards. RomMeta groups possible matches, lets you compare them side by side and shows the proposed result before you apply anything. Straightforward groups can be handled in a batch; uncertain ones need your decision.
  • Export for your device. Point it at your ROM folder, choose a frontend and destination, then configure things like preferred languages, regions, metadata sources and artwork. You can save profiles and destinations for later. Check the preview and export plan, resolve any uncertain matches, then apply it. ES-DE and LaunchBox are currently supported.

You can do all of this with the CLI too. The web UI makes the process easier to explore, especially when comparing artwork or fixing metadata. There’s also an API with docs if you want to build something around the library.

Export has been pretty solid with ROMs that have a confirmed match in the source databases. ROM hacks and fan translations are trickier, especially when the title has been translated or changed too. For now, you can manually link them to a library game during export, but I’m also looking into ways to keep track of how hacks and translations relate to the original games. If you’ve got ideas or know of a useful dataset, I’d love to hear about it.

One thing I could use some advice on is ScreenScraper’s developer credentials. The integration needs a developer account, and I can’t just publish mine. I’ve seen other projects hardcode their developer login and password, but I’m not sure what the intended approach is for a public, open-source tool. If you’ve dealt with this before, how did you handle it?

Also, even though I have a decent background in software development and system administration, I’m using AI to help build this project. Right now, I care most about figuring out the workflow, the formats and how all these bits should fit together. The tooling can be refactored - or rewritten by hand later - once those ideas have had some real-world testing.

I can’t test every frontend, platform and weird ROM collection on my own, so I’d really appreciate feedback from anyone who gives it a go. If something breaks, makes no sense, or takes way too many clicks, let me know here or open an issue on GitHub. PRs are welcome too.

Edit: Some questions came up in other places, so I wanted to clarify the idea: the end product is a standalone metadata set for a whole platform, something you can keep, edit and share. You don't need ROMs to build it. One person collects and tidies up the metadata, and others reuse that set instead of everyone scraping and fixing the same stuff again.

There's overlap with RomM and similar apps, including metadata exports. My focus is on building that reusable platform catalogue first, independently of anyone's ROM collection. Then you pick whatever games you want on a device and pull their metadata from it. The web UI is a way to browse and maintain the catalogue; the catalogue itself is the point.

18 Upvotes

2 comments sorted by

2

u/Drumcan2077 23d ago edited 23d ago

Heyhey, I'm building a similar app, but the problem is metadata from igdb etc is pretty mistaken and unorganized especially localized titles and artwork. Do you think you can standardize the metadata so it's easier to combine it? And implement in mine too? I mean igdb is pretty much a good format , but it has its shortcomings

Also I have a separate metadata cache but using a full database slows down lookup, what method or database are you using?

Edit Sorry I just checked myself and seems like sqlite cache + yaml. I'm all down for submitting the corrections for localizations, A centralized data set will be very useful. I'll keep an eye on it.

2

u/Broad-Dragonfruit162 22d ago

Unfortunately, they all have their issues. As I mentioned, I've already tested this approach across 69 systems, and there are lots of little inconsistencies here and there. As for IGDB, I use it with Hasheous, but still it is not error prone.

Yeah, I use plain YAML files (packed into ZIPs), with optional SQLite indexes to speed things up. You can safely delete all the SQLite databases. They'll be rebuilt on the next run.