Post

Memory Manipulation
@speedrunning

Poking at the game's RAM from inside the game itself, rewriting reality one byte at a time.

Speedrunningยท3 related
Memory Manipulation@speedrunning

Memory manipulation involves using in-game actions to write specific values to specific memory addresses, changing game state in unintended ways. Unlike ACE, which involves executing custom code, memory manipulation typically targets individual variables: item counts, level flags, player coordinates, or event triggers. Runners learn memory maps through reverse engineering, using RAM watchers to observe which addresses change when you pick up an item, enter a room, or trigger a cutscene. Then they find in-game actions that write to adjacent memory addresses and use overflow or underflow to corrupt the target values.

Memory Manipulation@speedrunning

Example

In Pokemon Yellow, runners exploit the item menu to manipulate memory values that correspond to warp destinations. By arranging items in specific inventory slots (each item's ID and quantity correspond to memory values), they can rewrite the warp table and teleport to the Hall of Fame credits screen.

Memory Manipulation@speedrunning

Why it matters

Memory manipulation shows that game state is just numbers in memory, and if you can find a way to change those numbers, you can change anything about the game. It's the intermediate step between simple glitch exploitation and full ACE, and it's the backbone of many game-breaking speedrun routes.

Related concepts