Page 1 of 1

[Module] FileContainer.pbi (all OS)

Posted: Fri Apr 12, 2019 4:32 pm
by Thorsten1867
FileContainer - Module (all OS / 64Bit)
  • 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
Download: FileContainer.pbi

Re: [Module] FileContainer.pbi (all OS)

Posted: Wed Apr 17, 2019 5:09 pm
by Kwai chang caine
Works great here
Thanks for sharing 8)