Thanks, great idea.
I've developed a new zLib function able to extract a file from a ZIP file and return it into a string buffer:
Will be present in next release.string sBuffer = ZLib_ExtractToString(ZIPFileName, FileNameToExtract)
Ciao
Eros
perhaps it could be possible to put needed resources for a script (as media\, fonts\ etc.) into a *.zip-file and unzip the needed files during runtime directly to memory.
(in Purebasic users can do nearly that).
Like
...?Uses "zLib" #Include Archive "media.zip" ' (located obviously to app_scriptpath) String myBMPData = zLib_Load( { ["media.zip",] "greenButton.bmp" | "media\greenButton.bmp" } )
later include the zip-archive to
#Bundle Archive "media.zip" ...
Last edited by ReneMiner; 11-12-2015 at 12:10.
I think there are missing some Forum-sections as beta-testing and support
Thanks, great idea.
I've developed a new zLib function able to extract a file from a ZIP file and return it into a string buffer:
Will be present in next release.string sBuffer = ZLib_ExtractToString(ZIPFileName, FileNameToExtract)
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Very nice, i guess it will become handy
I think there are missing some Forum-sections as beta-testing and support
Bookmarks