FLM Main Header
This is the section of the file that holds meta-data about the rest of the file. With it, the game gathers enough information to successfully parse the rest of the scene file.
It is a 60 Byte fixed size.
| Offset |
Type |
Size (bytes) |
Field Name |
Description |
Typical Values |
| 0 |
Int32 |
4 |
Header Size |
Number of bytes in the entire Header section |
|
| 4 |
Int32 |
4 |
Magic Number |
18 for Original Movies, 19 for S & E Addon |
18, 19 |
| 8 |
Int32 |
4 |
Text Element Size |
Number of bytes in Entire TextElementOffsets Section plus Entire TextElement Section |
|
| 12 |
Int32 |
4 |
CrewTE |
Index of Crew TextElement |
|
| 16 |
Int32 |
4 |
|
|
Always -1 |
| 20 |
Single |
4 |
Year Start |
Year the scene first is available |
Usually 0, meaning always available. |
| 24 |
Single |
4 |
Year End |
Year the scene is no longer available ? |
Usually 0, meaning no end |
| 28 |
Single |
4 |
Trickiness? |
Not sure what trickiness is.. if this is even it. Term appears in some INI files. |
0 - .82 |
| 32 |
Int32 |
4 |
TE Scene Name |
Index for Scene Name (?) INI seems to control this |
Always -1 |
| 36 |
Int32 |
4 |
TE Scene Sis Name |
Index for Scene Sis Name (?) INI seems to control this |
Always -1 |
| 40 |
Int32 |
4 |
TE Scene Description |
Index for Short Description (?) INI seems to control this |
Always -1 |
| 44 |
Byte |
1 |
Genre Count |
Number of Genres in TE |
|
| 45 |
Byte |
1 |
EnviroPyro Count |
Number of CraneRig or Pyrotechnics |
never more than 1 |
| 46 |
Byte |
1 |
TE Count |
Number of elements in TextElements Section |
max limit of 255 |
| 47 |
Byte |
1 |
Slider Count |
Number of Slider entries |
max limit of 255 |
| 48 |
Int16 |
2 |
Start Frame |
What frame 'filming' starts on |
0 in special cases, or 70-546 |
| 50 |
Int16 |
2 |
Element Count |
Number of Elements (that are not Timeline Heads) |
1-90 |
| 52 |
Byte |
1 |
Direction Count |
Number of Directors directions |
|
| 53 |
Byte |
1 |
Edit Flags |
Bit Flags: 1 = Unk, 2 = Has Slider, 4 = Has Extras, 8 = Dolly, 16 = Crane |
Always 6,14, or 22 |
| 54 |
Byte |
1 |
Timeline Head Count |
Number of Elements that are Timeline Heads (or separate Tracks) |
1-20 |
| 55 |
Byte |
1 |
Extra Count |
Number of TextElements Extra flm file names. See Extras Section |
|
| 56 |
Int32 |
4 |
Shot TE |
References TE Index for a [Shot:xxx] entry or Trailer in certain ai_ flm files |
Usually -1 |
Categories
CategoryFlmFormat
CategoryDocumentation