Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.41 KB

ppac.md

File metadata and controls

22 lines (17 loc) · 1.41 KB

PPAC file format

This is a packet log format. All packets are logged and saved in the ".pak" file. Here's the description of the format:

Header:

Field Type Notes
Header char[4] Always PPAK
Version byte = 2..4
Client byte For version >=3
0 - Classic (generic)
1 - NGS
2 - NA
3 - JP
4 - Vita
Packed byte For version >=4
1 if the following data is zstd packed.
Packets Packet[_] Format in the next table

Packet format:

Field Type Notes
Timestamp u128 Nanosecond since Unix epoch
Direction byte 0 - Client -> Server
1 - Server -> Client
Data size u64 Length of the following data
Data byte[_] Full decrypted packet