Next: Software package, Previous: Level editor, Up: MININIM: The Advanced Prince of Persia Engine [Contents][Index]
The native level format is the level format designed for MININIM. In contrast, the level formats designed for the original game are known collectively as legacy level formats. See Level options. Unlike these the native level format supports all features offered by the engine, including:
In this chapter the native level format is described in detail for reference sake. Programmers developing tools for interoperability with MININIM may find this information useful.
The native levels are plain text INI-like files with no sections. They
are named after their respective level numbers (padded with one zero in
case it is less than 10) and have the ‘mim’ extension. Level files
generated by MININIM have the comment ‘#MININIM LEVEL FILE’ at the
top of each level file (this is not a requirement for validity, though).
After this, there is a long sequence of key=value
pairs up to the end of the file. Each pair have its own line. Unless
otherwise noted, value is a space separated sequence of integers
in the C language syntax. The expected keys are described in the
sections below.
Next: Software package, Previous: Level editor, Up: MININIM: The Advanced Prince of Persia Engine [Contents][Index]