C2H: Difference between revisions

1,236 bytes added ,  30 October
That's really annoying but it must be said
m (Forgot to actually add the footnote section 👍)
(That's really annoying but it must be said)
 
Line 156: Line 156:
|Level checksum
|Level checksum
|}
|}
== Corruption ==
C2H files sometimes get corrupted during normal gameplay; it is unknown what causes this to happen. This usually takes the form of the same level (and its score) appearing twice in the same C2H file, or a level's score being saved for the wrong level. A [https://forum.bitbusters.club/thread-479.html program] exists to automatically create backups of C2H files, allowing the player to easily revert to a prior version should corruption occur.
If the player does not have a backup, the corruption can usually be undone using a hex editor. If a level is duplicated, the duplicate's FILE, TYPE, NAME and SAVE sections will have to be removed from the file. If a level has the wrong score, its SAVE section will have to be replaced with zeroes, except the line number, level number and initial time offsets; this will reset the level back to its initial, unsolved state. In both cases, the [[C2S]] file will have to be removed, as it still contains an erroneous total score for the entire set (a new total will be automatically recalculated based on the fixed C2H0.
The player should also create a backup of the C2H before performing any hex editing, in case they accidentally create further corruption in the process.


== External Links ==
== External Links ==