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 ¶
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.
Click to show internal directories.
Click to hide internal directories.