---
title: "Packet 102: UGCMapInfo"
description: "Carries length-prefixed PNG map information/preview data for a UGC map."
canonical: "https://aosplay.net/protocol-168/packets/102"
markdown: "https://aosplay.net/docs/protocol-168/packets/102.md"
last_updated: "2026-07-16"
protocol: "Ace of Spades Battle Builder 168"
packet_id_decimal: "102"
packet_id_hex: "0x66"
direction: "Inactive"
family: "UGC"
implementation_status: "Planned"
evidence: "Provisional"
wire_size: "5 + N bytes"
---

# Packet 102: UGCMapInfo

> Carries length-prefixed PNG map information/preview data for a UGC map.

- **Decimal ID:** 102
- **Hex ID:** 0x66
- **Direction:** Inactive
- **Family:** UGC
- **Status:** Planned
- **Evidence:** Provisional
- **Wire size:** 5 + N bytes

## Implementation note

The recovered source still marks the binary payload interpretation for confirmation.

## Exact wire layout

The application packet ID is the first byte. The remaining rows are in decode order. Byte sizes exclude ENet headers, wrapper prefixes, LZF chunk framing, and compression effects.

| # | Field | Encoding | Bytes | Purpose | Condition |
| ---: | --- | --- | ---: | --- | --- |
| 0 | `packet_id` | u8 | 1 | Always 102 (0x66). | — |
| 1 | `png_length` | i32 LE | 4 | N: byte length of the PNG payload. | — |
| 2 | `png_data` | raw PNG bytes | N | Map preview image. | — |

## Encoding conventions

- `LE` means least-significant byte first.
- `fixed16` is two-byte sign-magnitude at 1/64 precision.
- `orientation16` uses the measured 1/8192 orientation mapping.
- NUL strings consume their encoded byte length plus one `00` terminator.
- Counted arrays repeat immediately in the documented order.

## Related resources

- [HTML packet page](https://aosplay.net/protocol-168/packets/102)
- [Complete packet catalog](https://aosplay.net/protocol-168/packets)
- [Packet catalog in Markdown](https://aosplay.net/docs/protocol-168/packets.md)
- [Protocol 168 guide](https://aosplay.net/protocol-168)
