Limo
A simple mod manager
Loading...
Searching...
No Matches
lspakheader.h
Go to the documentation of this file.
6#pragma once
8#include <cstdint>
10
17 uint32_t magic_number;
19 uint32_t version;
25 uint8_t flags;
27 uint8_t priority;
29 char md5[16];
31 uint16_t num_parts;
32} __attribute__((packed));
Represents the header of a .pak archive file used for Baldurs Gate 3.
Definition lspakheader.h:15
uint32_t version
Archive format version.
Definition lspakheader.h:19
char md5[16]
MD5 hash of the file.
Definition lspakheader.h:29
uint32_t magic_number
Magic number indicating file type.
Definition lspakheader.h:17
uint64_t file_list_offset
Offset of a list of compressed files in the archive.
Definition lspakheader.h:21
uint8_t flags
Contains various flags.
Definition lspakheader.h:25
uint8_t priority
Priority of the file.
Definition lspakheader.h:27
uint32_t file_list_size
Size of the compressed file list.
Definition lspakheader.h:23
uint16_t num_parts
Number of separate archives within the file.
Definition lspakheader.h:31