Reduce Map Size Inflation

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
ZeratuelX
Newcomer
Posts: 11
Joined: July 23rd, 2008, 4:54 pm
Location: Florida

Reduce Map Size Inflation

Post by ZeratuelX »

Hello, first off I would like to say how nice this forum is. It helped me start opening up maps and adding in JASS, which I also recently learned.

When I go to reinsert the war3map.j and war3map.wts I notice the file size increases much more than I want to. I'm trying to edit some borderline 4MB maps and am having trouble inserting the files so that is stays under the limit. In fact the edited JASS file is now smaller than the original JASS file (thanks to Vex's optimizer). Of course when I reinsert the even smaller file the map size still goes over the limit. Is there any way to stop this from inflating so much or maybe reducing the map size afterwards? I would appreciate any help or points in the right direction. I have used Vex's optimizer on the new map but I lose files like war3mapPreview and others.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1759
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 45 times
Been thanked: 8 times

Re: Reduce Map Size Inflation

Post by Vegas »

"Heavylock" may help you.
mapler600
Newcomer
Posts: 17
Joined: October 27th, 2008, 7:57 am

Re: Reduce Map Size Inflation

Post by mapler600 »

when i using it it come out a error say :
unable to create tasklist caould't find any inside MPQ

the listfile use MPQ recovery make right ?
if that right i found a problem ....
the war3 file picture was delted and a BIG '?'
and the chracter cannot be seen and the minimap delted ?
the map link is in here thks :D

http://forum.wc3edit.net/map-deprotecti ... t7906.html
User avatar
ZeratuelX
Newcomer
Posts: 11
Joined: July 23rd, 2008, 4:54 pm
Location: Florida

Re: Reduce Map Size Inflation

Post by ZeratuelX »

Heavylock? I've never heard of it. What does it do and where can I get it?
User avatar
BlueBean
Forum Staff
Posts: 237
Joined: October 24th, 2008, 8:37 am
Title: 87

Re: Reduce Map Size Inflation

Post by BlueBean »

Download it here.
HeavyLocker
User avatar
ZeratuelX
Newcomer
Posts: 11
Joined: July 23rd, 2008, 4:54 pm
Location: Florida

Re: Reduce Map Size Inflation

Post by ZeratuelX »

Thanks! While reading the readme file it appears it is supposed to be used with unprotected maps, will I be able to use this to reduce the size after I add in the war3map.j and war3map.wts via MPQ Master?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Reduce Map Size Inflation

Post by Senethior459 »

After you overwrite anything in MPQMaster, don't forget to hit Options>Compact (Flush).

Yes. HeavyLocker works on protected maps, too.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
User avatar
ZeratuelX
Newcomer
Posts: 11
Joined: July 23rd, 2008, 4:54 pm
Location: Florida

Re: Reduce Map Size Inflation

Post by ZeratuelX »

Thank you for your help thus far. I tried using HeavyLocker on my map with default settings but when i hit Save as I get this error:

Code: Select all

ERROR:

Unable to create tasklist, couldn't find any file inside MPQ.
Also I tried using Operation>Compact(Flush) but it does not appear to affect the file at all. The size does not decrease and I don't see any noticeable changes.
Last edited by ZeratuelX on November 13th, 2008, 1:11 am, edited 1 time in total.
mapler600
Newcomer
Posts: 17
Joined: October 27th, 2008, 7:57 am

Re: Reduce Map Size Inflation

Post by mapler600 »

same problem anyone help plase ?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Reduce Map Size Inflation

Post by Senethior459 »

Hmm... Never had that particular error.
Lemme show you how to do it.

First, get a listfile for the map, using MPQRecover. Then, have RMPQEx use that listfile to open the map, hit Auto Search a few times, and then hit Extract Listfile. Then, set HeavyLocker's Options to use that listfile, and any others you may have.
Spoiler:
Image
Then, hit OK, and choose these options:
Spoiler:
Image
Then hit Save As..., choose a location, and hit Save. It will then compress it, and you should get a message like this:
Spoiler:
Image
If it says something that's obviously way too small, like 0.001 percent or something, try again, or ask someone like me to help. On the other hand, if it gives you something around 98.995, try again, or ask someone like me to help.
Hope that all works for you!
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle