Save data structure (Generation II): Difference between revisions

m
More of my "world-famous" making articles sound less clumsy.
mNo edit summary
m (More of my "world-famous" making articles sound less clumsy.)
Line 4: Line 4:


<div style="float:right; margin-left: 16px">__TOC__</div>
<div style="float:right; margin-left: 16px">__TOC__</div>
The '''save data structure''' for Generation II is stored in the cartridge's battery-backed RAM chip (SRAM), or as a ".sav" file from most emulators. The structure consists of 32 KB of data, though not every byte is used. Emulators may append additional data for the purposes of maintaining real-time clock operations.
The '''save data structure''' for Generation II is stored in the cartridge's battery-backed RAM chip (SRAM), or as a ".sav" file by most emulators. The structure consists of 32 KB of data, though not every byte is used. Emulators may append additional data for the purposes of maintaining real-time clock operations.


Two regions of the save data have their integrity validated via checksums. These region contain all of the information that directly pertains to the player and his or her Pokémon. Additional information pertinent to the save file is also present in the other regions of the data.
Two regions of the save data have their integrity validated via checksums. These regions contain all of the information that directly pertains to the player and their Pokémon. Additional information pertinent to the save file is also present in the other regions of the data.


==Data types==
==Data types==
8

edits