

Occasionally during run-time, and lots and lots of unused space.

It can essentially be regarded mostlyĪs a misc bank with some large data, various scratch buffers used only This is the Hall of Fame and scratch bank. The checksum neatly validates the data it encomapsses but there are severalĬhecksums for different sections of data in different banks.
#Pokemon red save file editor full
Including a full byte-by-byte copy of the current PC box. Loaded into the in-game memory byte-by-byte. The primary bank for just about all data across the game, most is directly Hall of Fame because of its size (4,800 bytes). The 32KB save data is divided into 4 banks each 8KB in size or 0x2000Ĭonsists of 3 sprite buffers which seem to contain misc or varying data and the They could be different for other releases. Note: These values apply to the North American Pokémon Red, Blue, and Yellow The Hall of Fame is the only section of used data which doesn't have a checksum and furthermore lies on an unusual bank number because it's so large. PC boxes have additional checksums for each box's contents on the bank in addition to the normal whole-bank checksum. Sections of the data are protected with a simple integrity check using aĬhecksum to verify data corruption in cases such as the power being lost during the saving process. Of the data will load untouched into the in-game memory during gameplay and The "Clear Save Dialog" is triggered on the title screen. Most of these areas will not be altered by the game unless Most areas can freely be written to with custom data or at the very That can't be saved to, including various runtime-only data. There are also a number of areas that are only used in certain game states Structure consists of 32 KB of data divided between 4 banks each 8KB, or 0x2000,Īnd overall contains potentially hundreds of variables, though there are quite aįew areas that are either completely left alone, only read from, or only written The save data structure for Generation I is stored in the cartridge's volatileīattery-backed RAM chip (SRAM), or as a ".sav" file by most emulators.
