Skip to content

Commit

Permalink
cleanup: start using new _nibble setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlogic committed Dec 20, 2024
1 parent 529e908 commit 2a8ff15
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 103 deletions.
64 changes: 19 additions & 45 deletions gottlieb_80b-2.nv.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"_copyright": "Copyright (C) 2024 by Tom Collins <[email protected]>",
"_license": "GNU Lesser General Public License v3.0",
"_endian": "big",
"_nibble": "low",
"_roms": [
"diamond",
"excaliba",
Expand All @@ -24,15 +25,14 @@
"hotshots",
"nmoves"
],
"_fileformat": 0.2,
"_fileformat": 0.4,
"_version": 0.1,
"game_state": {
"credits": {
"label": "Credits",
"start": 57,
"encoding": "bcd",
"length": 2,
"nibble": "low"
"length": 2
}
},
"high_scores": [
Expand All @@ -42,14 +42,12 @@
"initials": {
"start": 183,
"encoding": "ch",
"length": 6,
"nibble": "low"
"length": 6
},
"score": {
"start": 189,
"encoding": "bcd",
"length": 7,
"nibble": "low",
"scale": 10
}
},
Expand All @@ -59,14 +57,12 @@
"initials": {
"start": 196,
"encoding": "ch",
"length": 6,
"nibble": "low"
"length": 6
},
"score": {
"start": 202,
"encoding": "bcd",
"length": 7,
"nibble": "low",
"scale": 10
}
},
Expand All @@ -76,14 +72,12 @@
"initials": {
"start": 209,
"encoding": "ch",
"length": 6,
"nibble": "low"
"length": 6
},
"score": {
"start": 215,
"encoding": "bcd",
"length": 7,
"nibble": "low",
"scale": 10
}
},
Expand All @@ -93,14 +87,12 @@
"initials": {
"start": 222,
"encoding": "ch",
"length": 6,
"nibble": "low"
"length": 6
},
"score": {
"start": 228,
"encoding": "bcd",
"length": 7,
"nibble": "low",
"scale": 10
}
},
Expand All @@ -110,14 +102,12 @@
"initials": {
"start": 235,
"encoding": "ch",
"length": 6,
"nibble": "low"
"length": 6
},
"score": {
"start": 241,
"encoding": "bcd",
"length": 7,
"nibble": "low",
"scale": 10
}
}
Expand All @@ -128,87 +118,75 @@
"label": "Left Chute Coins",
"start": 0,
"encoding": "bcd",
"length": 4,
"nibble": "low"
"length": 4
},
"02": {
"label": "Right Chute Coins",
"start": 4,
"encoding": "bcd",
"length": 4,
"nibble": "low"
"length": 4
},
"03": {
"label": "Center Chute Coins",
"start": 8,
"encoding": "bcd",
"length": 4,
"nibble": "low"
"length": 4
},
"04": {
"label": "Total Plays",
"start": 12,
"encoding": "bcd",
"length": 4,
"nibble": "low"
"length": 4
},
"05": {
"label": "Total Replays",
"start": 16,
"encoding": "bcd",
"length": 4,
"nibble": "low"
"length": 4
},
"07": {
"label": "Extra Balls",
"start": 20,
"encoding": "bcd",
"length": 3,
"nibble": "low"
"length": 3
},
"08": {
"label": "Tilts",
"start": 23,
"encoding": "bcd",
"length": 3,
"nibble": "low"
"length": 3
},
"09": {
"label": "Specials",
"start": 26,
"encoding": "bcd",
"length": 3,
"nibble": "low"
"length": 3
},
"10": {
"label": "Times HGTD Awarded",
"start": 29,
"encoding": "bcd",
"length": 3,
"nibble": "low"
"length": 3
},
"14": {
"label": "Highest Game To Date",
"start": 44,
"encoding": "bcd",
"length": 7,
"nibble": "low",
"scale": 10
},
"14a": {
"label": "HGTD Initials",
"start": 38,
"encoding": "ch",
"length": 6,
"nibble": "low"
"length": 6
},
"15": {
"label": "Game Time",
"suffix": " seconds",
"start": 32,
"encoding": "bcd",
"length": 6,
"nibble": "low",
"scale": 10
}
}
Expand All @@ -220,31 +198,27 @@
"suffix": "%",
"start": 59,
"encoding": "bcd",
"length": 2,
"nibble": "low"
"length": 2
},
"11": {
"label": "First High Score",
"start": 51,
"encoding": "bcd",
"length": 2,
"nibble": "low",
"scale": 100000
},
"12": {
"label": "Second High Score",
"start": 53,
"encoding": "bcd",
"length": 2,
"nibble": "low",
"scale": 100000
},
"13": {
"label": "Third High Score",
"start": 55,
"encoding": "bcd",
"length": 2,
"nibble": "low",
"scale": 100000
}
}
Expand Down
Loading

0 comments on commit 2a8ff15

Please sign in to comment.