• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Optimizing map size with no imports?

Status
Not open for further replies.
Level 30
Joined
Jan 31, 2010
Messages
3,552
Any ways of doing it? I searched everywhere, and I couldn't find out what it takes to decrease it. My map is about 350 kb big, and someone told me (Can't remember who, sorry) that the map size can be drastically reduced by converting Gui to Jass. Saving up size is the thing I need the most, as I host it alone on Garena.
 
Level 9
Joined
Oct 11, 2009
Messages
477
Here's an optimizer from Vexorian http://www.wc3c.net/showthread.php?t=79326

It works by deleting unnecessary scripts left on your map. But be sure to have a backup since it locks your map which cannot be opened through the World Editor but can still be played. It can reduce the map file size for up to 35% according to my tests. I am using it for months and its quite good.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,286
Converting GUI to JASS can dramatically reduce the trigger script size (so its smaller than GUI even after optimizing) however triggers are usuallly small (unless your map is like SWAT AM or TKoK where there is 1 MB of triggering but thats jass already).

Optimizer helps compact GUI more than JASS though cause it will delete the GUI data (leaving only the script). Most of the size of GUI triggering is the GUI data for use in the editor only. Ofcourse, by switching to JASS you mean the script is more efficent so even though the gain is less than with GUI, the end result will be the same functionality for less lines of code.
 
Status
Not open for further replies.
Top