- Merges all data files of a program into one container
- Files are encrypted when a password is set
- Files are unpacked only when needed and automatically moved back into the container when it is closed.
- Resources such as images, sounds, etc. can be loaded directly from the container.
- XML and JSON files can be read directly from and written to the container.
Code: Select all
; Container::AddFile() - add a new file to the container
; Container::CheckPassword() - checks if the password is correct and sets the password for opening the container
; Container::Close() - moves all open files back to the container
; Container::Create() - creates a new container
; Container::GetInfo() - get container info (#Program / #Description / #Author)
; Container::GetFileInfo() - get file info (#FileSize / #Modified)
; Container::Load() - load directly from the container (#XML / #JSON / #Image / #Sound / #Sprite)
; Container::Open() - opens the container (password is not required if CheckPassword() is used)
; Container::RemoveFile() - removes a file form the container
; Container::Save() - save directly to the container (#XML / #JSON)
; Container::UpdateFile() - update file in container
; Container::UseFile() - unpack a file to use it