Please create an account or Login! Have fun!
Editing C2H
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=== Overview === | |||
A '''C2H ''' file (having the extension .c2h) is the file format where [[Chip's Challenge 2]] stores the best scores and times for each level. | A '''C2H ''' file (having the extension .c2h) is the file format where [[Chip's Challenge 2]] stores the best scores and times for each level. | ||
Line 5: | Line 6: | ||
All data in the file is little-endian. | All data in the file is little-endian. | ||
=== Section header format === | |||
=== Section header === | {| class="article-table" | ||
{| class=" | |||
!Bytes | !Bytes | ||
!Content | !Content | ||
Line 19: | Line 19: | ||
=== Section types === | === Section types === | ||
{| class=" | {| class="article-table" | ||
!Section ID | !Section ID | ||
!Content Type | !Content Type | ||
Line 51: | Line 51: | ||
=== SAVE section === | === SAVE section === | ||
{| class=" | {| class="article-table" | ||
!Offset | !Offset | ||
!Bytes | !Bytes | ||
Line 68: | Line 68: | ||
|Highest bonus score achieved (does not include bonus from time left) | |Highest bonus score achieved (does not include bonus from time left) | ||
|- | |- | ||
| | |... | ||
| | |||
|Unknown | |||
| | |||
| | |||
|- | |- | ||
|0x14 | |0x14 | ||
|4 | |4 | ||
| | |Base level score, (level number)*500 | ||
|- | |- | ||
|0x18 | |0x18 | ||
Line 84: | Line 80: | ||
|Level number | |Level number | ||
|- | |- | ||
| | |... | ||
| | | | ||
| | |Unknown | ||
|- | |- | ||
|0x30 | |0x30 | ||
Line 108: | Line 88: | ||
|1 if level is solved, 0 if unsolved | |1 if level is solved, 0 if unsolved | ||
|- | |- | ||
| | |... | ||
| | | | ||
| | |Unknown | ||
|- | |- | ||
|0x58 | |0x58 | ||
Line 148: | Line 96: | ||
|Highest level time achieved | |Highest level time achieved | ||
|- | |- | ||
| | |0x5c | ||
|4 | |4 | ||
|Highest level score achieved (including base level score) | |Highest level score achieved (including base level score) | ||
Line 154: | Line 102: | ||
|0x60 | |0x60 | ||
|4 | |4 | ||
| | |Unknown | ||
|} | |} | ||
== External Links == | == External Links == | ||
*[http://www.pvv.org/~spaans/c2h.txt Notes on the .c2m file format by Ruben Spaans] | |||
*[http://www.pvv.org/~spaans/c2h.txt Notes on the . | |||
[[Category:Terminology]] | [[Category:Terminology]] | ||