Page 1 of 2

editing units in protected map [help please]

Posted: June 9th, 2007, 3:34 am
by darkxion
I was trying to go through a process someone told me to edit units in a protected map w/o deprotecting it, something like, extract war3map.w3u, import into a new map, edit units, export file, import back into original map.
I was trying to change the mana regen on some units. But when I do this, and I try to play the map, I get an error saying war3map.w3u is corrupt, and WC3 crashes.

What I did - I extracted war3.map.w3u from the target map.
I opened WE, created a new map, and imported war3map.w3u, and changed the path from custom (war3importedfiles or whatever) to just the filename.
I saved, closed the map, and reopened it, and than edited the units as I wanted, saved, closed the map, extracted war3map.w3u, and than used winmp3master to reinsert the edited war3map.w3u, and overwrote the old one, than closed the map, and tried to play it in WC3

If anyone knows how to do this correctly, I could really use some pointers, please =)

Posted: June 9th, 2007, 3:48 am
by Xantan
delete attributes and you'll be fine.

Posted: June 9th, 2007, 3:59 am
by darkxion
Sorry for the the trouble, I'm new to this and it's a little hazy still.

Do I delete the attributes file from the map i'm reinserting the war3map.w3u into, or from the new map i use to edit the units in?

Posted: June 9th, 2007, 4:02 am
by Xantan
just delete (attributes) doesn't matter when.

Posted: June 9th, 2007, 4:14 am
by darkxion
What I meant is, from which map I delete the (Attributes) file.
Since I'm working with a test map that I import the war3map.w3u into, to edit the unit, and the original map, which I am putting war3map.w3u back into, to try and change. I bet I'm going to feel pretty stupid once I get this right. :lol:

I think I might've gotten it right except all the names proper names of the units are blank or say default string =x, eep..

Posted: June 9th, 2007, 4:22 am
by namespoofer
Delete the attributes in the map your extracting + importing aka the map your editing

Posted: June 9th, 2007, 4:23 am
by darkxion
I see, I shall try it, thanks to both of you, for your help and patience with my newbieness =P

Posted: June 9th, 2007, 4:37 am
by darkxion
Thanks for your help, it worked. There's one small discrepancy though =x All the names/proper names were erased, everyone has a blank name or default string, there isn't any way to fix that, is there?

Posted: June 9th, 2007, 4:46 am
by Xantan
get a full listfile and recover object data.

Posted: June 9th, 2007, 4:48 am
by darkxion
Eep, I pm'd right when you replied...as for the listfile, I can't seem to get a full one, I used MPQ Recover, Brute Force, Deep Scanning, and still came out with some unknown files when I opened the map in mpqmaster with the said listfile, so that is a dead end I guess XD.