• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Reduce the map size

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
1. Remove imported content. Imported artwork is very big so removing it will greatly decrease your map size.
2. Improve compression on imported content. Lower bitrate audio or higher compressed images will be smaller.
3. Optimize the map before publication (hosting).
4. Improve trigger design. Using functions for comonly repeated routeines and systems for MPI instead of separate triggers will reduce the size of code.
5. Simplify the map, removing unneeded object fields.

1 and 2 make the largest difference.
3 makes a variable difference which can help for 1 or 2 more imports.
4 and 5 will only be a couple of KB atmost with 5 probably being bytes.

For 3. Using vexoirans optimizer on the final map (warning this will prevent it from opening in the edtior so make a backup) will free up a few hundred KB for complex maps.

The maximum map archive size (imports get compressed so only go by archive size) is 8 MB. Archive size is the size of the map file (not on disc as that is size to the nearest whole block).
 
Status
Not open for further replies.
Top