• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Where the heck is the .mpq?

Status
Not open for further replies.
Level 4
Joined
Jan 12, 2010
Messages
38
I want to extract some files from War3.mpq and War3x.mpq (specifically the campaign maps, so I can look at how Blizzard did certain triggers, &c.), but I can't for the life of me find the .mpq files. I've opened the .mpq before, and I was sure they were in the main Warcraft III install directory (C:\Program Files (x86)\Warcraft III), but nope. Nor are they in Documents\Warcraft III with all the custom maps. So where the heck are they?
(I'm running Warcraft III version 1.30.)
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,192
So where the heck are they?
The MPQ files are inside the CASC storage. That said they are nothing more than CASC VFS files now so probably not what you want. The MPQ CASC VFS files map relative file paths to the encoding keys that can be used to extract the file data from CASC storage.

Or you could just use CASCViewer and extract the files with that as it handles CASC storage file extraction and VFS mounting automatically, giving you a nice clean folder based file system to browse with the MPQs being like any other folder.
 
Level 4
Joined
Jan 12, 2010
Messages
38
Ok, that explains why I couldn't find the MPQs, thanks. :)
So I guess the second question is, how do I wrestle a campaign map out of this CascView tool? Because I can't make head nor tail of it. For a start, I want to open the first map of the RoC Orc campaign. I looked through most of the file structure, and thought I had found it in (zhtw-war3local.mpq/maps/campaign/Orc01.w3m), but when I extracted that I just got a folder called Orc01.w3m containing a handful of files of formats I don't recognize. I need a map file I can open in the editor, and I can't for the life of me figure out how to get that.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,192
ut when I extracted that I just got a folder called Orc01.w3m containing a handful of files of formats I don't recognize.
You got a folder containing the map... Maps are MPQ files with a variety of differently formatted files inside it. For example the .w3e file is the terrain mesh file that describes the map terrain such as the water and ground mesh heights, tile type, cliff type, cliff height, map size, etc.
I need a map file I can open in the editor, and I can't for the life of me figure out how to get that.
So bundle the files into a MPQ, and open it with World Edit. If a blank MPQ made by MPQEdit does not work you can get a blank map and replace its content.
 
Level 4
Joined
Oct 9, 2015
Messages
24
A bit late but I can give exact instructions, tested and working. This thread is still a top google result for extracting warcraft 3 maps.

1. download Casc Viewer Casc Storage - Main page
2. Run the viewer and open your Warcraft III directory. (Never run the game with Casc viewer open, it corrupts the data files. If by accident you do, run Warcraft III Launcher and repair install)
3. Navigate to EnUs-war3local.mpq, or whatever your preferred country localization is.
4. Navigate to maps and either Campaign or Frozen throne.
5. Right click and Export the entire map folder to a location of your choice.
6. Close casc viewer.
7. Run worldedit and drag and drop the entire map folder into Worldedit.
 
Level 4
Joined
Oct 9, 2015
Messages
24
Making a second copy you work from is usually the safest answer, yeah. This comes up a ton for me doing modding in all kinds of games. Also means you don't have to worry about file use conflicts.
 
Level 4
Joined
Aug 4, 2011
Messages
71
Which tools are CASC aware? I'm struggling with texturing and wrapping, and the tools i am using are now outdated. Which ones do i need to switch to?
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,192
Bump. Do I have to extract war3.mpq and depreciated.mp3 other than the local mpq?
Depends on what you want to do.

If you mean extract them from the CASC local storage then probably not. Since those files a CASC TVFS files which describe the folder layout and not MPQ archive files. They have no meaning outside of interfacing with and looking up files from the CASC local storage.
 
Status
Not open for further replies.
Top