Pak
From Esenthel
Pak Informations
- Pak file is a set of multiple files stored in one, like an archive.
- It can be optionally encrypted using Secure class, where you can define your custom encryption keys for maximum data security (this way you can protect your files so that they cannot be viewed or used by other users).
- Multiple Pak files can be loaded in application, allowing to use resources simultaneously from multiple sets.
- In a situation when accesing a file which is present in multiple Pak's loaded, the file is used from the last loaded Pak. This is useful for applying game patches. For example if you wish to update some model through a game patch to look better. To do that you can store the new updated mesh in the patch Pak, and in the game load it after the main data Pak, the new mesh file will be used automatically, without touching the code.
Pak Usage Advantages
- When using Pak's you can get automatic data encryption for all files inside them.
- Accessing multiple files is much faster when they're loaded from Pak instead of being stored separately.
Pak Limitations
- You cannot add encrypted files into Paks (using Secure class), please store files only in unencrypted form, and then encrypt the whole Pak file.
