Menu

Tree [r6] /
 History

HTTPS access


File Date Author Commit
 CHexDump 2008-09-27 smathieu [r2]
 Dependencies 2008-09-27 smathieu [r4]
 Launcher 2008-09-27 smathieu [r4]
 COPYING.txt 2008-09-27 smathieu [r2]
 Exports.def 2008-09-27 smathieu [r1]
 FakeDX9.cpp 2008-09-27 smathieu [r2]
 FakeDX9.h 2008-09-27 smathieu [r2]
 FakeDX9.sln 2008-09-27 smathieu [r1]
 FakeDX9.vcproj 2008-09-27 smathieu [r4]
 Filter.cpp 2008-09-27 smathieu [r2]
 Filter.h 2008-09-27 smathieu [r2]
 GUIGeometry.cpp 2008-09-27 smathieu [r2]
 GUIGeometry.h 2008-09-27 smathieu [r2]
 GamePostEffect.nsi 2008-09-28 smathieu [r5] Installer script : Vista compatibility
 Manual.txt 2008-09-27 smathieu [r4]
 MyDirect3D9.cpp 2008-09-27 smathieu [r2]
 MyDirect3D9.h 2008-09-27 smathieu [r2]
 MyDirect3DDevice9.cpp 2008-12-28 smathieu [r6] GamePostEffect : bug correction
 MyDirect3DDevice9.h 2008-12-28 smathieu [r6] GamePostEffect : bug correction
 ReadMe.txt 2008-09-27 smathieu [r4]
 SimpleTexturing.ps 2008-09-27 smathieu [r2]
 SimpleTexturing_psh.inl 2008-09-27 smathieu [r1]
 StateSaver.cpp 2008-09-27 smathieu [r2]
 StateSaver.h 2008-09-27 smathieu [r2]
 TGALoader.cpp 2008-12-28 smathieu [r6] GamePostEffect : bug correction
 TGALoader.h 2008-09-27 smathieu [r2]
 blur.ps 2008-09-27 smathieu [r2]
 blur.vs 2008-09-27 smathieu [r2]
 blur_gui.tga 2008-09-27 smathieu [r1]
 blur_gui_tga.inl 2008-09-27 smathieu [r1]
 blur_psh.inl 2008-09-27 smathieu [r1]
 blur_vsh.inl 2008-09-27 smathieu [r1]
 scrollbox_gui.tga 2008-09-27 smathieu [r1]
 scrollbox_gui_tga.inl 2008-09-27 smathieu [r1]
 stdafx.cpp 2008-09-27 smathieu [r2]
 stdafx.h 2008-09-27 smathieu [r2]

Read Me

-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Source code

The main directory contains the DirectX 9 Wrapper which adds
the post processing effect to DirectX9 games.

TGA images are converted into source code files, and are embedded into the
wrapper DLL. The conversion is achieved by CHexDump. Only one simple format is
accepted for TGA images. See the source code for details.

Vertex and pixel shaders are also converted to source code. This is achieved
by the pixel shader and vertex shader assembers (psa.exe and vsa.exe), which
are part of the Microsoft DirectX 9 SDK.

CHexDump directory contains a small utility project which converts binary files
to an array of 8-bit unsigned integers.

Launcher directory contains a small .NET 2.0 GUI which you can use to run
games without copying the DLL into their directory.

The main solution file is FakeDX9.sln. Use it to build all the projects.

All the projects are in Microsoft Visual Studio 2005 Service Pack 1 format.

-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Executable files

Executable files are generated into the Debug or Release directories, excepted
for CHexDump.exe which is used by the build process and must not be
redistributed.

- d3d9.dll is the DLL for the DirectX9 wrapper
- Launcher.exe is the small .NET GUI application, and must be in the same
directory as d3d9.dll. There should not be any other DLL in the same directory.

Launcher.exe requires the .NET Framework, version 2.0.

-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Installer

I use the Nullsoft Installer. The script is GamePostEffect.nsi. It generates a
setup.exe file from binaries in Release.
It needs a dependency on the Visual C++ 2005 SP1 Runtime Libraries. Check the
"Dependencies" directory.