Jump to content


Map Optimizers


  • Please log in to reply
22 replies to this topic

#1 Jewified

Jewified

    Twins incarnate

  • Forum Leaders
  • 3432 posts
  • Bnet Name:Jewified.
  • Bnet Realm:Azeroth

Posted 08 September 2006 - 06:55 AM

QUOTE(Hellmonja @ Sep 7 2006, 03:12 PM) View Post

i optimized my first map yesterday. like Chuckle Brother said, i should experiment on different settings and combinations. since things about map optimizers were pretty vague to me, and i'm sure that's the same with other 1st time mapmakers, i just thought i'd recount what i found out during my "experimentations". feel free to correct me if there are mistakes.

the optimizers in question are Vexorian's WC3 Map Optimizer and PitzerMike's Widgetizer. Both can be downloaded in wc3campaigns.net. let us look at these two individually:

WC3 Map Optimizer
This is a very good program to optimize your map with. It has a lot of cleaning options you can click in and a few extra ones such as changing the buffer size or adding comments thrown in. i'd highly suggest for 1st time users to read the README first before using this. Take time to understand everything and know what each option does. The README alone is worth mentioning because it not only says how to work the program but it also contains FAQs and a section about Widgetizer.

reading the README, i've found some options to be useful and some options to be rather risky. for first time map makers with a map that has a lot of triggers, i won't recommend checking these:

-Anti BJ
-Conditions
-Look for other script files to obfuscate

as stated on the README, these may cause some triggers problems. so for nooby's like me, it's not worth the risk. but adventurers and explorers of the unknown are welcome to try.

another feature it has is the New Buffer Size feature. if i understand correctly, this indicates how much space you reserve in the RAM for your map when it is being played. Blizzard's favourite buffer size is 4096 bytes. for larger maps, a bigger buffer can do wonders in terms of gameflow speed but keep in mind that it might cause problems with slower computers. best option for now is Auto-Detect.

another feature worth mentioning is the Clean SLKs option. although this is a good option for cleaning your map, it is not recommended for those who have custom SLK files imported in, such as custom ubersplats. some custom SLK files are having trouble with the Map Optimizer's cleaning method. so if have any custom SLKs imported in, uncheck the "Clean SLKs" option. (thanks to Chuckle Brother for pointing that out.)

Widgetizer
a good tool for optimizing maps. This can really squeeze your map into amazingly small sizes and incredibly faster lodaing times. but there is a catch. The problem with this tool is if you have a well terrained map and you check everything on the widgetizer, much of the doodads are changed. how? let's say they're just there but you just can't see them. so it would really make your map look desolate. to eliminate this problem, uncheck the following:

-Doodads
-Destructible

now that you've unchecked the two, another problem with it is the map isn't that small compared to a map optimized in WC3 Map Optimizer (let's call this WC3MO from now on). and the loading time isn't as fast either. i've tested this on a Pentium 3 Celeron 800mhz unit where WC3 lags and slow loadings are easily noticeable.

Experimentations
ok now i've tried some combinations and stuff. some people use WC3MO after Widgetizing the map. some just Widgetize and some just WC3MO. so which is better? it depends.

Widgetizing
like i've said, Widgetizer by far has the fastest loading time and smallest map size regardless of the catch. this is accomplished by checking everything. simple maps will benefit from this and maps with not much doodads and terrain beauty in it.

with these settings:

-doodads unchecked
-destructibles unchecked
-the rest checked

Widgetizer doesn't do much compared to WC3MO. but it will leave the doodads untouched.

WC3MO
The settings i've used in WC3MO is this:

-check Remove Useless Code
-check Merge Initializations
-check Order Strings To IDs
-check Shortest Number representations
-check Optimize string usage
-check Clean SLKs (given that i don't have custom SLKs imported in)
-check Remove Editor suffixes
-check Remove Editor-Only Files (crashes WE thus protecting your map)
-check Remove as much WE-only data as possible

with a 1.37mb map it reduced 16% of its size and turned it into 1.12mb. this is by far the smallest without much of a catch (unlike Widgetizer). there are also improvements in loading time but not the fastest as of late

Widgetizing+WC3MO
so if you have two great map optimizers, why not have them work together? two many cooks might spoil the broth, huh? anyway, if you want to achieve the best loading time, using WC3MO on a Widgetized map is the way to go. some options must be changed though:

Widgetizer - leave as it is just uncheck 'doodads' and 'destructibles'
WC3MO - uncheck 'Optimize String Usage' to avoid problems. also make sure you check 'Clean SLKs' (again of you don't have custom SLKs).

the end result is a slightly larger file but a slightly faster loading time.

WC3MO+Widgetizing
ok, bad idea. you'll just end up with an error message. Widgetizer just can't compile triggers optimized by WC3MO.

Verdict
so here's a summary:
Widgetizing: all checked - gives best size and loading time while making your map look dull.
Widgetizing: some unchecked - not so much of a nice result. if you have to chose just one optimizer to use, go with WC3MO.
WC3MO - best size without the catch. not the fastest loading time but it's only beaten by a few seconds. best for bnet maps.
Widgetizing+WC3MO - best loading time. slightly bigger file size than WC3MO (about 20kb difference). best for LAN maps.
WC3MO+Widgetizing - don't do it.

DotA's Loading Time
Even with the best settings and the Widgetizer and WC3MO combo it still doesn't beat DotA's loading time. considering it to be a map that is almost twice the size as mine, it still beats me by 20-25 seconds. what's DotA's secret? who knows. i suspect someone in TDA has developed their own secret tool. or DotA is programmed in a way that minimizes loading time. either way, when optimizing a map, don't compare it to DotA's. just look for a decent loading time.

Errors
reading Vexorian's README file can be very disturbing. there will be hints of possible error occurences and triggers being corrupted by the optimization process. that's why we didn't check 'Anti BJ' and 'Conditions' to play it safe. WC3MO and Widgetizer are still works in progress. they are still making improvements on the programs to better serve mapmakers.

when it comes down to it, it's the map that is most error-free that counts. no matter how big or small or how long it takes to load, a good working map always wins the day. trying to find errors in an optimized map can be pretty daunting. a good working trigger can be made bad through optimization. so if you have a heavyly triggered map, you might wanna check every trigger after optimization. this, i guess, is not worth the effort. but as a study case consider these two maps. they're both the same but with different methods of optimization. one used just WC3MO (with the (Vex) suffix) and the other the Widget+WC3MO combo (with the (WV) suffix). i haven't had time to test both optimized versions and tell which has less errors but it would be a great help if you can beta test it for me and see for yourself which optimizing method is the best.

[attachmentid=32617] - WC3MO
[attachmentid=32618] - Widgetizer + WC3MO

so all in all it comes down to the fact that this is just an ingenius way of promoting my map. ^____^ but all the same, all accounts here are true and i hope people will find it uselful. happy mapmaking!...



QUOTE(Chuckle Brother @ Sep 7 2006, 05:29 PM) View Post

Just something to note.

SOME Slks dislike Vex's cleaning method(moving whitespace, etc). I encountered this issue with an old map that had some custom ubersplats(hence the imported SLK). So if you have an error in a runthrough and have custom slks, I HIGHLY recommend you try it without the slk cleaning option checked.

Downloads:
Credits go to Hellmonja and Chuckle Brother.

Edited by Chuckle Brother, 04 November 2006 - 09:38 AM.


#2 fortuneNext

fortuneNext

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 417 posts
  • Bnet Name:fortuneNext
  • Bnet Realm:Northrend

Posted 10 September 2006 - 10:15 AM

Hmm I imported Sound files, so the optimizers mage the file BIGGER!!! But I want map protection as far as optimized map! What I have to do now?

#3 tikoymann

tikoymann

    Newbie

  • Members
  • Pip
  • 18 posts
  • Bnet Name:dfsdfsdfsd
  • Bnet Realm:none

Posted 10 September 2006 - 07:27 PM

as a side note, all pre-placed units, regions, globalvars, imports, initialization trigger, also contribute to loading time. the longer they are, of course the longer the loading time. i think both the optimizers don't fix it, after i tried (with the exception of course with vex's optimizer parsing the blizzard.j and common.j, i haven't tried that yet) but of course, the object editor's objects are the major source of it.

Edited by tikoymann, 10 September 2006 - 07:28 PM.


#4 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 10 September 2006 - 10:49 PM

QUOTE(fortuneNext @ Sep 11 2006, 02:15 AM) View Post

Hmm I imported Sound files, so the optimizers mage the file BIGGER!!! But I want map protection as far as optimized map! What I have to do now?


you mean the when you added sound files and optimized it, the map with the sounds is smaller than the optimized map with the sounds? what did you use, Fortune?...

#5 fortuneNext

fortuneNext

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 417 posts
  • Bnet Name:fortuneNext
  • Bnet Realm:Northrend

Posted 11 September 2006 - 04:07 AM

Your Combo:
1. Widgetizer
2. WC3MO

#6 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 11 September 2006 - 04:52 AM

ah. did you uncheck "Remove Unused Objects"?...

#7 fortuneNext

fortuneNext

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 417 posts
  • Bnet Name:fortuneNext
  • Bnet Realm:Northrend

Posted 11 September 2006 - 05:22 AM

no

#8 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 11 September 2006 - 10:17 PM

wierd. it isn't suppose to get bigger. although there are certain instances where the optimized file is bigger than the original. but from what i've read, this can caused by Widgetizer. you can try to optimize it using Warcraft 3 Map OPtimizer only. or if that doesn't work you can send the map to me and i'll try and optimize it for you...

#9 sksenapati

sksenapati

    Newbie

  • Members
  • Pip
  • 3 posts
  • Bnet Name:sks
  • Bnet Realm:none

Posted 03 November 2006 - 11:25 PM

can u tell me where to d/l the WC3MO from... coz the forum where the links are posted isn't working at the moment.

thanks smile.gif

Edited by sksenapati, 03 November 2006 - 11:26 PM.


#10 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 04 November 2006 - 02:54 AM

i don't know anymore links, sori. you could try wc3sear.ch. WC3Campaigns is always out...

#11 Chuckle Brother

Chuckle Brother

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 628 posts
  • Interests:I'm the OneTrickPwnie
  • Bnet Name:Chuckle_Brother
  • Bnet Realm:Azeroth

Posted 04 November 2006 - 09:39 AM

Update:

Links added.

#12 Skeedish

Skeedish

    Novice

  • Members
  • PipPip
  • 26 posts
  • Bnet Name:Skeedish
  • Bnet Realm:none

Posted 25 November 2006 - 07:30 AM

Whats the best map protector to use?

#13 TrabajarTrabajar

TrabajarTrabajar

    Pirates > Ninjas

  • Members
  • PipPipPipPipPip
  • 1699 posts
  • Bnet Name:moskva
  • Bnet Realm:none
  • Potential:R

Posted 27 December 2006 - 11:15 PM

QUOTE(Skeedish @ Nov 25 2006, 10:30 AM) View Post

Whats the best map protector to use?

Probably Vex's optimizer, seeing as how it chops the files into a billion pieces. It's rather difficult reassemble a map after that. Doable, but difficult.

#14 Mr. Pugna

Mr. Pugna

    chance + time + dead particles = life?

  • Members
  • PipPipPipPipPip
  • 858 posts
  • Interests:DotA!
  • Bnet Name:MrPugna
  • Bnet Realm:none

Posted 05 February 2007 - 12:09 AM

I have a problem with the Vex's Optimizer. My map's weight is 1.5kb. After checking the option "Remove only we files", the map size increases to 1.2gb.

No im not crazy, and i have only cheked that option.

what the..?

#15 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 05 February 2007 - 05:30 AM

whoa! maybe you better uncheck that. yes, Vex has mentioned something like this, the file being bigger than before. but i don't know which option he mentioned. the guide i did is actually just a summary. Vexorian made a README that came with it. i just based it there along with some of the results i recieved while optimizing my maps.

if you like you can send Vexorian the map and explain the bug to him so he could fix the bug in his optimizer...

#16 Zapat0

Zapat0

    Veteran

  • Members
  • PipPipPipPip
  • 225 posts
  • Bnet Name:Martin
  • Bnet Realm:Lordaeron

Posted 12 February 2007 - 11:28 AM

When i download Wc3mapoptimiezer i open the folder where it is but i cant open the .exe to install it . what can i do ?
i tried downloading three times , the map gets downloaded but the .exe cant be opened .
When i try to open .Exe a window pops up that says :
This application has failed to start beacause SFmpq.dlll was not found . Re-instaling the application may fix this .

WHAT SHOULD I DO ???

im desesperate sad.gif

#17 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 15 February 2007 - 05:22 AM

aw! try this:

[attachmentid=40601]

this is exactly the same map optimizer i'm using. just unzip into a folder and click the exe file. if it still causes problems it might have something to do with your unit's system...

Attached Files



#18 Zapat0

Zapat0

    Veteran

  • Members
  • PipPipPipPip
  • 225 posts
  • Bnet Name:Martin
  • Bnet Realm:Lordaeron

Posted 15 February 2007 - 07:57 AM

there thx.

#19 jawawaQ

jawawaQ

    earth-asia-southeast-philippines-visayas-cebu-address?!

  • Members
  • PipPipPipPipPip
  • 1169 posts
  • Interests:Sex
  • Bnet Name: 
  • Bnet Realm:none
  • Potential:C

Posted 11 June 2007 - 05:08 PM

Is there a way to reverse it?
If you accidentally locked the original file. 8=D

#20 Hellmonja

Hellmonja

    Enthusiast

  • Members
  • PipPipPipPipPip
  • 833 posts
  • Interests:Currently: Rick James
  • Bnet Name:Hell
  • Bnet Realm:none
  • Potential:C

Posted 13 June 2007 - 01:39 AM

there's no way top reverse it. maps are spliced into many pieces after optimization. the best you could do is make sure to have a copy when optimizing...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users