Skip to content

Instantly share code, notes, and snippets.

@acbox
Last active July 27, 2023 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acbox/83c5ea7995dbbcecc4d54694dfc1749d to your computer and use it in GitHub Desktop.
Save acbox/83c5ea7995dbbcecc4d54694dfc1749d to your computer and use it in GitHub Desktop.
Quantifying slow down of the game Gravitar on Arcade1up's "Atari Legacy Arcade Machine Centipede Edition" cabinet

Quantifying slow down of the game Gravitar on Arcade1up’s “Atari Legacy Arcade Machine Centipede Edition” cabinet

What is this about?

Gravitar on Arcade1up’s Centipede cabinet feels extremely slow compared to the original 1982 cabinet and MAME running on my 2019 MacBook Pro. I wanted to quantify exactly how much slower it is in order to log a support ticket with Arcade1up.

Methodology

The red planet in the first universe has a countdown timer called escape time:

83c5ea7995dbbcecc4d54694dfc1749d/raw/f7df3e41e246741a05a19d1cc44690e7ee123e76/red_planet.jpg 83c5ea7995dbbcecc4d54694dfc1749d/raw/f7df3e41e246741a05a19d1cc44690e7ee123e76/escape_timer.jpg

I figured I could calculate exactly how long each tick of the countdown timer takes to decrement, both on the Arcade1up and on a real machine, and compare the results to determine the slow down as a percentage increase.

For source material I took a video of myself playing the red planet on the Arcade1up in mp4 format, and found a YouTube video showing the same planet being played on an original machine. I downloaded the YouTube video as an mp4 using https://10downloader.com.

Next I found a video player, mpv, that shows millisecond timestamps during playback and has keyboard shortcuts to advance frame by frame, allowing me to find the precise timestamp when each tick of the escape time countdown timer decrements.

Notes on using mpv

  • Run mpv from the command line providing the video as an argument
  • When the video opens click on the timestamp in the bottom menu to make it show milliseconds
  • Next and previous frames can be navigated using “,” and “.” keys respectively
  • Hold down the keys to play at the normal frame rate

Arcade1up timestamps

Escape TimeVideo Timestamp (s.ms)Elapsed
170.2330
162.5542.321
154.8842.33
147.2132.329
139.5422.329
Mean2.32725

2.33 seconds per tick.

Original arcade timestamps

Escape TimeVideo Timestamp (s.ms)Elapsed
2224.7980
2126.6631.865
2028.4351.772
1930.2701.835
1832.1051.835
1733.9071.802
Mean1.8218

1.82 seconds per tick.

Calculate percentage increase

$ echo '(2.33-1.82)/1.82*100' | bc -l
28.021978021978022
$

Conclusion

The Arcade1up is 28% slower than the original arcade.

As someone who bought the machine primarily to play Gravitar, such a heavy slow down makes the game unenjoyable to play and defeats the purpose of buying the machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment