EzPack Crossplatform packer
Posted: Fri Dec 28, 2012 7:16 am
EzPacker
Cross Platform Streaming Packer supports large files
Features:
https://www.dropbox.com/s/f76f9cvjfmv88h9/EzPack.zip
Version 1.06
changed so compression level can be set for different file types with build source list
Version 1.05
Added Thread support (applications need to be compiled with threadsafe)
Version 1.04
Added compression for file index
Version 1.0.3b
Changed internal string representation to utf8
added missing error traps
Version 1.0.2b
changed file routines to work with a copy
If it's not what your looking for try ts-softs zbin
(I had forgotten about this great packer before writing EzPack)
http://www.purebasic.fr/english/viewtop ... 27&t=50153
Please report any bugs
Cross Platform Streaming Packer supports large files
Features:
- Windows,Linux,Osx
- Ascii, Unicode
- Unpack from memory
- Open files from memory
https://www.dropbox.com/s/f76f9cvjfmv88h9/EzPack.zip
Version 1.06
changed so compression level can be set for different file types with build source list
Version 1.05
Added Thread support (applications need to be compiled with threadsafe)
Version 1.04
Added compression for file index
Version 1.0.3b
Changed internal string representation to utf8
added missing error traps
Version 1.0.2b
changed file routines to work with a copy
If it's not what your looking for try ts-softs zbin
(I had forgotten about this great packer before writing EzPack)
http://www.purebasic.fr/english/viewtop ... 27&t=50153
Please report any bugs
Code: Select all
Interface iEzPack
BuildSourceFileList(StartDir.s,Pattern.s="*.*",Recursive=1,Thread=0)
CreatePack(PackFileName.s,Thread=0,WorkSetMb.i=500,level.i=7)
CreatePackSelected.q(PackFileName.s,Thread=0,WorkSetMb.i=500,level.i=7)
OpenPackFromDisk(PackFile.s,Thread=0)
OpenPackFromMemory(*Memory,MemoryLen,Thread=0)
UnPack(DestinationPath.s,Thread=0,UnPackAll=0,UnPackToMemory=0)
UnPackAllToDisk(DestinationPath.s,Thread=0)
UnPackSelectedToDisk(DestinationPath.s,Thread=0)
UnPackAllToMemory(Thread=0)
UnpackSelectedToMemory(Thread=0)
SelectExtractFile(file.s)
SelectExtractFileIndex(index.i)
SelectCompressFile(index.i)
OpenFile(file.s)
OpenFileIndexed(Index.i)
CatchFile(FileNumber.i)
GetFileSize(FileNumber.i)
CloseFile(FileNumber.i)
Reset()
GetProgress()
GetProcessed.s()
GetCurrentListIndex()
GetCurrentListItem.s()
GetSourceFileCount()
GetPackedSize.q()
GetRawSize.q()
GetExtractedCount()
Free()
EndInterface