x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

HTML5 minimal pack, empty project

Hey, guys!

What are your best settings to have minimum pack size of an empty project?

my best results, for now, is approx. 150MB, which is not good as I know you can take it up to 10MB.

  • there is no starter content included, Plugins turned off, packaging settings>shipping for distribution, create compressed cooked packages, exclude editor content when cooking, in the list of maps is map associated with the project, html5 settings> compress files during shipping packaging

the project is attached here

any suggestions?

best, Mat

Product Version: UE 4.16
Tags:
emptyhtml5setup.zip (963.9 kB)
more ▼

asked Jun 18 '17 at 11:40 PM in Using UE4

avatar image

MJ_
1 2 3

avatar image juj Jun 19 '17 at 12:37 PM

Can you post what output file names and sizes that configuration gives you? It looks like compression might not be getting enabled even when selected. Also, is WebAssembly enabled? (That should output a file .wasm instead of a .asm.js)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Oh, when you have two files "foo.xxx" and "foo.xxxgz", then only the one with the "gz" suffix needs to be hosted. That is a compressed copy of the other file. The uncompressed version is present for debugging purposes, or if running via file:// URL or a quick-and-dirty debug web server that does not support compression (such as python -m SimpleHTTPServer).

There is a boolean variable in XX-HTML5-Shipping.html that can be used to explicitly toggle whether to load compressed or uncompressed versions of the files (find Module['locateFile'] function)

Here this means that the file x.symbols and x.wasm do not need to be copied on a web server, which reduces most of the size here. The file XX.data should already be precompressed by UE4 itself, so compressing it to a XX.datagz should likely not reduce the size any further (though if it does, you can manually do that as well)

more ▼

answered Jun 22 '17 at 01:44 PM

avatar image

juj
1.2k 15 4 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

alt text

Currently I am on 90MB. Any suggestions?

capture.png (36.8 kB)
more ▼

answered Jun 22 '17 at 01:10 PM

avatar image

MJ_
1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question