Skip to content

A DLL written in Rust that loads the multiplayer mod DLL into Mirror's Edge when the game starts.

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE-THIRD-PARTY.md
Notifications You must be signed in to change notification settings

SeungKang/example-memp-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memp loader

medge multiplayer loader

A DLL written in Rust that loads the multiplayer mod DLL into Mirror's Edge when the game starts. This DLL is loaded by using Phantom DLL hijacking techniques and taking the name of the unused DLL "AgPerfMon.dll". After the multiplayer mod DLL is loaded the memp loader DLL is deloade from the game.

Mirror's Edge Multiplayer Mod

Referenced in my blog post: Chasing Ghosts: Phantom DLLs in Mirror's Edge

Build DLL

Note: By default the .cargo/config.toml builds for windows 32-bit x86.

  1. Install Rust through rustup
  2. Install toolchain rustup install stable-i686-pc-windows-msvc
  3. Add target rustup target add i686-pc-windows-msvc
  4. Might need to do a cargo clean
  5. Build with cargo build
  6. File gets created in PROJECT-PATH/target/i686-pc-windows-msvc/debug/AgPerfMon.dll
  7. Copy AgPerfMon.dll into a Dll search order directory

Additional Work

About

A DLL written in Rust that loads the multiplayer mod DLL into Mirror's Edge when the game starts.

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE-THIRD-PARTY.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages