Building MQ2 for free with non-expiring MS tools.

Fry

Fry Guy
Joined
Jan 31, 2005
Messages
11,859
Reaction score
586
Points
113
Location
Australia
Website
www.mmobugs.com
Source: http://www.macroquest2.com/phpBB2/viewtopic.php?t=8897&start=0&postdays=0&postorder=asc&highlight=
Guide to building Macroquest with stuff you can download from Microsoft's website, version 1.1.

It is possible to build Macroquest with tools that are downloaded completely from Microsoft's website. These tools are fully functional and do not expire. The only thing missing is any kind of GUI interface.


1) Download the Microsoft Visual C++ Toolkit 2003 from http://msdn.microsoft.com/visualc/vctoolkit2003 The download is just over 32MB in size. Install with default options.


2) Download the Microsoft Platform SDK from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ This page requires an ActiveX component be installed and must be run from Internet Explorer. Make it easy, install the entire thing (Click on Windows SDK on the left bar) although I think all you need is Core SDK and MDAC SDK. Be prepared for another long download.


3) The only currently posted package that I am aware of that contains a 32-bit version of NMAKE is eMbedded Visual C++ 4.0*. You can download this package from
. This package is 224MB in size and comes as a self-extracting ZIP file. Unzip eVC4.exe and copy COMMON\TOOLS\NMAKE.EXE to c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\. You can now delete the Embedded VC++ distribution file and the directory you extracted it in to (yes, 224MB downloaded for a 76KB file).


Everything is now installed. You are ready to build.


Obtain the latest version of the Macroquest2 source code from the usual place. Extract it somewhere.


Open Visual C++ Toolkit 2003 Command Prompt from the Microsoft Visual C++ Toolkit 2003 folder on the Start Menu.


Type "C:\Program Files\Microsoft SDK\SetEnv.Bat" (with the quotes) to load the SDK settings required for the compiler to find the header files and libraries. It targets a DEBUG build on my system, but it works.


Change (CD) to the directory in to which you extracted MQ2 source.


Type set COMPILER=7 to tell the MQ2 build process that you are using a .NET compiler.


Type nmake clean to clean up the build environment (it won't really do much if you haven't built anything yet, but it's a good practice for when you are rebuilding).


Type nmake to build Macroquest. Ignore the crapload of linker warnings regarding libcmt.pdb not being found. If you care, you can probably figure out how to supress this - I don't, so I didn't.


Run Macroquest2.exe from the Release folder.


The command line build process will build all the standard MQ2 plugins. If you have additional plugins to build, you prepare the plugin folder as normal (mkplugin, enter the C++ code, etc.). Next, simply CD in to the plugin directory and run nmake. This will build the plugin and leave it in the Release folder.

Footnote:

* There was an older version of NMAKE that will work to build MQ2 released with the Microsoft SDK for Java 4.0. This distribution file is a lot smaller, but is no longer available from Microsoft's web site. If you can obtain the this package you only need to install the Core SDK Files. Deselect Documentation and Sample Files. Copy NMAKE.EXE from c:\Program Files\Microsoft SDK for Java 4.0\Bin to c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\. You can now uninstall the Java SDK if you want.
 
I'm computer dumb

Ok,

I downloaded both of the things you said i needed to compile it to make macroquest work. Well, I got a little stumped when you get the the Macroquest.dsw file because it doesn't seem to open with C++ exe file and I have tried to manually choose the exe file but then it comes up as ( Macroquest.slw is not a valid Win 32 application ) I don't know maybe i'm doing something very wrong... But if you could you be more umm... precise on exactly what it is that you did to make it work because I'm not gonna lie, yes I am computer dumb and yes I'm just one of those wanna be hacker type cheaters =P but i'll leave it up to the pros to do it the right way... I'll just follow you guys if thats ok. hehe.... Ok, well I hope you can help me out with this thanx.

From,
Dracknor
 
I've added your computer information to the latest MQ2 build, you should just be able to download it and you'll be good to go.
 
MQ2 Build

Which link is that? Sorry, I'm still a little lost, Is the link to download that on this post or is it under another subject? Ok, just let me know sometime and it seems like its only me thats computer dumb, cuz nobody else posts LOL.....
 
Thanks For The Help

Hello,

thanx for helping me out with this, I got it going now. =)