btbd / mmultiplayer

Mirror's Edge Multiplayer Mod
111 stars 10 forks source link

Menu does not open (Client.dll issue). #21

Closed Veratosian closed 4 years ago

Veratosian commented 4 years ago

After opening the launcher executable file (with administrator rights) and launching the game pressing INSERT in the game menu does nothing.

I've checked some things to see why wouldn't it work:

  1. Checked my DirectX version (DirectX 12)
  2. Checked my firewall settings (Mirror's Edge.exe and the launcher.exe both have permissions)
  3. Checked whether my INSERT key even worked at all.

I can't figure out what is causing the issue. I tried compiling the project instead of downloading the launcher.exe, but I can't compile the Client project file (Client.dll is missing error), although I can compile the Launcher project file. I tested it and the result was the same. I would greatly appreciate if someone could help me or comment whether they're having the same issue.

btbd commented 4 years ago

@Lambrovski The issue is most likely the client DLL not being loaded into the game at all. I'm assuming you don't see any chat message come up when the game starts saying something along the lines of "connected."

Can you run Mirror's Edge then run the launcher and see if any message boxes show up indicating an error with loading the DLL? Or does the launcher never close at all and just stay open?

Veratosian commented 4 years ago

@btbd Okay, I ran Mirror's Edge, then the launcher with administrator rights in that order. The message box just disappears and nothing else happens.

btbd commented 4 years ago

@Lambrovski The initial message box should have never appeared - I should've been more specific, launch Mirror's Edge to the main menu and then run the launcher.

Either way, does the launcher remain running in the background or does the process fully terminate? Check task manager.

Veratosian commented 4 years ago

@btbd The process fully terminates.

btbd commented 4 years ago

Hmm, that would indicate the DLL is being loaded into Mirror's Edge. Do you see this appear after running the launcher? image

Veratosian commented 4 years ago

No, I don't.

btbd commented 4 years ago

So there's only a few reasons why that would happen and this will narrow it down. Can you try this:

  1. Start Mirror's Edge and go to main menu
  2. Run this modified launcher - MMultiplayer_Launcher.zip

And then can you tell me the new message box that appears? It should be either:

Veratosian commented 4 years ago

The DLL was not successfully loaded but this process could load it

btbd commented 4 years ago

That indicates you have all the dependencies for the DLL yet something blocked it from being loaded into Mirror's Edge - do you have an antivirus running?

Veratosian commented 4 years ago

The closest thing I have to an antivirus is Windows Defender. I did turn off an option called "Real time protection".

btbd commented 4 years ago

Unfortunately I'm not sure what else would cause it to fail besides an AV - maybe ME doesn't have permissions to load the DLL? However, you can try this launcher (run Mirror's Edge to main menu then start launcher) and tell me what error code it spits out: MMultiplayer_Launcher.zip

Veratosian commented 4 years ago

0x5

btbd commented 4 years ago

That's access denied, which is what I was expecting. I'm not sure why Mirror's Edge wouldn't have access to load a DLL from your temp directory, but you could try loading Mirror's Edge as admin too since the launcher can load it just fine.

Veratosian commented 4 years ago

Okay, it works! The message is now 0xb7. I guess it was just the administrator rights issue. You may close the issue now or I'll do so in an hour. Thanks for helping me.

btbd commented 4 years ago

Well, the error code should be 0. That error indicates the DLL was already loaded and it got loaded again, but the original launcher should work fine now.

ThatFlint commented 1 year ago

My friend has the same issue and got an error code 0xe1, do you know what the cause could be?