gamedatabase

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: GPL-3.0 Imports: 25 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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