
Hapsby uses external save game definitions to determine what games and game information it can edit. The files are stored in the \hsd\ folder:

Step one to adding support for a new game would be creating a new file (or copying an existing one as a template). The file should be named in the following format:
Game_Title_-_Emulator_Name.hsd.json
Underscores should be used instead of spaces because Hapsby runs on Java which runs on multiple platforms, some of which may not support spaces in file names.
The contents of the file should be in the following format:
{"properties":
[
{
"name":"Lives",
"description":"Number of lives.",
"byteOrder":"LOW_BYTE_FIRST",
"dataType":"TYPE_INTEGER",
"address":1930,
"length":1,
"maxValue":99,
"minValue":1
}
],
"gameTitle":"Super Mario Brothers III (NES .fc#)",
"gameDescription":"FCE Ultra save state for Super Mario Brothers III.",
"saveFilePattern":"*.fc*"
}
What do all these fields mean?