How to achieve web player like compression in standalone?

Hey guys, I’m wondering how its possible to force a web player level of compression to standalone desktop player

Its almost like magic, web player crunches down to 20mb while desktop is 143mb and for the purposes of prototyping/testing looks exactly the same. Any idea how I can force such major compression, theres so much space being used for no reason it seems.

3 Answers

3

I was confused at the size disparity too once then I tried zipping the deployed folder and it became almost the same size as the web player version.

It makes it much easier to send around in that state, it will just need to unzipped when you receive it. Then run the executable.

I guess the web player simply compresses the resources file

I was confused at the size disparity too once then I tried zipping the deployed folder and it became almost the same size as the web player version.

It makes it much easier to send around in that state, it will just need to unzipped when you receive it. Then run the executable.

I guess the web player simply compresses the resource files

compress the created exe and data files to zip or better tar gz file format or rar format. It will be a little bigger than web player cause unity engine’s own code is in your desktop app but for web player exports it’s in the installed web player so the .unity3d file only contains the data which contains your game logic code and assets.