falcon4:file_formats:theater_l2
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| falcon4:file_formats:theater_l2 [2007/07/12 21:18] – created theater_l2 initial page snakeman | falcon4:file_formats:theater_l2 [2024/07/31 08:53] (current) – links added. snakeman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Theater L2/O2 ====== | + | ====== |
| + | |||
| + | [[https:// | ||
| + | |||
| + | **Falcon 4 File Format Theater L2/O2** | ||
| O2 file: 4Bytes per Record\\ | O2 file: 4Bytes per Record\\ | ||
| DWORD(LONG) - L2 byte Location | DWORD(LONG) - L2 byte Location | ||
| - | (This file essentially, | + | (This file essentially, |
| L2 File: 9Bytes per Record | L2 File: 9Bytes per Record | ||
| Line 16: | Line 20: | ||
| </ | </ | ||
| - | (Bytes 1-4 hold the Texture info, this what you want! 5-6 hold the elevation (in ft), 7, palette, 8 and 9 have something to do with the Normals, and you dont need to worry about them either!) | + | (Bytes 1-4 hold the Texture info, this what you want! 5-6 hold the elevation (in ft), 7, palette, 8 and 9 have something to do with the Normals, and you don' |
| and | and | ||
| Line 52: | Line 56: | ||
| Section = 16 x 16 x size of L2 record | Section = 16 x 16 x size of L2 record | ||
| - | And looking at that structure then, the only thing a 4byte structure does, is allow a larger number of textures to be used? Not that I want to mess with that area of it... Just the elevation stuff... And that shouldnt | + | And looking at that structure then, the only thing a 4byte structure does, is allow a larger number of textures to be used? Not that I want to mess with that area of it... Just the elevation stuff... And that shouldn' |
| The L2 Offset points into fartiles.raw. With the more diversified tiled theaters, like the Balkans, the 16-bit offset was limited to 64,767 fartiles (Blkans has ~102,000 fartiles). Making the Offset a 32-bit integer extended the number of fartiles to 4+ gig tiles. | The L2 Offset points into fartiles.raw. With the more diversified tiled theaters, like the Balkans, the 16-bit offset was limited to 64,767 fartiles (Blkans has ~102,000 fartiles). Making the Offset a 32-bit integer extended the number of fartiles to 4+ gig tiles. | ||
| The O2 offsets (pointers) change due to the size (bytes) of a L2 section. | The O2 offsets (pointers) change due to the size (bytes) of a L2 section. | ||
| + | |||
| + | Zaggy provided us with this illustration: | ||
| + | |||
| + | {{https:// | ||
| + | |||
| + | Thanks Zaggy for the pic. | ||
| + | |||
falcon4/file_formats/theater_l2.1184275095.txt.gz · Last modified: 2007/07/12 21:18 (external edit)
