Line 70:
Line 70:
</CraneInstances>
</CraneInstances>
</CenterPrizeCollectionFile>
</CenterPrizeCollectionFile>
+
+
== Crane Instance (cib) ==
+
A crane instance file stores the data of a set and the components of the machine.
+
+
{| class="wikitable"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Header magic (CIBS)
+
|-
+
| 0x30
+
| ?
+
| Crane Instance name
+
|-
+
| 0x60
+
| ?
+
| Crane name
+
|-
+
| 0x90
+
| ?
+
| Crane Icon name
+
|-
+
| 0x1100 + Offset
+
| Offset
+
| Prize name x
+
|-
+
| 0x1880 + Offset
+
| Offset
+
| Fixed Object name x
+
|}
+
+
Offset = 0x30 * x
+
+
== Attachment (atb) ==
+
An attachment file stores the data of an immovable object and its image.
+
+
{| class="wikitable"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Header magic (ATBS)
+
|-
+
| 0x2C
+
| ?
+
| Attachment name
+
|-
+
| 0x5C
+
| 0x4
+
| Image width
+
|-
+
| 0x60
+
| 0x4
+
| Image height
+
|-
+
| 0x80
+
| w * h
+
| ETC1A4 image of attachment
+
|-
+
| 0x80 + (w * h)
+
| w * h
+
| A8 data of previous image
+
|}
+
+
== Crane Icon (icb) ==
+
A crane icon file stores the icon of a set (crane instance).
+
+
{| class="wikitable"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Header magic (ICBS)
+
|-
+
| 0x1C
+
| ?
+
| Crane icon name
+
|-
+
| 0x100
+
| 0x2000
+
| 64x64 RGB565 image
+
|}
+
+
== Category (cab) ==
+
A category file stores the data of a group of sets and its category image.
+
+
{| class="wikitable"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Header magic (CABS)
+
|-
+
| 0x24
+
| 0x4
+
| Category ID
+
|-
+
| 0x2C
+
| ?
+
| Category name
+
|-
+
| 0x5C
+
| 0x4
+
| Number of badges
+
|-
+
| 0x60
+
| 0x4
+
| Number of sets (crane instances)
+
|-
+
| 0x2080
+
| 0x2000
+
| 64x64 RGB565 image of category
+
|}
+
+
== Crane (crb) ==
+
A crane file stores the background image used on a set (crane instance).
+
+
{| class="wikitable"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Header magic (CRBS)
+
|-
+
| 0x1C
+
| ?
+
| Crane name
+
|-
+
| 0x800
+
| 0x10000
+
| ETC1 image? (Unknown resolution)
+
|}
+
+
== Fixed Object (fob) ==
+
A fixed object file stores the data of the terrain and its image.
+
+
{| class="wikitable"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Header magic (FOBS)
+
|-
+
| 0x24
+
| ?
+
| Fixed object name
+
|-
+
| 0x54
+
| 0x4
+
| Image width
+
|-
+
| 0x58
+
| 0x4
+
| Image height
+
|-
+
| 0x80
+
| w * h
+
| ETC1A4 image of fixed object
+
|}
== Prize (prb) ==
== Prize (prb) ==
Line 98:
Line 276:
| 0xA4
| 0xA4
| 0x8
| 0x8
−
| Title ID it opens
+
| Title ID it opens (0xFFFFFFFF if none)
|-
|-
| 0xB8
| 0xB8