GithubHelp home page GithubHelp logo

networkmaniac / dll-proxy-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maluramichael/dll-proxy-generator

0.0 0.0 0.0 22 KB

Creates a proxy dll which sits between the game and original dll

Home Page: https://malura.de

License: MIT License

C++ 100.00%

dll-proxy-generator's Introduction

Dll Proxy Generator

This project creates a new dll which sits between a game and the original dll. This way you can intercept all dll calls.

Game -> Your proxy dll -> Original dll

Original by Kristoffer Blasiak (https://www.codeproject.com/Articles/1179147/ProxiFy-Automatic-Proxy-DLL-Generation) i modified his project so the output fits my needs.

Build

Open DllProxyGenerator.sln with Visual Studio and build it

Usage

Generate the proxy dll source

.\DllProxyGenerator.exe "path\to\your\dll"

Be careful which dlls you try to proxy. I tried public windows dlls like d3d9 or user32 which work great. Game specific dlls with mangled function names wont work. Except someone knows how to counter this problem.

Build the proxy dll

Create a new Visual Studio dll project. Copy the generated proxy files into your project.

Remove every other file like stdafx.h

Change the following settings.

  • General > Project Defaults > Character Set = Use Multi-Byte Character Set
  • C/C++ > Precompiled Headers > Precompiled Header = Not Using Precompiled Headers

Use the new dll

Copy your new proxy inside the game directory. Some games have a different load mechanism. Depending on which dll you generated it could be possible that the game does not load your dll first in which case the proxy doesn't work.

dll-proxy-generator's People

Contributors

maluramichael avatar two06 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.