• 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.

Further reducing map size

Status
Not open for further replies.

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
Hello. I have a small problem. My map is 6 MBs big, and for my home page for it, which is made in weebly, it needs to be 5 MBs max. So, I need to reduce that 1 MB or more, cause new versions will come, so it should be max 4.5 MBs. I optimized music using Audacity, and optimized map using map protector from 7 MBs, to 6 MBs. Music was 5.5 MBs, now it's 2 MBs, and I think I cannot reduce it anymore. I also got custom UI, which is 1 MB I think. Just please, don't post like, delete something you don't need, cause I allready done that many times, and last time, I wasn't able to find anything I don't need. If anybody can or knows how to help, please post.

+Rep and Credits.

Oh, and 1 more question, can I post to idea forums my map, and ask what should I add or something similar? Is it against rules or something?
Thanks.
Will give + rep for this question too =D
 
Level 9
Joined
Dec 15, 2009
Messages
523
i tought you were defskull

dont steal people's avatar


btw about your problem like rogue teddybear said use filesharing website and link it to your map

and yes you can post it in idea forum
 
Pfff, what the hell are you talking about? It's just an avatar :p

So, some hints:
-mdx:
I think MdlVis can compress models
Sometimes using Magos Model Editor can remove alot of unused bones and textures etc.
Use internal cameras if you're desperate.
-blp/textures:
BLP Lab has an optimizer
Save the .blp as 80%, no(or small) visible changes, saves alot of space
No .blp should ever be over 256x256 in pixel size, unless you need it for a big model or its for you're loading screen
If you have a war3mapPreview, sometimes you can shrink the .tga to 128x128 and there won't be much difference
Use Magos Model Editor to create a 512x512 loading screen
Use .blps over .tgas whenever possible
-Sound/Music:
Always use .mp3s, also Vexorian's Optimizer increases map size if there are .wavs
Sometimes it's better to not include it at all
-Triggers:
If you use GUI, save a copy, and turn all your GUI into JASS
Remove all unnecessary variables and actions
Most of the time, you can compact triggers with the same events with If/Then/Else

Silly, what do you think the Idea Factory is for?
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
y, I know that Idea factory is for ideas, but I didn't know that it's for such kind of ideas :D
Thank you guys, and 1 more question. What can cause a map to increase Memory Usage every second? Like, every second it increases for about 200 KBs, which will lead to crash after some time. So, any ideas what's wrong?
 
Level 20
Joined
Oct 21, 2006
Messages
3,230
Memory leaks
derp

If you for an example make a new unit out of Footman and change any field in the Object Editor. Well I dunno how to explain this but... Customized (purple) fields in the Object Editor take more space than default (black) fields. So try to keep as many fields as possible in the Object Editor on their default values. d:

But if you change data of default units like Footman, Peasant... Without making a new unit I think it takes about same as new unit. :+

And I am pretty sure that you still have some not so important imports in your map.
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
Well, let's say that 750 MBs are just the map (Triggers, Object Editor, Trees, Doodads, Units, Terrain....), 1 MB is interface, and 2 MBs is music, it's 3.75 MBs that I really need, and that I won't delete. So yeah, there could be something else I don't need.

About object editor, I didn't ask to save 50 kbs of memory, I asked 1.5 MB, and object editor cannot help it. Also, I allready have some things in default.
 
Level 9
Joined
Dec 15, 2009
Messages
523
but remember using blp lab to compress ur skin or icon make sure it u hav a backup files sometimes the quality is too low and the texture can realy gets fucked up..
 
Level 12
Joined
May 21, 2009
Messages
994
Well you said you had music, which is proberbly the thing that takes most space. You can however convert the music files to .midi files (google it) and the use this Jass Line for creating the sound:
JASS:
call CreateMIDISound(string soundLabel, integer fadeInRate, integer fadeOutRate)
and then I'm pretty sure you can just play it after that.

The good thing is: It has a very very low filesize. But the bad things is that its abit harder to use and its a 2D sound only. But since its music it doesn't matter if its 2D sounds.
 
Status
Not open for further replies.
Top