My experience with installing ROF2 and MQ2 in Win10

Third party software discussion goes here.
rmm10
Posts: 357

My experience with installing ROF2 and MQ2 in Win10

Post#1 » Tue Oct 13, 2020 5:29 pm

This forum post will be a more-or-less step-by-step instruction (with some explanations) of how I installed rof2 and MQ2 in win10 after four years of being away, and got them running on the Hidden Forest server. Keep in mind that there are numerous settings in win10 and numerous programs (mainly anti-malware programs) that can affect the details of how to get rof2 and MQ2 to work. I won't pretend to know them all...this post is how I did it with MY win10 computer. At present, its Oct 2020, and my windows is Windows 10 Home, version 2004, revision 19041.508. And yes, the windows version CAN affect rof2 and MQ2, especially any version that changes the security features. Versions that affect the settings menus can also affect where to find those settings...this has happened to me countless times due to outdated website posts being written a year or two years or four years ago. You can find your win10 version in Settings-->System-->About.

I started out downloading and installing rof2 using the copy supplied by Hidden Forest. I did not have to set up an account because I had already done so years ago. My account is a THF account, not a general EQemu account. For information about this, go to http://www.hiddenforest.com, click on Forum and then click on the menu item Getting Started. Be sure to run the THF Downloader at least once...it will add files to the rof2 install so as to make it compatible with Hidden Forest.

Next step is finding MQ2. As of today (as far as I know) there are three safe places to get a compiled version of MQ2. For those of you who don't know, "compiled" means you can double-click it and it will install. An uncompiled version has to be compiled for the operating system that its to be run on. Unless you are a Linux user, you should not have to worry about this. Anyways, the three places are mqemulator.net, redguides.com and mmobugs.com. There is a fourth site, macroquest2.com, but it seems mainly for the devs and coders who work on the MQ2 program. Redguides and mmobugs require that you subscribe to their sites which may or may not require money. Since I have no subscription with them, I don't know much about them. I used mqemulator.net...click on the Downloads menu item, choose ROF2 as the client, and MQEmulator Classic Build as the build. If you want, click on the little question mark bubble to see their description of it.

I installed both the RoF2 folder and the MQ2 folder into an EQ folder at c:\ so as to keep my EQ world in one handy spot. Do NOT install anything into Programs(x86). Files in there are treated differently, and this can manifest into Win10 blocking your attempts to edit ini files (which you may be doing ALOT). This blocking is related to that dumbass way that Microsoft has put in Win10 where, even if you give your Win10 account administrator access, it does not treat you like an administrator, You have the title, but not the full privileges. Can you get around this problem by playing with individual file permissions? Yes. But honestly, you can save yourself grief by simply installing stuff in the root of c:\. (Shout-out to tibbs3d over at the THF E3 Macro discord server for telling me about Programs(x86)).

- the main program, MacroQuest2.exe.

- the server program, EQBCServer.exe. This is what your main and all your alts will connect to, and allows you to control your alts via your main (hence the name EQ Broad Cast Server). If you only play on one character, then you don't need to run the server.

- the plugin files. These dll files are what you run in order to make MQ2 do all the fancy stuff that it can do. The function of the plugin is usually written into the name (ex. MQ2Melee.dll). I would say there are maybe 200-300 plugins for MQ2, but most players will only run a couple. Keep in mind that every plugin uses computer resources and too many plugins can slow down computer processing...not a good thing during intense fights like raids. More information about this is available upon request. 8-)

- the macros. These files can be created by non-coders like me, to make MQ2 do things that are not done already by plugins. For me, this is usually some small specific thing. For example, I made a small macro that watches for the donor buff Shadow of Erebos given by the donor legs on my shadowknight. If the buff disappears, the macro double-clicks on the legs.

- the settings files. These are ini files that can (and will) be custom created and edited. They are text files and so need to be written in Notepad. Be wary of using any fancier text program, as many of them can add formatting commands into the text document which are invisible to you but can be seen by MQ2 and mess things up.

Next step is to make the EQ client and MQ2 play nice with each other AND autologin. (Big Assumption Here: you ALREADY have an existing character in Hidden Forest!) Here is what I did:

1) Drag the eqgame.exe (from the rof2 folder) to your desktop so as to make a shortcut. Rename it to the name of your character. Mine is Jaton.

2) Go into the properties of the shortcut and modify the line labeled Target. Here is what Jaton's looks like: "C:\Program Files (x86)\Everquest_THF\everquest_rof2_THF\eqgame.exe" patchme /login:xxxJ. My folder path is long cause I do extra stuff with EQ. Your own folder path will be different. The important modifications are the patchme and the login. Note there is a space both before and after patchme. The login portion is part of the auto login feature of MQ2. The xxxJ is the username of your Hidden Forest account. And no, that is not Jaton's real account. 8-P There are no spaces in the login portion.

3) Go to the Compatibility tab of the shortcut and check/verify that Run This Program As Administrator is checked. In some cases, this option is right in front of you in the Shortcut tab. Sometimes you may have to hit the Advanced button in the Shortcut tab to get to the admin box.

4) Go to the rof2 folder again, and go to the properties of eqgame.exe and check/verify that its admin box is also checked using the same method that you did for its shortcut. In theory, this should not be necessary but I like to be sure.

5) Make shortcuts and check admin boxes for both EQBCServer.exe and MacroQuest2.exe (they are in the MQEmu_Classic_ROF2 folder) just like you did for eqgames.exe in steps 3 and 4 above.

6) In win10 Settings, go to Update&Security-->choose Windows Security from the list-->push the Open Windows Security button-->choose Firewall&Network Protection from the list-->click on Allow an app through firewall. This will give you a list of apps that win10 security looks at. Scroll down the list until you see eqbcserver and check its box and the box in its Private column. Oddly enough, I did not see entries for either eqgame.exe nor for MacroQuest2.exe. I have no idea why.

7) Ensure that MQ2 is going to automatically run the MQ2AutoLogin.dll by opening the file MacroQuest.ini and checking the [Plugins] section. Verify the entry mq2autologin=mq2autologin is there. Btw, this is how you auto run any dll. When you want to NOT have it run, then you can either delete it or put a pipe symbol in front of it |like this. The pipe symbol tells MQ2 "don't run this line, its only for humans to read".

8) Now you have to set up MQ2AutoLogin by editing its MQ2AutoLogin.ini file. Here is what mine looks like:

[Settings]
KickActiveCharacter=1
InstantCamp=0
UseStationNamesInsteadOfSessions=1

[Servers]
HiddenForest=The Hidden Forest [ http://www.thehiddenforest.org ]

[xxxJ]
Password=notgonnashowyou
Server=HiddenForest
Character=Jaton

[xxxS]
Password=notthiseither
Server=HiddenForest
Character=Shadome

Note 1: this example has entries for two characters.
Note 2: the character entries are MANUALLY created by YOU, the user. They are NOT created by the program. The section names are account names, not character names.
Note 3: the server name in [Servers] must be very exacting. In this case, you MUST include the spaces on either side of http://www.thehiddenforest.org.
Note 4: if you read the forums concerning autologins, you will have noticed lots of questions and some trouble. The ini I have pasted is a cumulation of what solutions worked, and is based on having a direct THF account (NOT an EQemu account) and the rof2 client (NOT Underfoot). Plus, I use it for all my characters and it gets them all the way to the zone, so...yeah.

8) Start the EQBC server program. You'll know its on when you get a rather sparse window on your desktop. The text in it will say:

EQBCS (EQ Box Chat Server) 1.2.v1
Waiting for connections on port: 2112...

You might want to minimize it to get it out of your face. You won't be typing anything in it.

9) Start the MQ2 program. It won't open with a splash screen or window but will simply put its icon in your system tray (the tray is that area in the taskbar to the right, where the clock is).

8) Now its time to finally try things out. Cross your fingers, hold your groin and double-click your character's shortcut. If you did everything correctly...if your win10 security version has not changed...if the phase of the moon and the alignment of the planets is just right...then autologin will skip over the THF Downloader and some other screens, log into the THF server, choose your character and plop you down into a zone. You will know MQ2 server and main programs are working by observing an MQ window in your EQ window, along with some Welcome text in it.

9) In the MQ window, type /mac setup. This will create a character ini file in the MQEmu_Classic_ROF2. Mine is named HiddenForest_Jaton.ini. This file has a few default settings in it used by MQ2NetBots. Note that this step might only be for the mq2 that is distributed by mqemulator.net. MQ2s put out by other websites might have a slightly different setup.

And...that's it. There is a lot more information that you'll probably have to (or want to) know concerning usage, strategies, other plugins, etc. But those are subjects for other posts.

Have fun. 8-)

User avatar
Ryzen
Posts: 109

Re: My experience with installing ROF2 and MQ2 in Win10

Post#2 » Wed Oct 14, 2020 5:39 pm

Can't wait to setup auto login. What do I use to edit .dll files?

Notepad gives me hieroglyphs upon opening.
Lillu wrote:Good luck with the RNG Gods. :)


Lillu wrote:Love you guys. :)

User avatar
spartan1999
Posts: 80
Contact:

Re: My experience with installing ROF2 and MQ2 in Win10

Post#3 » Wed Oct 14, 2020 6:25 pm

An issue that I have been working on over the last few days - I could 13 box my UF client with no issues but as i scale bots in RoF the lag in the commands (and often just ignoring commands) has made raiding with my bots impossible. Does anyone have any tips to reduce system overhead enough to make this a possibility? I have E3 set up and working wonderfully when the bot count is low (1 group tops).

I would love to move forward with this client but im afraid I will need to get a new system to support that (my laptop is a bit old but didnt seem to be a limiter before).
The *nnes <Gnomercy>: Dreanne/MAG Revainne/SHD Celinne/MNK
Amarinne(NEC)/Arienne(BRD)/Brianne(BER)/Zarinne(DRU)/Gawinne(SHM)
Wolfinne(RNG)/Moirainne(CLR)/Norinne(CLR)/Wizinne(WIZ)/Beastinne(BST)/Stabinne(ROG)/Mezinne(ENC)
-----------------------------------------
*Gawin - Retired Monk - Prexus*
-----------------------------------------

Muergan
Posts: 196

Re: My experience with installing ROF2 and MQ2 in Win10

Post#4 » Wed Oct 14, 2020 6:48 pm

Is it a gpu or cpu bottleneck on your system? Is your computer using cores correctly? Use mq2fps and mq2cpuload correctly? Makes sure your only use one of the frame frograms whether it be in game client fps limiter, mq2fps, or wineq2 play nice ( I recommend mq2fps).

Muergan
Posts: 196

Re: My experience with installing ROF2 and MQ2 in Win10

Post#5 » Wed Oct 14, 2020 6:56 pm

This guide can help too or hit me up on the discord. http://ezserver.online/forums/index.php ... 1#msg38791

User avatar
spartan1999
Posts: 80
Contact:

Re: My experience with installing ROF2 and MQ2 in Win10

Post#6 » Wed Oct 14, 2020 9:03 pm

I will run through this and see what I have missed. I wrote a python script to handle which chars to launch from where/affinity and it is run from SSD. I would give GPU the bottleneck but that seems to not account for delay in EQBC commands being interpreted. I am working on getting the AMD (sigh) switched graphics working, was not needed previously.

with reduced textures/RAM usage etc i am cruising at close to full RAM/CPU, i set affinity round-robin on the cores-of which my old rig only has 4.
The *nnes <Gnomercy>: Dreanne/MAG Revainne/SHD Celinne/MNK
Amarinne(NEC)/Arienne(BRD)/Brianne(BER)/Zarinne(DRU)/Gawinne(SHM)
Wolfinne(RNG)/Moirainne(CLR)/Norinne(CLR)/Wizinne(WIZ)/Beastinne(BST)/Stabinne(ROG)/Mezinne(ENC)
-----------------------------------------
*Gawin - Retired Monk - Prexus*
-----------------------------------------

rmm10
Posts: 357

Re: My experience with installing ROF2 and MQ2 in Win10

Post#7 » Wed Oct 14, 2020 11:09 pm

Reply to Ryzen: I'm not sure how serious you are, but just in case...I don't edit dll files. I believe they are written by a programming language like C++ and then compiled. As I mentioned in my post, this is the kind of thing that the guys at macroquest2.com do. I just do scripting languages (when I am pushed into it). I am far too lazy to do coding.

rmm10
Posts: 357

Re: My experience with installing ROF2 and MQ2 in Win10

Post#8 » Wed Oct 14, 2020 11:23 pm

Reply to Spartan1999: When I troubleshoot, I often ask "Could you do it before?" and if the answer is yes, then I ask "What has changed between then and now?". So...have you tried to log back in using UF and if so, do you get the old results?

Other than that, I can only think of three things:
1) Do what Muergan says (lol). That will do two things: it creates minimal resource toons AND it helps to avoid hitting the 2GB limit that was spoken of by player Shanefpt back in 7/24/17. Just the Search the forum using keyword 2gb.
2) Limit the number of dlls and macros that you use. You mentioned using E3 and it seems like it does alot of neat stuff...but is it too big for a solo raid? How about zoning in with no macros at all?
3) Is your laptop actually using all its cores or is it parking some of them? There is a small registry entry that can stop win10 from parking cores. I watched a youtube on how to do it, took about two minutes.

That's all I can think of at the moment. Good luck.

User avatar
spartan1999
Posts: 80
Contact:

Re: My experience with installing ROF2 and MQ2 in Win10

Post#9 » Thu Oct 15, 2020 3:57 am

I cleaned up the bot directory and used the settings M linked, that seems to have helped. I also was able to get graphics switching working again so i am able to use that added power. I have the instances down to about 100MB of RAM each which frees up 40% of my overhead. My CPU is also now under 80 total with the way I am assigning things in my launcher. Command execution is much quicker now and i can move my group around better.

I am most likely going to go back to Linux.
The *nnes <Gnomercy>: Dreanne/MAG Revainne/SHD Celinne/MNK
Amarinne(NEC)/Arienne(BRD)/Brianne(BER)/Zarinne(DRU)/Gawinne(SHM)
Wolfinne(RNG)/Moirainne(CLR)/Norinne(CLR)/Wizinne(WIZ)/Beastinne(BST)/Stabinne(ROG)/Mezinne(ENC)
-----------------------------------------
*Gawin - Retired Monk - Prexus*
-----------------------------------------

Muergan
Posts: 196

Re: My experience with installing ROF2 and MQ2 in Win10

Post#10 » Thu Oct 15, 2020 7:36 pm

Honestly eq is super cpu intensive. I run 18 chars without issue. Key is two eq installs one you make full graphics and load the few chars you use the most like tank/puller. Then load the rest from other install with less graphics. The mq2cpuload will auto balance your cores and the mq2fps will solve your problems especially if you a one monitor player since it doesn't render background screens as often.

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 2 guests

cron