Re: Mercenaries Mission Editor FAQ - Year: 1998
Posted: Wed Nov 26, 2008 8:51 am
Here's a little more info.
sarna.net has a file called stripwld. This was written by activision's Dan Kegel. This is used in the final step of creating a mission. In order to run this, you need dos4gw.exe, which you can get here http://www.allstargaming.net/dl/files/dos4gw.zip
Here is the output of running stripwld with no arguments:
--------------------------
rem Stripwld.Exe Version $Id: stripwld.c 1.15 1996/09/03 02:51:55 dkegel Exp $
Usage: stripwld [-t] missiondir projdir > batchfile
Reads main .wld file from missiondir, finds all the .wld files it includes,
throws away ones that are not world-specific (e.g. en00star),
then prints out a batch file to wasm them all
and add the resulting .bwd files to the MW2.PRJ in the given directory.
Option: -t generate .mwm file instead of adding to project file.
--------------------------
To make custom mercnet missions, you would use the -t option. That way people who want to play the mission only need the .mwm, they don't need to touch their prj.
The MW2EDIT3D download includes 3 programs: stripwld, tar and wasm. You can see a refernce to wasm in the above. This makes me think that all one needs to decompile bwds to wlds is tar.
Research continuing...
EDIT:
Note also, MW2EDIT3D includes the .wld source files for an example mission.
sarna.net has a file called stripwld. This was written by activision's Dan Kegel. This is used in the final step of creating a mission. In order to run this, you need dos4gw.exe, which you can get here http://www.allstargaming.net/dl/files/dos4gw.zip
Here is the output of running stripwld with no arguments:
--------------------------
rem Stripwld.Exe Version $Id: stripwld.c 1.15 1996/09/03 02:51:55 dkegel Exp $
Usage: stripwld [-t] missiondir projdir > batchfile
Reads main .wld file from missiondir, finds all the .wld files it includes,
throws away ones that are not world-specific (e.g. en00star),
then prints out a batch file to wasm them all
and add the resulting .bwd files to the MW2.PRJ in the given directory.
Option: -t generate .mwm file instead of adding to project file.
--------------------------
To make custom mercnet missions, you would use the -t option. That way people who want to play the mission only need the .mwm, they don't need to touch their prj.
The MW2EDIT3D download includes 3 programs: stripwld, tar and wasm. You can see a refernce to wasm in the above. This makes me think that all one needs to decompile bwds to wlds is tar.
Research continuing...
EDIT:
Note also, MW2EDIT3D includes the .wld source files for an example mission.