HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Does Anybody Know The Format of (attributes) File?

12-12-2002, 11:17 PM#1
Extrarius
I know it stores checksums on some of the files in the w3m but every time a map is saved, even if nothing is modified, the entire attributes file changes.

Also, Zepir's tutorial on file formats doesn't describe the format of that one file.
12-13-2002, 06:23 AM#2
Electromancer
Atributes is just there, dont worry about it theres nothing in it you need.
12-13-2002, 07:56 AM#3
Extrarius
Actually, there is. I'm working on a map protector, and one of its functions is to obfuscate the .j file in a map. The (attributes) file stores a checksum on some files and the jass script is one of them. Warcraft declares the script invalid if it doesn't match the checksum, so I need to know what field to update and how.
12-13-2002, 11:35 PM#4
DemonicSoul
are u the one making the protector thats impossible to crack?
12-13-2002, 11:43 PM#5
Extrarius
I'm making a new protector, yes.
Impossible to crack? Far from it.

Since warcraft 3 has to be able to get the information out of the map, there are a lot of restrictions on what can be done to a map file to protect it. Because of those restrictions, its impossible to make a perfect map protector. My new protector just does some stuff that older protectors dont do to make it a bit better.
And it has a nifty interface =-)
12-14-2002, 09:44 AM#6
BlacKDicK
All I know of "(attributes)" is this:

DWORD unk1;
DWORD unk2;

Then we have 12 bytes for each file on the mpq this "(attributes)" has. Don't know if he have an array of UDTs (12 bytes) , maybe 3 arrays of dwords, maybe something else.

I guess w3m open ok, even without a "(attributes)", am i wrong?
12-14-2002, 12:07 PM#7
Electromancer
All thats ever in maps that are protected is the .wtg file and whatever spells and such that they added. Attributes doesnt need to be in there.