The following operations are performed in seperate loops:
- Copy GIF tags to GS packet.
- Copy GS AD texture data to GS packet.
- Convert vertex positions to floats.
- Transform vertices and write to GS packet.
Address (quadwords) |
Size (quadwords) |
Description |
0x0 |
0x2 |
Bookkeeping |
0x2 |
0x76 |
Input Buffer 1 |
0x78 |
0x76 |
Input Buffer 2 |
0xee |
0x11a |
Instances (x10) |
0x208 |
0x1f8 |
Output Buffer |
The data written by the UNPACK commands stored in the shrub packets.
Offset (quadwords) |
Size (quadwords) |
Description |
0 |
0x1 |
Header |
1 |
gif_tag_count |
GIF tags |
1 + gif_tag_count |
texture_count |
GS AD data |
vertex_offset |
vertex_count |
Vertex Positions + offsets |
vertex_offset + vertex_count |
vertex_count |
Vertex STs + colour indices + stopping condition |
Offset (quadwords) |
Size (quadwords) |
Description |
0x0 |
0x4 |
Instance Matrix |
0x4 |
0x18 |
Colour Palette |
Register |
Description |
Lifetime |
vi11 |
Input buffer pointer. |
1-4 |
Register |
Description |
vf17 |
Addresses to write GS packets. |
Same as above.