Viewing a single comment thread. View all comments

zachtheperson t1_je2c4n0 wrote

You would write in known lengths such as "each number will be 8 bits," as well as extra numbers here and there that might say things like "the first number X is how long the list is, the next X numbers are the list, the number Y after that is how many letters there are, followed by Y number of letters."

The programmer gets to determine all of these things and make up the rules. It's what makes things like reverse engineering file formats difficult, since the file could be laid out in any format.

If you want to see this being done in real time, check out the Metroid Prime Modding Discord. They've been reverse engineering the original GameCube game for years, and recently the remastered dropped so they're currently in the process of tearing that apart and figuring out how the data is laid out so they can read it.

1