Cosmo Config Format

From ModdingWiki
Jump to: navigation, search

This file is used to store the configuration and high scores for Cosmo.

File format

Data type Name Description
UINT8 Up key The scancode for the mapped up key
UINT8 Down key The scancode for the mapped down key
UINT8 Left key The scancode for the mapped left key
UINT8 Right key The scancode for the mapped right key
UINT8 Jump key The scancode for the mapped jump key
UINT8 Bomb key The scancode for the mapped bomb key
UINT8 Music on flag Flag indicating whether music is enabled. 1 = music on, 0 = music off
UINT8 Sound effects on flag Flag indicating whether sound effects are enabled. 1 = sfx on, 0 = sfx off
HIGHSCORE highScores[10] High score table Each record is a string in the format "score name" terminated with a LineFeed 0xA


Credits

This file format was reverse engineered by Yuv422. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)