4FROM CODE TO MEMORY: A GENERAL PRIMER

image

At the lowest level, a game’s code, data, input, and output are complex abstractions of erratically changing bytes. Many of these bytes represent variables or machine code generated by a compiler that was fed the game’s source code. Some represent images, models, and sounds. Others exist only for an instant, posted by the computer’s hardware as input and destroyed when the game finishes processing them. The bytes that remain inform the player of the game’s internal state. But humans can’t think in bytes, so the computer must translate them in a way we can understand.

There’s a huge disconnect in the opposite ...

Get Game Hacking now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.