Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
maluramichael committed Sep 29, 2018
1 parent cc43c9d commit 60c6105
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,20 @@ 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 whch work great. Game specific dlls with mangled function names wont work. Except someone knows how to counter this problem.
Be careful which dlls you try to proxy. I tried public windows dlls like d3d9 or user32 whch 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 doesnt work.

0 comments on commit 60c6105

Please sign in to comment.