Bundled game-code/cheat database for romdev — a pre-parsed per-platform labeled RAM/code map (libretro-database lineage), lazy-loaded one platform at a time.
The bundled game-code / cheat database for
romdev, split into its own package so the
main romdevtools package stays small and the database can grow and version
independently.
It is a data package - no runtime logic of its own beyond a tiny lazy
loader. romdevtools depends on it, resolves it at run time and reads one
platform's index at a time (never the whole database into memory). It backs
romdevtools' cheats({op:'lookup'}).
What's inside
index/<platform>.json - one compact name → entries map per platform. Each
entry is { desc, code, parts } where code is the raw RetroArch cheat code
(applied to the core verbatim) and parts is the decoded address/value/kind for
inspection.
Platforms are limited to those romdev supports and that the
RetroArch/RetroDECK community cheats tree actually carries:
Platform
id
NES
nes
Game Boy / Color
gb, gbc
Game Boy Advance
gba
SNES
snes
Sega Genesis / Mega Drive
genesis
Sega Master System
sms
Sega Game Gear
gg
Atari 2600 / 7800
atari2600, atari7800
Atari Lynx
lynx
PC Engine / TurboGrafx-16
pce
MSX
(C64 has no entry: the community cheats tree ships no Commodore-64 cheat folder.
Raw ADDR:VAL pokes made with cheats({op:'make'}) still work on C64 in
romdev.)
Cheat codes are community-aggregated data from the libretro-database / RetroArch
cheats lineage (originally Game Genie code books and GameHacking.org). The index
here is pre-parsed (decoded and compacted) by
packages/romdevtools/scripts/build-cheat-index.mjs in the romdev repo rather
than a redistribution of the raw .cht tree.