You would need some manual JS code to use zee - get the file off the
network, decompress, then add to the filesystem using the emscripten
filesystem API, etc.

If you can make a testcase of the problem you're seeing, I'd like to run a
profiler on that.

- Alon


On Tue, Sep 23, 2014 at 8:10 PM, Rayudu <[email protected]> wrote:

> Crashes on Chrome and firefox shows the unresponsive script popup.
> Can you point me to some samples for compiling/compressing/decompressing
> data using gzip with my app?
>
> I looked at zee.js. Didn't quite understand how I would compress .data
> file and uncompress them. As .data files (and corresponding js files) are
> auto-generated by file packager. Could please explain?
>
> On Tuesday, September 23, 2014 5:23:32 PM UTC-7, Alon Zakai wrote:
>>
>> 150MB is a lot, but it should still work. In which browser did it fail?
>> We should file bugs.
>>
>> We don't have special support for compression, but it is easy to compress
>> your data with gzip and to compile gzip with your app, and decompress it at
>> runtime. You can also use zee.js from normal JS.
>>
>> - Alon
>>
>>
>> On Mon, Sep 22, 2014 at 10:52 PM, Rayudu <[email protected]> wrote:
>>
>>> Hi,
>>> I need to preload large amount data(~150MB of audio, binary texture
>>> data) before actually calling main. This is required data for the app to
>>> run. I used the file packager to generate .data files and tried to load
>>> them. But, this quickly became problematic (unresponsive script warnings,
>>> browser killing the page, app crashing etc.).
>>>
>>> Is there any support for data compression in emscripten? Any suggestions
>>> to solve this problem?
>>>
>>> Thanks!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "emscripten-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to