FrAG: Framework for the Analysis of Games

Date
2023-12-19
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
Historical games or retrogames ran on constrained systems that required programmers to use various techniques and optimizations. To learn about these techniques, we often study their source code. However, when the only remaining information about the games is their binary image, conventional analysis methods are time-consuming and do not scale. One way to study these techniques is to reverse engineer the binary images. However, conventional approaches to reverse engineer the images often do not provide accurate results as programmers often blurred the lines between code and data, because unlike most modern platforms, these platforms do not distinguish between code and data. We present FrAG, a Framework for the Analysis of Games that dynamically analyzes games at scale with no human interaction using artificial intelligence. FrAG’s design allows it to be ported to other platforms. To demonstrate FrAG’s capability and to evaluate its efficacy, we use a test suite of eight Atari 2600 games with ground truth available. We also present a novel way of disassembling game ROMs using data collected from the framework. Furthermore, FrAG can also be used as a platform for training artificial intelligence agents for several platforms.
Description
Keywords
Reverse Engineering, Retrogames, Automated Dynamic Analysis, Reinforcement Learning, Game Analysis
Citation
Ganesh, S. (2023). FrAG: Framework for the Analysis of Games (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.