news.volyx.in

Modder re-creates Game Boy Advance games using the audio from crash sounds (arstechnica.com)

582 points by dagenix · 941 days ago · 83 comments on HN

Article summary

A modder has successfully re-created Game Boy Advance games using audio from crash sounds by recording the audio output of a crashed GBA and then using a Python script to read the audio and recover the game data. The process involved refining the sound recording and using a majority vote algorithm to improve accuracy. The modder was able to achieve 100% parity and boot a working Pokémon game. The technique is not a ready-to-use solution and requires specific tuning for different source formats.

Main themes

  • Game Boy Advance hacking
  • audio signal processing
  • data recovery
  • reverse engineering
  • hardware behavior
  • debugging techniques
  • signal processing algorithms

What commenters say

  • The technique used to recover the game data is impressive and has potential applications in other fields, such as data recovery and signal processing.
  • The use of a majority vote algorithm to improve accuracy is clever, but may not be the most efficient method, and other techniques such as partial-response maximum-likelihood could be more effective.
  • The audio output of a crashed GBA is not a deliberate debugging tool, but rather a result of the hardware's behavior when interrupts are disabled.
  • The recovery of game data from audio output is dependent on the audio buffer overflowing and reading data from the game cartridge ROM.
  • The technique may have limitations, such as difficulty in recovering data from games with large sections of 0-byte data.
  • The use of cheap, off-the-shelf tools, such as an Arduino, could potentially be used to improve the accuracy of the data recovery process.
  • The GBA's hardware behavior when crashing is not well-documented and may have other interesting properties that could be exploited.
  • The recovery of game data from audio output is a complex process that requires a deep understanding of the GBA's hardware and audio processing techniques.