gamedatabase

package
v2.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Overview

Package gamedatabase fills in game metadata from the embedded copy of PigSaint's GameDataBase: genre, players, controls, save and add-on hardware, franchise, ports, compilation contents, release year, developer and publisher. Console titles are matched by title slug and arcade sets by MAME set name; nothing is matched by file hash.

Index

Constants

View Source
const (
	// ID is the scraper's registered ID.
	ID = "gamedatabase"
)

Variables

This section is empty.

Functions

func NewPlatformScraper

func NewPlatformScraper(cache SetNameCache) platforms.Scraper

NewPlatformScraper returns the GameDataBase scraper. cache may be nil.

func SupportedSystems

func SupportedSystems() []string

SupportedSystems lists every system the data covers, sorted.

Types

type SetNameCache

type SetNameCache func(path string) (setName string, ok bool)

SetNameCache is an optional fast path from an indexed arcade descriptor to its MAME set name, as the MiSTer platforms keep one. ok=false falls back to reading the descriptor. A nil cache is valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL