LBA2:Island layout info: Difference between revisions

From LBA File Information
Jump to navigation Jump to search
[unchecked revision][checked revision]
Content deleted Content added
No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 6: Line 6:


Island layout info files contain information about island sections.
Island layout info files contain information about island sections.
The sections are squares on a virtual grid of 16x16 possible sections.
The sections are squares on a virtual grid with section's ID of 16x16 possible sections.


Each section has 6 entries in the [[LBA2:Island_package|ILE file]] associated to it, as well as a scene from [[LBA2:Scene.hqr|Scene.hqr]].
Each section has 6 entries in the [[LBA2:Island_package|ILE file]] associated to it, as well as a scene from [[LBA2:Scene.hqr|Scene.hqr]].
Line 17: Line 17:


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

* [[LBA2:Island section info|Section general info]]: offset +''ID'' * 6 + 0
* [[LBA2:Island objects info|Static 3D objects info]]: offset + ''ID'' * 6 + 1
* [[LBA2:Island objects info|Static 3D objects info]]: offset + ''ID'' * 6 + 1
* [[LBA2:Island polygons|Ground polygons]]: offset + ''ID'' * 6 + 3
* [[LBA2:Island polygons|Ground polygons]]: offset + ''ID'' * 6 + 2
* [[LBA2:Island texture uvs|Texture UVs]]: offset + ''ID'' * 6 + 4
* [[LBA2:Island texture uvs|Texture UVs]]: offset + ''ID'' * 6 + 3
* [[LBA2:Island heightmap|Heightmap]]: offset + ''ID'' * 6 + 5
* [[LBA2:Island heightmap|Heightmap]]: offset + ''ID'' * 6 + 4
* [[LBA2:Island intensities|Intensities]]: offset + ''ID'' * 6 + 6
* [[LBA2:Island intensities|Intensities]]: offset + ''ID'' * 6 + 5


{{providers|[[provider::Lupin]]}}
{{providers|[[provider::Lupin]]}}

Latest revision as of 17:23, 26 June 2022

Island layout info
Extension

LAY

Occurence

LBA2

Colour
Programs supporting this format

(none)

References

Find entries of this type

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.


Information provided by: Lupin