User Tools

Site Tools


falcon4:file_formats:theater_l2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
falcon4:file_formats:theater_l2 [2007-07-14 00:59]
snakeman added LxOx_Structure.gif imaeg
falcon4:file_formats:theater_l2 [2017-10-06 22:04] (current)
snakeman http to https switch.
Line 4: Line 4:
 DWORD(LONG) - L2 byte Location DWORD(LONG) - L2 byte Location
  
-(This file essentially,​ represents the SEGEMENTS ​of the theater, starting a 0,0 in the LOWER LEFT corner, to 63,63 in the UPPER RIGHT. Each of the DWORD(LONG) Records points to the location in the L2 file (in BYTES), that the 16x16 Tiles that make up each segment, begins. Like the O2 files, the order of the 16x16 segement ​records in the L2 is, starting at Lower Left, going to Upper Right).+(This file essentially,​ represents the SEGMENTS ​of the theater, starting a 0,0 in the LOWER LEFT corner, to 63,63 in the UPPER RIGHT. Each of the DWORD(LONG) Records points to the location in the L2 file (in BYTES), that the 16x16 Tiles that make up each segment, begins. Like the O2 files, the order of the 16x16 segment ​records in the L2 is, starting at Lower Left, going to Upper Right).
  
 L2 File: 9Bytes per Record L2 File: 9Bytes per Record
Line 16: Line 16:
 </​code>​ </​code>​
  
-(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'​t ​need to worry about them either!)
  
 and  and 
Line 52: Line 52:
 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 ​require messing with the O2, should it? +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'​t ​require messing with the O2, should it? 
  
 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. ​
Line 60: Line 60:
 Zaggy provided us with this illustration:​ Zaggy provided us with this illustration:​
  
-{{http://tactical.nekromantix.com/images/wiki/​LxOx_Structure.gif}}+{{https://pmc.editing.wiki/​images/​LxOx_Structure.gif}}
  
 Thanks Zaggy for the pic. Thanks Zaggy for the pic.
falcon4/file_formats/theater_l2.1184374760.txt.gz ยท Last modified: 2007-07-14 00:59 by snakeman