Resource Packer

From Tombstone Engine Wiki
Jump to: navigation, search

The Resource Packer is a plugin that ships with the Tombstone Engine, and it is used to create pack files in the engine's proprietary .pak format. For information about how pack files work, see Pack Files and Virtual Directories.

Creating a Pack File

The console command pack name is used to create a pack file, where name is the name of a top-level subfolder inside the Data folder.

Once a pack file has been created, the folder from which it was made can be deleted, and the Resource Manager will then fetch resources from the pack file. (The pack file takes precedence over the folder from which it was created.) The original files from which a pack file was created cannot be recovered from the pack file, so they should be saved in a separate location for future use. Pack files are generally created when it is time to ship a final product.

See Also