darkeros
Member
- Joined
- Sep 12, 2004
- RedCents
- 35¢
First off...read the macroquest introduction on their forums. It's available at the same page you downloaded macroquest from so don't say you don't know where it is. If you haven't read that and don't have the general knowledge of the intro(i.e.-something in that tutorial was said but you ask a question about it here) then I will NOT answer your questions. I'm not a programming guru, I'm just trying to help people do this for free so you can do your part in not being ignorant and try to find stuff out on your own before wasting people's time when someone else has already said it better, but you're just too lazy to look.
Having said that...
First off go to this page and follow the directions here to download those files:
http://www.macroquest2.com/phpBB2/viewtopic.php?t=8897&highlight=free
I downloaded the windows XP SP2 SDK files and they worked fine.
Basically, this page tells you how to compile mq2 and any plugins for mq2 for free with ease...they just tell it in a manner that a newcomer would have some problems.
At the part where it says "You are ready to build." we will start from there.
Step 1.) Download the latest source code here(note: the introduction is on this page READ IT): http://www.macroquest2.com/main.php?p=download
I will suggest to extract mq2 to an easy to get to directory, like c:/mq2
Step 2.) Like it says, open the c++ toolkit command prompt, not your regular dos command prompt.
Step 3.) In that command prompt, type"C:\Program Files\Microsoft SDK\SetEnv.Bat" and include the quotes, if you don't it will not work. Now, on this part, you might have installed your SDK files to a different directory. You cannot change the name of your original SDK installation directory after you have installed it. Leave it what it is originally and type that in as above, just change your directory. Basically, just execute the SetEnv.bat from your main install directory, from the c++ command prompt.
Step 4.) Now, go to your mq2 directory where you extracted all the files from the source code you already should have downloaded.
If my mq2 directory was in c:/mq2, I would first make sure I'm on the c:/ prompt and then type cd\mq2 and that would take me to my main mq2 directory.
Step 5.) Type set COMPILER=7 this tells your processes that you're using a .NET compiler.
YOU MUST HAVE DONE ALL THESE STEPS SO FAR EVERYTIME YOU START UP THE C++ TOOLKIT!! If you start it up again and try to go make a plugin or something without doing the last 5 steps, it will not work correctly.
Step 6.) While still in your main mq2 directory, type nmake clean .
Step 7.) While still in your main mq2 directory, type nmake and it will begin to compile.
Step 8.) You are done with compiling mq2. If you want, make a shortcut on your desktop to the macroquest2.exe file because you have to start it everytime BEFORE you start everquest.
Now that you've reached this step successfully, be somewhat proud of yourself. You have gotten mq2 compiled and working, now let's work on getting those plugins installed.
Just a quick FYI, I haven't figured out how to use this program to compile Docrack, but I'm working on it and when I figure it out, I will update this guide.
The plugin I will be using for this guide is mq2twist , which can be found at http://www.macroquest2.com/phpBB2/viewtopic.php?t=8895
Step 1.) On your taskbar, go to start, accessories, then command prompt. This is your regular command prompt, NOT the c++ command prompt.
Step 2.) Go to your mq2 directory in this command prompt and type mkplugin twist
Upon doing this, it will create a mq2twist directory in your main mq2 directory. This is why all the plugins are called mq2 something, like mq2docrack or mq2moveutils. Because when you make the plugin, it automatically makes a mq2xxx directory. In this directory, it will create a few files, the only one of those files you need to worry about is mq2twist.cpp.
Close this command prompt.
Step 4.) Go to the web page for mq2twist linked above. Look at the second part that says code, underneath that, all the text in yellow beginning with twist.cpp, highlight ALL of that yellow text and hit copy.
Step 5.) Go to your mq2 directory, then into your mq2twist directory. Open mq2twist.cpp in notepad. Delete all the text in that file, then paste the information you copied from the second code section of the mq2twist thread.
Save the file and close it.
Step 6.) Open your c++ command prompt back up if you already closed it and do steps 1-5 at the top of this page to set it back up for compiling plugins. If you never closed it after compiling mq2, then you're fine and don't have to do those steps over again.
Step 7.) In your c++ command prompt, go to your mq2/mq2twist directory. Type nmake and it will compile the plugin.
Step 8.) Start mq2, start everquest, once in everquest in your mq2 window type /plugin mq2twist and you may begin using the plugin freely.
Congratulations, you have just set up mq2 and set up a plugin to use with mq2.
BEST OF ALL YOU DID IT FOR FREE!
Pat yourself on the back and get to gaming, fool.
DarkEros
Having said that...
First off go to this page and follow the directions here to download those files:
http://www.macroquest2.com/phpBB2/viewtopic.php?t=8897&highlight=free
I downloaded the windows XP SP2 SDK files and they worked fine.
Basically, this page tells you how to compile mq2 and any plugins for mq2 for free with ease...they just tell it in a manner that a newcomer would have some problems.
At the part where it says "You are ready to build." we will start from there.
Step 1.) Download the latest source code here(note: the introduction is on this page READ IT): http://www.macroquest2.com/main.php?p=download
I will suggest to extract mq2 to an easy to get to directory, like c:/mq2
Step 2.) Like it says, open the c++ toolkit command prompt, not your regular dos command prompt.
Step 3.) In that command prompt, type"C:\Program Files\Microsoft SDK\SetEnv.Bat" and include the quotes, if you don't it will not work. Now, on this part, you might have installed your SDK files to a different directory. You cannot change the name of your original SDK installation directory after you have installed it. Leave it what it is originally and type that in as above, just change your directory. Basically, just execute the SetEnv.bat from your main install directory, from the c++ command prompt.
Step 4.) Now, go to your mq2 directory where you extracted all the files from the source code you already should have downloaded.
If my mq2 directory was in c:/mq2, I would first make sure I'm on the c:/ prompt and then type cd\mq2 and that would take me to my main mq2 directory.
Step 5.) Type set COMPILER=7 this tells your processes that you're using a .NET compiler.
YOU MUST HAVE DONE ALL THESE STEPS SO FAR EVERYTIME YOU START UP THE C++ TOOLKIT!! If you start it up again and try to go make a plugin or something without doing the last 5 steps, it will not work correctly.
Step 6.) While still in your main mq2 directory, type nmake clean .
Step 7.) While still in your main mq2 directory, type nmake and it will begin to compile.
Step 8.) You are done with compiling mq2. If you want, make a shortcut on your desktop to the macroquest2.exe file because you have to start it everytime BEFORE you start everquest.
Now that you've reached this step successfully, be somewhat proud of yourself. You have gotten mq2 compiled and working, now let's work on getting those plugins installed.
Just a quick FYI, I haven't figured out how to use this program to compile Docrack, but I'm working on it and when I figure it out, I will update this guide.
The plugin I will be using for this guide is mq2twist , which can be found at http://www.macroquest2.com/phpBB2/viewtopic.php?t=8895
Step 1.) On your taskbar, go to start, accessories, then command prompt. This is your regular command prompt, NOT the c++ command prompt.
Step 2.) Go to your mq2 directory in this command prompt and type mkplugin twist
Upon doing this, it will create a mq2twist directory in your main mq2 directory. This is why all the plugins are called mq2 something, like mq2docrack or mq2moveutils. Because when you make the plugin, it automatically makes a mq2xxx directory. In this directory, it will create a few files, the only one of those files you need to worry about is mq2twist.cpp.
Close this command prompt.
Step 4.) Go to the web page for mq2twist linked above. Look at the second part that says code, underneath that, all the text in yellow beginning with twist.cpp, highlight ALL of that yellow text and hit copy.
Step 5.) Go to your mq2 directory, then into your mq2twist directory. Open mq2twist.cpp in notepad. Delete all the text in that file, then paste the information you copied from the second code section of the mq2twist thread.
Save the file and close it.
Step 6.) Open your c++ command prompt back up if you already closed it and do steps 1-5 at the top of this page to set it back up for compiling plugins. If you never closed it after compiling mq2, then you're fine and don't have to do those steps over again.
Step 7.) In your c++ command prompt, go to your mq2/mq2twist directory. Type nmake and it will compile the plugin.
Step 8.) Start mq2, start everquest, once in everquest in your mq2 window type /plugin mq2twist and you may begin using the plugin freely.
Congratulations, you have just set up mq2 and set up a plugin to use with mq2.
BEST OF ALL YOU DID IT FOR FREE!
Pat yourself on the back and get to gaming, fool.
DarkEros
Last edited:

