• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Compiling Macroquest for free guide (1 Viewer)

Status
Not open for further replies.

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
 
Last edited:
Why does this not work with MQ2DoCrack? It is just another plugin like the rest of them. I compile it the same as I would the rest. The only difference is that you have to make sure your MQ2DoCrack.ini file is in your release directory.
 
Please PM me your docrack.ini and I'll try it...also can you tell me where you get the .ini? I don't know where that comes from...
 
I cannot get the docrack plugin working with the steps in my guide...anyone who knows how docrack works, could you try to set up an alternate mq2 using my guide and then try setting up docrack using the guide as well?

I have tried taking the zip file from the guide and extracting it, then running nmake and it wont work.

I have tried setting up the plugin and running nmake, then extracting and overwriting the files...it errors as well. When I get in game, it is able to load the plugin, but when I do "/docrack list" it says unable to parse.
 
I am working on the ultimate plugin guide, don't worry. A quick plat guide update is on the way first.

Congratulations on the excellent guide Darkeros!
 
could we get links for those files here?like the 224mb i think it was where we just get a link for the 76k file iam on dail up and would take a week for that big of file basicly iam asking for links for just the files i need with out the hudge downloads
 
I think I have driven myself clinically insane.

I am new to any type of programing. I started with the MQ2 and sent in my auth code to Zed on the "Macroquest2 Compiling help for newbies" thread. It ran fine but I wanted to be able to do it for myself. So I followed the directions on this thread. It all seems to go fine but when I run MQ2 and then EQ, I get the "incorrect client version" pop up.

So I read a bunch more threads both here and on the macroquest website which leaves me with more questions.

Why do some threads mention run mq2auth.exe and this one doesn't? Is this done before compiling, after or is it done automatically by your instructions on this thread?

Do I need to recompile every time sony sends out a new eqgame.exe and if so do I need to start over by downloading the MQ2 file again?

Or is it so simple that I have to wait X number of hours or days after a new patch to make this work?

I have been reading and reading, I am sure the answers must be there. But I can't comprehend them if they are. It took me 20 minutes to figure out "Step 4." simply meant type "cd\mq2". I was trying to follow the steps so closely that not being in bold caused me problems. Call me stupid, ignorant whatever. Everything I am finding is broken up so that I can't seem to put it all together.

Ended up being a longer post than I had intended but I sure would be thankful for a link to an "MQ2 for Dummies, A to Z" if there is one.

Thanks
 
do we just take our present mq2 file and re-compile it as a whole? Or are any changes to be made to the file/macros, etc either before or after recompile? Do offset codes need to be changed?
 
have u guys tried my thread?! just send me an auth code its not hard.
 
You guys need to wait until an up-to-date mq2 zip comes out. The latest one available for download is outdated and will be until they upload a new one.
 
i got one thats working, although all spells and a few other things with plugins are buggy. use my download link if i already got your auth code
 
Yes every time the exe for EQ is updated you have to update your MQ2. I generally takes the MQ Guru's a day or two to find the new offsets that allow MQ to do its magic.
 
I'm getting this error. I have followed all steps in compiling as well.

Rich (BB code):
LIBCMT.lib(_ctype.obj) : warning LNK4099: PDB 'libcmt.pdb' was not found with 'C
:\Program Files\Microsoft Visual C++ Toolkit 2003\lib\LIBCMT.lib' or at 'D:\MQ2\
Release\libcmt.pdb'; linking object as if no debug info
I followed all steps up too the 'nmake clean' ...

After I run 'nmake' it begines compiling, but for each plugin directory, i get this error, for each of the files in the directory. (Note these are the plugins that come with the original source file)

Also like to add... I'm able to load up MQ2, but when I try to run any commands I get a parse error.

Anyways, my name is on Zedmix's list for a compile, just though I would try myself as it would be much easier for future uses.
 
Last edited:
I started with a pristine machine and did the download as you indicated (I already compile using VS6, but wanted to try this out). When I tried to follow the compile instructions, nmake isn't included with the download. I moved nmake from my VS6 machine and then got a bunch of errors due to a lack of include files. How did you get this to work?
 
You missed a big step in the guide. See if you can figure out which one it is before I give it away.
 
The link in the original post was removed/deleted, any suggestions on where it led to beyond MQ boards?
 
Alright, I've given myself a huge headache. All the "free" stuff seems to be incompatible with Win 98SE, which I still run because it works for me, and all of my run in's with XP have made me hate it. Is there any software out there that will work with 98 and allow me to compile this for myself, or am I going to have to find an Xp machine to try it out on?
 
not trying to go off-subject... but you are the first and probably last person to say win98 is better than xp... professional xp at least

xp-pro owns... i would worry about getting that before any piece of software whatsoever
 
Sorry...meant to put this in the last post but forgot. The only difference I can see is that you would have to use the win98 SDK files instead of the xp sdk files. Other than that, it should all be the same.

GL!
 
He might have an older system, in which case 98 runs better for him. Then again, if his system is that old, I don't know how EQ si running.
 
I got it to complie and run but i cant get plugins to load when i /plugin (insert plugin here) I can get mq2twist to work only and all the plugins that come w/ mq2 but cant get mq2warp, mq2moveutils, or mq2zone to work

Just figured out its cause these are not compling right i can get mq2twist to complie (along with mq2) why cant i get these others to work?
 
Last edited:
i have even tried using someone else's alreay complied plugins the only plugin i can get working is mq2twist cant get anyting else to complie right
 
I'm just starting out with all of this and I cannot afford a full version of VS.net but would like to give this compiling a try for myself. I checked out the wiki on MQ2 to get the links for the SDK toolkits (i installed everything that was listed on the page) and can get everything going fine up until the nmake clean command, my compiler states that nmake is not a valid command and if i do /help its not in the list of available commands. I am using the Micsoft SDK for windows 2000 environment (since i run win2k). I notice also that there is a reatil and debugger I assume I am correct to be using the retail to run these scripts and not the debugger. Any help with what you think may be the problem would be appreciated.

EDIT: as a side not i had tried installing just the SDK toolkit from microsoft downloads on my other computer and when i would run the setenv.bat command I would get no action just a fressh command prompt, but i was able to set compiler and run nmake clean which resulted in a cannot find file error on like 100 files in the MQ2 directory.
 
lance173 said:
I'm just starting out with all of this and I cannot afford a full version of VS.net but would like to give this compiling a try for myself. I checked out the wiki on MQ2 to get the links for the SDK toolkits and can get everything going fine up until the nmake clean command, my compiler states that nmake is not a valid command and if i do /help its not in the list of available commands. I am using the Micsoft SDK for windows 2000 environment (since i run win2k). I notice also that there is a reatil and debugger I assume I am correct to be using the retail to run these scripts and not the debugger. Any help with what you think may be the problem would be appreciated.

Thanks.


Your command enviroment is wrong. You need envoromant paths to all the SDK directories.
 
Ok, I found a list of files on the Macroquest Wiki for compiling.

http://www.macroquest2.com/wiki/index.php/Compilers

I got everything downloaded, but it looks like the 2nd cab for the XP SP2 Platform SDK is a broken link on Microsoft's site.

http://download.microsoft.com/download/platformsdk/sdk/update/WIN98MeXP/EN-US/2600.2180/FULL/PSDK-FULL.21.cab

I tried searching MS's site, but couldn't find it anywhere else and I am assuming I will need this cab.

Anyway, I'm giving up for now. I'll just wait for one of the nice people on this site to post an updated compiled MQ2.

Thanks anyway.
 
so far i have found out my auth. code and managed to install the 2003 toolkit and the 2005 but im stumped with all of my sdk files on my desktop and stuck on step 3.
 
Lots of the links dont work anymore. I have tried to find time to fix the, but have had little to no time to play eq, much less update this.

I'd suggest using pugs advice and looking for vs.net.
 
Pugs said:
Also you can find free version of VS around the web if you use bittorrent (http://www.bittorrent.com/) and then just use search on http://isohunt.com/.
Rez me babey one more time

I used pugs suggestion and got a nice free DL or VS6



BEFORE YOU COMPILE ANYTHING Go to cades link in guides

you can make noauth+date/time check+warp+string

and he tells how to get other plugins added to the compile


then I did:

Rich (BB code):
Compiling MacroQuest2 using VC6++ or Visual Studio 6 
Install Visual C++ 6.0 or Visual Studio 6.0 

If you are installing VC6++ please make sure you have installed SERVICE PACK 6. You can find Service Pack 6 here: Service Pack 6


Download the MacroQuest2 source files

Unzip it into any new folder

Go to the newly created folder and double click MQ2Auth.exe

Double click macroquest2.dsw file. This will Open Visual C++

*** I OPEN VS6 first.. then click file --> open ***

Select Build -> Set Active Config and select MQ2main. Click OK

Select Build -> Build MQ2main.dll or press F7

Select Build -> Batch Build. Make sure everything in the batch build window that says release has a check by it

Click the Build button. All should compile with no errors or warnings


AND now you too can be the first to toss out the first running MQ2

8-)
 
Last edited:
Compiling Macroquest for free guide
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart