HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

WarCraft III Map Browser

03-07-2008, 11:47 AM#1
Danat
Author: Danat

Introduction: I didn't plan to share this tool since I made it quickly just for one task - to compare the difference in the map's data with and without specific Widgetizer option. But after I've cleaned up the code and added some UI improvements, I've decided that it might be useful for other people, so here it is.

What it does: Browses inside wc3 map and shows you the internal data of warcraft datafiles, such as slk, w3a, w3u, w3t, in an easy-to-read format.

[IMPORTANT] REQUIREMENTS:
Since this program is written in C#, you need to have .NET Framework 2.0 installed on your computer (see link below).

Additional file:
.Net Framework 2.0 download page (dotnetfx.exe - 22,4 mb)
Some programs install FW2.0 automatically in order for them to work, so you might already have it installed on your pc.

Latest changelog:
- fixed some bugs in my w3t and w3u reading functions, so that the custom table is now displayed properly.
- added a "show used objects" feature which allows you to check which objects are connected to each other via their properties and thus loaded by the warcraft. This can be useful to detect trash and undesired references in your object database.
- fixed some bugs in searching by ID in "Used Objects" form.
- now you can also see unused objects

Download:
WC3MapBrowser v1.5.rar

Source files:
WC3MapBrowser_v1.3_source.rar
Attached Images
File type: gifwc3mbscreenph8.gif (31.1 KB)
Attached Files
File type: rarWC3MapBrowser_v1.3_source.rar (198.1 KB)
File type: rarWC3MapBrowser v1.5.rar (68.5 KB)
03-07-2008, 12:09 PM#2
cohadar
Mpqmaster?
03-07-2008, 12:27 PM#3
Rising_Dusk
All files need to be attached to the first post, including pictures.

EDIT:
It doesn't even seem to work. For any .w3x I load, it only shows '3 files for browsing', then it always says there are 0 objects within those files.
Zoom (requires log in)
Attached Images
File type: jpgRawr.JPG (28.5 KB)
03-07-2008, 12:36 PM#4
Danat
okay attached the image.

@cohadar
mpqmaster only provides access to files, while this tool displays internal structure of object data files. if viewing raw binary data inside w3a (for example) is fine for you, then you don't need this tool.

@Rising_Dusk
give me the map file you tried to browse and ill check it.

btw it scans only for specific standard object data-files (no *.blp or stuff like that), so custom files inside the map will not be displayed.

EDIT: Okay, I've found out the reason. Currently it supports only formatId=1 of w3* files. Gonna check on specification of formatId=2 and then fix it if possible
03-07-2008, 12:48 PM#5
Rising_Dusk
Quote:
EDIT: Okay, I've found out the reason. Currently it supports only formatId=1 of w3* files. Gonna check on specification of formatId=2 and then fix it if possible
Cool, it wasn't even showing SLK or TXT files for any of the several thousand maps in my download folder. I really didn't want to have to upload them all. xD
03-07-2008, 12:56 PM#6
Danat
Quote:
"it wasn't even showing SLK or TXT files for any of the several thousand maps in my download folder"
i would still want to have a look at ONE of those map. the bug i've found was for w3a,w3u files, not for slk or txt.
03-07-2008, 01:23 PM#7
Rising_Dusk
Here's one of them that wouldn't work, I just picked a random one in my DL folder and tested it. Still shows no SLK or TXT or anything, just the w3u and w3a.
Attached Files
File type: w3x(4)BurbenogTDv2.32.w3x (322.4 KB)
03-07-2008, 01:31 PM#8
Danat
Updated attachment to version 1.2.

@Rising_Dusk
that's because that map doesn't have any slk or txt. Open that map in mpqmaster if u want to check it out :).
03-07-2008, 01:48 PM#9
Rising_Dusk
Still, I should at the very least be able to browse the w3a file like your example in the first post.
03-07-2008, 01:54 PM#10
Danat
Yes you should be now. I've uploaded new version. Try it out
03-07-2008, 06:52 PM#11
emjlr3
this is actually a really neat program, takes the hassle out of needing to open individual parts of the .w3x with .txt viewers

very neat, well done
03-07-2008, 07:41 PM#12
Tide-Arc Ephemera
Just curious... but isn't this a potential map unprotector?
03-07-2008, 09:03 PM#13
The Elite
only one way to find out :D. Ill test to see if it unprotects.

EDIT in a way, it deprotects but in another way it doesnt, because it doesnt display the war3Map.j file or any imported files but still displays everything else, so i dont know if its still classed as deprotection.
Below is the same map opened in both Mpqmaster and WarCraft III Map Browser, with Warcraft 3 map browser in the forground and MpqMaster in the background:
Hidden information:
Zoom (requires log in)
Attached Images
File type: pngScreenie.png (73.7 KB)
03-07-2008, 10:23 PM#14
moyack
Quote:
Originally Posted by Tide-Arc Ephemera
Just curious... but isn't this a potential map unprotector?
No it doesn't deprotect, because it only shows the data, you can't edit it in any way.

I see one advantage, it's made in .net, therefore it can be passed on Mono, therefore this application can be run on linux. I think Vex opinion is mandatory here.

Personally I find this tool very useful in order to analyze how a map is done, without ripping them.
03-08-2008, 07:37 AM#15
Danat
Wow, I didn't expect so much positive feedback :).

About deprotection:
@The_Elite
if you would specify standard war3 listfile (mpqmaster\listfiles\Warcraft III.txt) when opening that map in mpqmaster, then you would see even more files than my tool shows you, so it's not really a deprotection since all those files are well known and can easily be viewed in any mpq-viewer with the use of the standard WarCraft III listfile.

EDIT: tested it on some maps. my tool crashed when displaying contents of AbilityData.slk file. Gonna check on that when i will have free time.