Documentation
¶
Overview ¶
Package rdb is a parser for RDB files, a binary database of games with metadata used by RetroArch/libretro.
Adapted from github.com/libretro/ludo/rdb Original Copyright (c) libretro team
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDisplayName ¶
GetDisplayName extracts a clean display name from a No-Intro name by removing region/version information in parentheses
func GetRegionFromName ¶
GetRegionFromName extracts region information from a No-Intro name Returns "us", "eu", "jp", or "" if unknown
Types ¶
type Game ¶
type Game struct {
Name string // Full No-Intro name (e.g., "Sonic the Hedgehog (USA, Europe)")
Description string
Genre string
Developer string
Publisher string
Franchise string
ESRBRating string
ROMName string // ROM filename
ReleaseMonth uint
ReleaseYear uint
Size uint64
CRC32 uint32
Serial string
MD5 string // MD5 hash for RetroAchievements lookup
}
Game represents a game entry in the RDB
type RDB ¶
type RDB struct {
// contains filtered or unexported fields
}
RDB contains all game entries from a parsed RDB file
func (*RDB) FindByCRC32 ¶
FindByCRC32 looks up a game by its CRC32 checksum
func (*RDB) GetMD5ByCRC32 ¶
GetMD5ByCRC32 returns the MD5 hash for a game found by CRC32
Click to show internal directories.
Click to hide internal directories.