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 revisionPrevious revision
Next revision
Previous revision
falcon4:file_formats:theater_l2 [2007/07/14 00:59] – added LxOx_Structure.gif imaeg snakemanfalcon4:file_formats:theater_l2 [2024/07/31 08:53] (current) – links added. snakeman
Line 1: Line 1:
-====== Theater L2/O2 ======+====== Falcon 4 Theater L2/O2 ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=47|Falcon 4.0 Forum]], [[:falcon4|Falcon 4 Home]], [[falcon4:campaign|Falcon 4 Campaign]], [[falcon4:cockpits|Falcon 4 Cockpits]], [[falcon4:database|Falcon 4 Database]], [[falcon4:file_formats|Falcon 4 File Formats]], [[falcon4:srtm|Falcon 4 SRTM Terrain]], [[falcon4:terrain|Falcon 4 Terrain]], [[falcon4:textures|Falcon 4 Textures]], [[falcon4:tools|Falcon 4 Tools]] 
 + 
 +**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, 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 20:
 </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'need to worry about them either!)
  
 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 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'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 64:
 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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.