d3d9.dll Proxy - FPS Fix, Controller Remapping, and more!
Feb 3, 2016 17:37:51 GMT 10
HisBoyfriend, Wesky, and 2 more like this
Post by atom0s on Feb 3, 2016 17:37:51 GMT 10
====================================================================================================
Resident Evil Zero - D3D9 Proxy - by atom0s
Find the latest version of this project here:
http://dl.atom0s.com/?dir=Game%20Specific/Resident%20Evil
====================================================================================================
Donations
----------------------------------------------------------------------------------------------------
Donations are appreciated, no matter the amount. It helps keep me motivated to work on things
for the community. Want to say thanks? Enjoy my work? Why not donate!
I accept donations through Paypal. You can donate, even without an account, by using this link:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7U7Q2GRT6KUJN
Included Files
----------------------------------------------------------------------------------------------------
This release includes the following files:
- d3d9.dll - The main file that is required for this to work.
- d3d9proxy.ini - The configuration file where you can adjust settings.
- README.txt - This read me file you are probably not reading right now.
What does this project do?
----------------------------------------------------------------------------------------------------
This project aims to help fix some FPS lag issues with the game, as well as adjust other things
that may be beneficial to those that have lower-end machines. This project may also contain
more features later on that may or may not deal with FPS issues or other performance issues.
This project is a drop-in DLL file that proxies the games Direct3D interface creation.
How does this project work?
----------------------------------------------------------------------------------------------------
When the game first starts, it loads d3d9.dll. On a Windows based machine, a DLL is loaded by
checking for the requested module in specific locations. Those locations are done in a certain
order. By default, Windows uses the following order for desktop applications:
1. The directory where the application is loaded at. (ie. C:\Program Files (x86)\Steam\SteamApps\common\Resident Evil 0)
2. The Windows system directory. (ie. C:\Windows\System32)
3. The Windows 16bit system directory. (ie. C:\Windows\System)
4. The Windows directory. (ie. C:\Windows)
5. The current directory. [This can change based on the applications usage of certain API.]
6. The directories listed in your systems PATH environment variable.
You can read more about this here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
Because of the order of how things are loaded, if we place a fake d3d9.dll in the same folder
as the application, it will be loaded instead of the one found within your System32 folder.
This allows us to proxy the functions of d3d9.dll and hook the rendering engine easily.
The d3d9.dll included with this project forwards all the exports of the real d3d9.dll except
for the export 'Direct3DCreate9'. Instead, with this one, the returned device is wrapped and
used for various features for editing how the game handles certain things.
How do I use / install this?
----------------------------------------------------------------------------------------------------
Extract the d3d9.dll and d3d9proxy.ini file from the archive and place them in the same folder
as the games executable, re0hd.exe. If installed correctly, you should have the following files
in the same folder together:
- _CommonRedist (folder)
- nativePC (folder)
- d3d9.dll
- d3d9proxy.ini
- re0hd.exe
- steam_api.dll
Once you have placed the files in the proper location you can edit the .ini file with an editor
like notepad. Simply open the file then read the information in the file on how to properly
make edits.
Be sure to only edit things you understand! Editing things incorrectly or with bad values can
cause the game to crash. Crashes can lead to corrupting your save data! Edit with care!
Who made this project?
----------------------------------------------------------------------------------------------------
The creator of this project is: atom0s
You can contact me or find my other projects via:
- Website: http://atom0s.com/
- Email : atom0s@live.com
- Steam : atom0s
Special Thanks To...
----------------------------------------------------------------------------------------------------
Thanks to the following people:
blad3zer0 - Purchased the game for me to make this project.
Legal (The boring shit no one reads..)
----------------------------------------------------------------------------------------------------
I, atom0s, am not responsible for what happens while you use this project.
You understand that by using this proxy dll, I am not responsible if:
- Your game crashes.
- Your save data corrupts.
- Your house burns down.
- Your cat explodes.
- Nuclear fallout happens.
- Or anything else you can think of.
You take full responsiblity for using this project.
USE AT YOUR OWN RISK.
Requirements
You need to install the following two files to make this work:
www.microsoft.com/en-us/download/details.aspx?id=48145
www.microsoft.com/en-us/download/details.aspx?id=49984
You only need to install the 32bit versions of these files. (The ones that say 32bit or x86 in the name.)
The 64bit versions do not matter for this project and will not make it work.
Download
You can find the latest download here:
dl.atom0s.com/?dir=Game%20Specific/Resident%20Evil