LBA2:Island layout info: Difference between revisions
Jump to navigation
Jump to search
| [checked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
| 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. | |||
* [[LBA2:Island section info|Section general info]]: ''ID'' * 6 | * [[LBA2:Island section info|Section general info]]: offset +''ID'' * 6 | ||
* [[LBA2:Island objects info|Static 3D objects info]]: ''ID'' * 6 | * [[LBA2:Island objects info|Static 3D objects info]]: offset + ''ID'' * 6 + 1 | ||
* [[LBA2:Island polygons|Ground polygons]]: ''ID'' * 6 | * [[LBA2:Island polygons|Ground polygons]]: offset + ''ID'' * 6 + 3 | ||
* [[LBA2:Island texture uvs|Texture UVs]]: ''ID'' * 6 | * [[LBA2:Island texture uvs|Texture UVs]]: offset + ''ID'' * 6 + 4 | ||
* [[LBA2:Island heightmap|Heightmap]]: ''ID'' * 6 + | * [[LBA2:Island heightmap|Heightmap]]: offset + ''ID'' * 6 + 5 | ||
* [[LBA2:Island intensities|Intensities]]: ''ID'' * 6 + | * [[LBA2:Island intensities|Intensities]]: offset + ''ID'' * 6 + 6 | ||
{{providers|[[provider::Lupin]]}} | {{providers|[[provider::Lupin]]}} | ||
Revision as of 14:25, 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 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
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 section = 3.
- Section general info: offset +ID * 6
- Static 3D objects info: offset + ID * 6 + 1
- Ground polygons: offset + ID * 6 + 3
- Texture UVs: offset + ID * 6 + 4
- Heightmap: offset + ID * 6 + 5
- Intensities: offset + ID * 6 + 6
Information provided by: Lupin