> For the complete documentation index, see [llms.txt](https://docs.pangya.golf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pangya.golf/psp/file-formats/pak.md).

# PAK

The PAK (Package) File format is Pangya: Fantasy Golfs archive/packaging format. The PSP archive consists of two files `psppackfilelist.pak` and `pspdata.pak`

## `psppackfilelist.pak`

As the name suggests, it contains the list of files of the archive. Inside the file, you read following structure until the end of the file:

```csharp
public struct FileEntry
{
    public ushort Type;
    public ushort Unknown1;
    public uint Offset;
    public uint FileSize;
    public uint RealFileSize;
    public string FileName;
}
```

## `pspdata.pak`

Use the acquired `FileEntries` from `psppackfilelist.pak` to read the data. Just start reading `FileSize` from `Offset` and save it to `FileName`. There is no compression or encryption, that's why `FileSize` and `RealFileSize` match for all entries.
