Category:W3M Files
From Source Peek Wiki
A W3M file is a Warcraft III Map file (AKA Warcraft III Scenario in the World Editor). It's just a MPQ (using a "new" compression format) with a 512bytes header. Sometimes, for official W3M files, it uses a footer of 260 bytes for authentification purposes.
[edit]
Header
The header is a fixed 512 bytes. It is right padding with 00 bytes until the size is reached.
| Type | Description | |
|---|---|---|
| char[4] | file ID (should be "HM3W") | |
| int | unknown | |
| string | map name | |
| int | map flags (these match the flags in war3map.w3i) | |
| int | max number of players |
[edit]
Footer
The footer is optional and not always present.
| Type | Description | |
|---|---|---|
| char[4] | footer sign ID (should be "NGIS" == 'sign' reversed) | |
| byte[256] | 256 data bytes for authentification. I don't know how they are used at the moment. |
The MPQ part can contain the following files:
| Filename | Description | |
|---|---|---|
| (listfile) | list of files stored in the w3m file | |
| (signature) | signature of the w3m file | |
| (attributes) | attributes of files in the w3m file | |
| war3map.w3e | Environment | |
| war3map.w3i | General Map Information | |
| war3map.wtg | Trigger Names | |
| war3map.wct | Custom Text Triggers | |
| war3map.wai | Artifical Intelligence | |
| war3map.wts | Trigger String Data | |
| war3map.j | JASS2 Script | |
| war3map.shd | Shadow Map | |
| war3mapMap.blp | Minimap Image | |
| war3mapMap.b00 | ||
| war3mapMap.tga | ||
| war3mapPreview.tga | ||
| war3map.mmp | Menu Minimap | |
| war3mapPath.tga | ||
| war3map.wpm | ||
| war3map.doo | Doodad file for trees | |
| war3mapUnits.doo | Doodad file for items and units | |
| war3map.w3r | Trigger Regions | |
| war3map.w3c | Cameras | |
| war3map.w3u | Custom Units | |
| war3map.w3s | Sound Definitions | |
| war3map.imp | Imported File list | |
| war3mapImported\*.* | Any files imported into World Editor, also defined in war3map.imp |
[edit]
Original Credits
- A big thanks to Guign Valentin for letting us move this into the Wiki.
- Thanks to Justin Olbrantz (Quantam)(Inside MoPaQ), Andrey Lelikov (LMPQ API) and ShadowFlare
- Special thanks to BlackDick, DJBnJack, PitzerMike, StonedStoopid, Ziutek and a few others.
Articles in category "W3M Files"
There are 19 articles in this category.
W |
W cont. |
W cont. |
