You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
When packaged HTML5 can now handle being hosted on servers that don't support static compression - done by removing explicit requests for compressed files. Compression requires correct server setup. htaccess file included in package deploy to make this easier. Changed HTML5LaunchHelper to switch between compressed/uncompressed files when uncompressed files do/don't exist. [CL 2691701 by James Moran in Main branch]
This folder contains pre compressed files ready for deployment, please make sure to use the shipping build for final deployment.
Files Required for final deployment.
---------------------------------
*.js.gz -compressed javascript files.
*.data -compressed game content
*.mem -compressed memory iniitialization file
*.html -uncompressed landing page.
*.symbols - uncompressed symbols, if necessary.
Local Testing
-------------
run HTML5Launcher.exe (via mono on Mac) to start a web sever which is configured to serve compressed files on localhost. This is not a production quality server.
add -ServerPort=XXXX to the command line if necessary to change the serving port. Default port is 8000.
How to deploy on Apache
------------------------
Add the following in .conf or .htaccess file. ( edit the directory name accordingly )
<Directory "${SRVROOT}/htdocs">
AddEncoding gzip gz
</Directory>