After looking at Labrat1.lev's LINF section I come to the following conclusion:
Code:
struct LINF
{
long SectionLength;
short ChunkVersion = 258; // JJ2 gives error otherwise
string LevelName;
string BonusLevel;
string MusicFile;
string NextLevel; // minus the file extension
string SecretLevel; // same
long MinLight; // multiply by 1.5625 to get Set Light-compatible value
long StartLight; // same
byte Padding[]; // pad the section length out (to 80 in most levels, to 88 in labrat 1 & 3)
}
-The field after NextLevel (labrat2) is the SecretLevel field (labrat3).
-The field after Levelname is the only string field left, and thus is the BonusLevel field
-The padding is not always up to 80 bytes, as in labrat 1 and 3 it's actually 88! Why?
__________________
|