Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add the plugin. "the plugin dll could not be loaded: 126" #1

Closed
Tony322 opened this issue Jan 18, 2024 · 6 comments
Closed

Can't add the plugin. "the plugin dll could not be loaded: 126" #1

Tony322 opened this issue Jan 18, 2024 · 6 comments

Comments

@Tony322
Copy link

Tony322 commented Jan 18, 2024

I compiled the plugin and tried adding it on CE 4.6 and 4.7, both gives the error "the plugin dll could not be loaded: 126", which when googling, tells me its missing a dependency.
I copied the plugin.dll from the "plugin\x64\Release" folder into the root of CE. CE doesn't tell me more info than that either.

@vladislavix
Copy link

you indeed missing a dependency. read this: https://github.com/Metick/DMALibrary?tab=readme-ov-file#please-read.

@Tony322
Copy link
Author

Tony322 commented Jan 19, 2024

you indeed missing a dependency. read this: https://github.com/Metick/DMALibrary?tab=readme-ov-file#please-read.

Ahh, I see! That certainly did the trick. I thought the main readme was enough. Sorry about that.
Pretty darn cool thing you got going here. Thanks a lot for this, seems to work great.

A side note, is there any way to make the mono inspector in CE to work on mono applications? I'm attached to a .NET/mono application that normally let you use those tools built into CE. Meaning this: https://wiki.cheatengine.org/index.php?title=Mono

@Metick
Copy link
Owner

Metick commented Jan 19, 2024

You most likely could add support for it, sadly I don't have time to look into what it requires to add support for it. but you're free to add support yourself & Look into it.

I'd assume it requires VirtualAlloc ect, cuz I think it injects a lua .dll into the process? I could be wrong on this though

@vladislavix
Copy link

A side note, is there any way to make the mono inspector in CE to work on mono applications? I'm attached to a .NET/mono application that normally let you use those tools built into CE. Meaning this: https://wiki.cheatengine.org/index.php?title=Mono

as far as I know, the cheat engine injects a specific dll into the target process that compiles all the mono-methods, so i dont think its possible

@Metick
Copy link
Owner

Metick commented Jan 19, 2024

A side note, is there any way to make the mono inspector in CE to work on mono applications? I'm attached to a .NET/mono application that normally let you use those tools built into CE. Meaning this: https://wiki.cheatengine.org/index.php?title=Mono

as far as I know, the cheat engine injects a specific dll into the target process that compiles all the mono-methods, so i dont think its possible

It should be possible if you replicate Virtual Alloc ect, but i assume it uses CreateRemoteThread to execute the memory, so you'd probably have to do something like hooking a function in the game that gets called a lot on that import, or IAT hook. it just requires some manual reversing & programming to implement that part. There just isn't a "Solution for all games" type thing here that would be UD. Not to mention allocating memory on EAC/BE is detected

@Tony322
Copy link
Author

Tony322 commented Jan 19, 2024

Ahh I see. Thanks for the replies people. I'm closing this as the original issue is solved. Have a good one!

@Tony322 Tony322 closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants