LBA2:Island layout info: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [checked revision] |
Content deleted Content added
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
Here is how to find the section's entries in the [[LBA2:Island_package|ILE file]]. |
Here is how to find the section's entries in the [[LBA2:Island_package|ILE file]]. |
||
Offset from begin section = 3. |
Offset from begin of ILE file to first layout section = 3. |
||
* [[LBA2:Island section info|Section general info]]: offset +''ID'' * 6 + 0 |
* [[LBA2:Island section info|Section general info]]: offset +''ID'' * 6 + 0 |
Latest revision as of 17:23, 26 June 2022
Island layout info | ||
---|---|---|
Extension |
LAY |
|
Occurence |
LBA2 |
|
Colour |
|
|
Programs supporting this format | ||
(none) |
||
References | ||
Island layout info files contain information about island sections. The sections are squares on a virtual grid with section's ID of 16x16 possible sections.
Each section has 6 entries in the ILE file associated to it, as well as a scene from Scene.hqr.
Specification[edit]
The file contains 256 bytes (16x16).
The byte value is either 0 which means there is no section at that particular grid position or an ID which is used to find the 6 entries giving more information on that section.
Here is how to find the section's entries in the ILE file.
Offset from begin of ILE file to first layout section = 3.
- Section general info: offset +ID * 6 + 0
- Static 3D objects info: offset + ID * 6 + 1
- Ground polygons: offset + ID * 6 + 2
- Texture UVs: offset + ID * 6 + 3
- Heightmap: offset + ID * 6 + 4
- Intensities: offset + ID * 6 + 5
Information provided by: Lupin