ReneMiner
11-12-2015, 12:01
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" ...
(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" ...