Overview and Setup

Overview and Setup
This project attempts to be an open source remake of the game program portion of the Warcraft III game. You cannot play it without a Blizzard Warcraft III installation. You can get the current build here:
Warsmash Mod Engine (Alpha)

As noted on that page, for old 1.22-1.26ish Warcraft III installations you can probably put the mod engine folder into your War3 install, run the EXE and be good to go. As a user, there are a few topics you should be aware of when doing this:

For different Warcraft III versions, you may wish to modify your Warsmash INI configuration to properly load your install.
The provided "warsmash.ini" file looks like this:
INI:
[DataSources]
Count=6
Type00=MPQ
Path00="..\war3.mpq"
Type01=MPQ
Path01="..\War3x.mpq"
Type02=MPQ
Path02="..\War3xlocal.mpq"
Type03=MPQ
Path03="..\War3Patch.mpq"
Type04=MPQ
Path04="resources.mpq"
Type05=Folder
Path05="."

You can change these configurations and add and remove MPQs from your Warsmash configuration. If you are using a 1.26 installation with a different language, you probably have "war3local.mpq" as an additional MPQ in your Warcraft 3 installation, and you will want to get your Warsmash to load this file in order for it to work properly. A sample configuration for you might look like this:

INI:
[DataSources]
Count=7
Type00=MPQ
Path00="..\war3.mpq"
Type01=MPQ
Path01="..\war3local.mpq"
Type02=MPQ
Path02="..\War3x.mpq"
Type03=MPQ
Path03="..\War3xlocal.mpq"
Type04=MPQ
Path04="..\War3Patch.mpq"
Type05=MPQ
Path05="resources.mpq"
Type06=Folder
Path06="."

The data sources also support the CASC storage system. For example, you can setup your Warsmash configuration to load data from a Reforged installation by using this in your INI:

INI:
[DataSources]
Count=4
Type00=CASC
Path00="C:\Program Files\Warcraft III"
Prefixes00=war3.w3mod,war3.w3mod\_deprecated.w3mod,war3.w3mod\_locales\enus.w3mod,war3.w3mod\_hd.w3mod,war3.w3mod\_hd.w3mod\_locales\enus.w3mod
Type01=MPQ
Path01="resources.mpq"
Type02=Folder
Path02="C:\Users\micro\Documents\Warcraft III\Maps"
Type03=Folder
Path03="."

As shown above, always include the "Resources.mpq" in your Warsmash configuration. This contains additional resources beyond what are contained in the Warcraft III game that are necessary for your Warsmash installation to run.

In the current build, until I get a better UI for loading a map, the best way to play a map is to make a folder in "Warsmash" that is named "Maps", so you end up with something like "<War3Install>/Warsmash/Maps". Then, put the map into the Maps folder. Then, run Warsmash using the command:

Code:
.\Warsmash.exe -loadfile Maps\MyMap.w3x
 
Last edited:
Top