• Stars
    star
    195
  • Rank 199,374 (Top 4 %)
  • Language
    C++
  • License
    zlib License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Wraps the main DirectX and Direct3D DLLs. It allows you to intercept calls to DirectX and Direct3D interface functions so that you can log API calls or you can add your own code into the game, such as enabling Anti-Aliasing or creating overlays in the game.

DirectX Wrappers

Introduction

Wraps the main DirectX and Direct3D DLLs. It allows you to intercept calls to DirectX and Direct3D interface functions so that you can log API calls or you can add your own code into the game, such as enabling Anti-Aliasing or creating overlays in the game. Once you have compiled this you can simply copy the DLL into the same folder as the game's executable and it should load it as if it were the real DLL file. It still forwards all calls to the real one in System32, it just allows stuff to happen in between.

Wraps the following versions of DirectX:

  • DirectX 1-7, DirectDraw and Direct3D (ddraw.dll)
  • DirectX 8, Direct3D (d3d8.dll)
  • DirectX 9, Direct3D (d3d9.dll)
  • DirectSound and DirectSound8 (dsound.dll)
  • DirectInput (dinput.dll)
  • DirectInput8 (dinput8.dll)

I plan to add these DLLs later:

  • d2d1.dll
  • d3d10.dll
  • d3d10core.dll
  • d3d11.dll
  • d3d12.dll

Note: It currently only works with 32bit games, but I might add 64bit support at some point.

License

Copyright (C) 2020 Elisha Riedlinger

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Code in this project is taken from:

Development

Development was done in C++ using Microsoft Visual Studio Community 2017.

More Repositories

1

dxwrapper

Fixes compatibility issues with older games running on Windows 10 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
C
987
star
2

Silent-Hill-2-Enhancements

A project designed to enhance Silent Hill 2 (SH2) graphics and audio for the PC. It also includes scripts to build or modify SH2 audio files (SFX, BGM and Dialog).
C
549
star
3

dinputto8

A dll module that is designed to improve compatibility in games using DirectInput 1-7 (dinput.dll) by converting all API calls to their equivalent DirectInput 8 (dinput8.dll) ones. This allows older games to be able to use newer tools and wrappers written for DirectInput 8.
C++
79
star
4

BloodRayne-2-Patch

Fixes the BloodRayne 2 'BR2 FSAA Patch 1.666' patch on Windows 8.1 and Windows 10.
C
17
star
5

dd7to9

Converts DirectDraw & Direct3D to Direct3D9
C++
10
star
6

Castle-Adventure

A graphical remake of the 1984 Castle Adventure game initially created by Kevin Bales.
C
8
star
7

Hooking

This project does API hooking using hot patching and IAT patching. It is intended to be used for use as a submodule in other projects to reduce code redundancy.
C++
8
star
8

NeuEncrypt

NeuEncrypt is a lightweight tool that allows you to encrypt all files in a particular folder. It is useful for testing anti-ransomware solutions.
C++
5
star
9

LoadWineD3D-ASI

An ASI file that loads the WineD3D dll's from the ASI 'scripts' folder. This way you can load different DirectX dll files (or no DirectX dll files) from the game's EXE folder.
C
3
star
10

wiki-attachments

Used for attachments on github wiki.
2
star
11

CirclesTail

This screensaver made with VB.NET that features a dynamic circle and moving line, offering users a wide range of customizable options.
Visual Basic .NET
1
star