D2GI - is a graphical modification which adapts the game "King of the Road" (Hard Truck 2, Rig'n'Roll, Дальнобойщики 2) for modern PC. This is a Direct3D-wrapper, transferring the functionality of the legacy DirectDraw7 + Direct3D7 bundle to the Direct3D9, which works correctly on all modern Windows versions. Developed to replace existing GOG and dgVoodoo wrappers, since these are not wonderful in this game: GOG wrapper rendered graphics incorrectly, while dgVoodoo wrapper is full of freezes and crashes.
- Fixes incorrect graphics output ("Rainbow" bug, bug with an object's transparency etc.)
- Fixes problems with rendering the background of translucent objects
- Fixes a bug with overwriting screenshots and allows you to select the format and path for saving them
- You can specify any resolution with any aspect ratio (4:3, 16:9 etc.)
- 3 modes: windowed, borderless, fullscreen
- 32-bit color rendering
- An option to enable Anisotropic Filtering
- Compatibility with vanilla 8.1 or King of the Road 1.3 game versions (digital releases) and probably with some old versions
- Compatibility with SEMod 1.2
- Works stable, without freezes or crashes
- High FPS on low-end hardware (even on integrated GPU like Intel HD Graphics 4000)
- Game version 8.2, 8.1 or KotR 1.3 (only these are tested, maybe it works on another versions too)
- Windows XP or higher
You need to unzip the files into a game folder.
The d2gi.ini file has the following settings.
VIDEO section:
Width- Screen width like1920(0- auto)Height- Screen height like1080(0- auto)WindowMode- Window mode. Possible values:windowed,borderless,fullscreen.EnableVSync- Turn vertical sync on or off (1and0accordingly)FixAlpha- Turn correction of background rendering of translucent objects on or off (1and0accordingly)AnisotropyLevel- Force Anisotropic Filtering on textures to sharpen surfaces viewed at a steep angle, like the roads or terrain (1to16)
HOOKS section:
EnableHooks- Enable game functions hooking (projection matrix correction with any aspect ratio)EnableUIFix- Enable GUI functions hooking (improves the appearance of game menus when using wide screen resolutions)
SCREENSHOTS section:
SavePath- Path to the folder where screenshots will be savedImageFormat- Screenshots image format. Possible values:bmp,png,jpg