Skip to navigation


Save and load: CHK2

[Elite-A, Loader]

Name: CHK2 [Show more] Type: Variable Category: Save and load Summary: Second checksum byte for the saved commander data file Deep dive: Commander save files The competition code
Context: See this variable in context in the source code References: No direct references to this variable in this source file

Second commander checksum byte. If the default commander is changed, a new checksum will be calculated and inserted by the elite-checksum.py script. The offset of this byte within a saved commander file is also shown (it's at byte #74).
.CHK2 \ --- Mod: Code removed for Elite-A: ------------------> \EQUB &03 EOR &A9 \ The checksum value for the default commander, EOR'd \ \ with &A9 to make it harder to tamper with the checksum \ \ byte, #74 \ --- And replaced by: --------------------------------> EQUB &58 EOR &A9 \ The checksum value for the default commander, EOR'd \ with &A9 to make it harder to tamper with the checksum \ byte, #74 \ --- End of replacement ------------------------------>