It is currently Wed Jul 17, 2019 5:41 pm

All times are UTC + 1 hour

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [Module] FileContainer.pbi (all OS)
PostPosted: Fri Apr 12, 2019 4:32 pm 

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 806
Location: Germany
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.

; 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

Sorry for my English. My language is German.
(Translated with

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]

Reply with quote  
 Post subject: Re: [Module] FileContainer.pbi (all OS)
PostPosted: Wed Apr 17, 2019 5:09 pm 
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4461
Location: Lyon - France
Works great here
Thanks for sharing 8)

ImageThe happiness is a road...
Not a destination

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: Mol4yn and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye