Home docs pia ldn LDN Application Data
Post

LDN Application Data

The application data field allows the host of an LDN network to encode game-specific information into the advertisement frame. This page describes how the application data is structured in games that use the Pia framework.

The application data starts with a short header, which is followed by game-specific application data.

Note: the values in this header seem to be stored in little-endian byte order.

5.2 - 5.7:

OffsetSizeDescription
0x04Session id (random)
0x44CRC32 of user password
0x81System communication version
0x93Padding
0xC8Always 0
0x14 Application data

5.9 - 5.18:

OffsetSizeDescription
0x04Session id (random)
0x44CRC32 of user password
0x81System communication version
0x91Header size (24)
0xA2Padding
0xC4Session param (random)
0x108Always 0
0x18 Application data

5.29 - 5.39:

OffsetSizeDescription
0x04Session id (random)
0x44CRC32 of user password
0x81System communication version
0x91Header size (16)
0xA2Padding
0xC4Session param (random)
0x10 Application data

6.41:

OffsetSizeDescription
0x02System property data size (0x5C)
0x21System communication version
0x32Application communication version
0x516User password
0x151Is player limit enabled
0x161Number of players
0x174Player name size
0x1B1Player name encoding (1 = UTF-8, 2 = UTF-16)
0x1C64Player name
0x5C Application data

System Communication Version

VersionPia Version
15.2 - 5.7
25.9
35.10
45.11 - 5.17
55.18
85.29 - 5.39
226.41

Application Data

The application data depends on the game:

Mario Kart 8 Deluxe

OffsetSizeDescription
0x01Unknown
0x133Nickname
0x222Padding
0x2488Mii info
0x7C4Unknown

Super Mario Maker 2

OffsetSizeDescription
0x08Network service account id
0x811x2Nickname (wide chars)
0x1E2Padding
0x2088Mii info
0x7816Unknown
Contents