Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

HTML5: Gzip support for games? Webassembly compression / WESM

A topic by Draugen created May 10, 2020 Views: 846 Replies: 1
Viewing posts 1 to 2
(+2)

Heyo there, I've been looking around a lot, and whenever the topic of gzip compression comes up in regards to uploads to Itch, it's hard to find any concrete info other than the occasional statement on github, or questions similar to mine that have gone unanswered.

I understand it that Itch has support for gzipped files / compresses some files, but it's hard to find any concrete info on this.
This is particulary in regards to .wesm files, which are widely used, and .data which might be Unreal-specific.

I've been experimenting a bit with a basic HTML5 upload from Unreal, and no matter what combination of ways I do it, there is no way to compress files and have them actually be delivered on Itch.  (They work fine locally, however when trying to use them on itch simply means getting a polite message that the server isn't set up to deliver gzipped assets.)

Now, it's entirely possible I'm just missing something, since there isn't much documentation in regards to uploading compressed games, but is it possible at all to upload an Unreal Engine game that's been compressed? 
Compressing either the .data, (assets) or .wesm, (codebase) for it makes it fail to load on Itch, though it works just fine locally.
(.wesm.gz / .wesmgz, .data.gz / .datagz)

I ask because with a baremetal, everything cleaned out project with Unreal 4.23 the final size is around 55-60MB.
With basic gzip compression, that drops to ~20MB.  A significant reduction in size for a small-scope game.  

There's been questions about this before, but with no response:
https://github.com/itchio/itch.io/issues/394 (at the end of this issue tracked on github.)
https://itch.io/t/598164/how-to-compress-webassembly-game-code (a question from last fall.)

__
To clarify, I'm not asking for the ability for Itch to compress these for me, simply to include the necessary header information so that they can be delivered properly. 

(1 edit)

I came here looking for this.

Simplifying my question:

Are these highlighted Unity options supported on itch.io? (currently using Unity 2019.3 but can switch if necessary)


This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.