Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

In-Memory Discord Mod Injection Without Modifying Any Files

License

Notifications You must be signed in to change notification settings

MeguminSama/Discord-ModHook-Legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord ModHook

This project has moved!

A much better rewrite (with x64 support) is available at https://github.com/MeguminSama/Modhook although it has no GUI currently.

In-Memory Mod Injection

Inject mods into Discord without modifying any of Discord's files!

Building

This uses MSBuild. No commandline instructions available yet.

You'll need Visual Studio (only tested on vs2022).

Make sure you're targeting a Release build on x64.

ModHookInjection.dll is 32bit, even though it appears in the bin/x64 folder. This is because Discord is a 32bit program, so the DLL needs to be 32bit. However the injector LibModHook.dll can (and should) be x64.

Caveats

Windows only... unless someone wants to PR linux support.

Running

A pre-made GUI for this is available at https://github.com/MeguminSama/Discord-ModLoader

To use the library, you need LibModHook.dll and ModHookInjection.dll.

You can see an example using ModHook in my JavaScript library for ModHook

ModHook.exe is a proof-of-concept loader. You will need to change the source to use it.

Why not 64-bit?

Discord uses 32bit for their Windows build, so a x64 build wouldn't be able to inject into the Discord executable.

About

In-Memory Discord Mod Injection Without Modifying Any Files

Resources

License

Stars

Watchers

Forks

Packages

No packages published