{
  "_notes": [
    "Compiled by Tom Collins, based on Sopranos."
  ],
  "_fileformat": 0.7,
  "_metadata": {
    "version": 2,
    "copyright": [
      "Copyright (C) 2025 by Tom Collins <tom@scorbit.io>"
    ],
    "license": "GNU Lesser General Public License v3.0",
    "platform": "whitestar",
    "roms": [
      "ripleys",
      "ripleysf",
      "ripleysg",
      "ripleysi",
      "ripleysl",
      "rip310",
      "rip310f",
      "rip310g",
      "rip310i",
      "rip310l",
      "rip302",
      "rip302f",
      "rip302g",
      "rip302i",
      "rip302l",
      "rip301",
      "rip301f",
      "rip301g",
      "rip301i",
      "rip301l"
    ]
  },
  "game_state": {
    "scores": [
      {
        "label": "Player 1",
        "start": "0x1656",
        "length": 5,
        "encoding": "bcd"
      },
      {
        "label": "Player 2",
        "start": "0x165B",
        "length": 5,
        "encoding": "bcd"
      },
      {
        "label": "Player 3",
        "start": "0x1660",
        "length": 5,
        "encoding": "bcd"
      },
      {
        "label": "Player 4",
        "start": "0x1665",
        "length": 5,
        "encoding": "bcd"
      }
    ],
    "credits": {
      "label": "Credits",
      "start": "0x164F",
      "encoding": "bcd"
    },
    "max_credits": {
      "label": "Max Credits",
      "start": "0x1E0F",
      "encoding": "bcd"
    },
    "free_play": {
      "label": "Free Play",
      "start": "0x1E05",
      "encoding": "bool"
    },
    "tilted": {
      "label": "Tilted",
      "start": "0x324",
      "encoding": "bool"
    },
    "current_player": {
      "label": "Current Player",
      "start": "0x326",
      "encoding": "bcd"
    },
    "current_ball": {
      "label": "Current Ball",
      "start": "0x327",
      "encoding": "bcd"
    },
    "player_count": {
      "label": "Player Count",
      "start": "0x328",
      "encoding": "bcd"
    },
    "ball_count": {
      "label": "Ball Count",
      "start": "0x1E0D",
      "encoding": "bcd"
    },
    "game_over": {
      "_notes": "current_player == 0",
      "label": "Game Over",
      "start": "0x326",
      "encoding": "bool",
      "invert": true
    }
  },
  "high_scores": [
    {
      "label": "Grand Champ",
      "short_label": "GC",
      "initials": {
        "start": "0x161D",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "start": "0x15DC",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "#1",
      "initials": {
        "start": "0x1627",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "start": "0x15E1",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "#2",
      "initials": {
        "start": "0x1631",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "start": "0x15E6",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "#3",
      "initials": {
        "start": "0x163B",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "start": "0x15EB",
        "encoding": "bcd",
        "length": 5
      }
    },
    {
      "label": "#4",
      "initials": {
        "start": "0x1645",
        "encoding": "ch",
        "length": 10
      },
      "score": {
        "start": "0x15F0",
        "encoding": "bcd",
        "length": 5
      }
    }
  ]
}
