elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.16k stars 83 forks source link

How to make RealDllPath work? Using dxwrapper with Colin McRae Rally 1 #131

Open daninthemix opened 2 years ago

daninthemix commented 2 years ago

I'm trying to use DxWrapper with Colin McRae Rally 1, and also DgVoodoo.

DxWrapper because it's the only way to have the game actually run smoothly. And DgVoodoo to run it in high resolution and without changing my desktop res to 800x600 (grrrr!).

The only 2 lines I edited in dxwrapper.ini are:

Dd7to9 = 1 RealDllPath = C:\Games\Misc\CMRally\D3D9.dll

The latter is a DgVoodoo dll. But I only got DxWrapper, not DgVoodoo.

What am I doing wrong here?

daninthemix commented 2 years ago

Oops, my ini needed to match the dll file name. It now adds DgVoodoo to the mix, but then crashes.

daninthemix commented 2 years ago

Well, the FullscreenWindowMode and DxWnd options outright crash. Is it literally impossible to run this damn game without changing my desktop res?

elishacloud commented 2 years ago

Dd7to9 = 1

This game uses Direct3D and the Dd7to9 option does not yet work with Direct3D games.

It now adds DgVoodoo to the mix, but then crashes.

If you are using the Dd7to9 option that could be why it is crashing.

Well, the FullscreenWindowMode and DxWnd options outright crash.

For this game, the FullscreenWindowMode option requires the Dd7to9 option which does not work with this game.

I added a quick hack for this game that will stretch the image to fill the screen without changing resolutions. Try using this wrapper update: dxwrapper.zip

Edit: I updated it and added support for integer scaling and an option to keep aspect ratio.

Required settings for this feature:

EnableDdrawWrapper         = 1
DdrawUseNativeResolution   = 1

Optional settings for this feature:

DdrawIntegerScalingClamp   = 1
DdrawMaintainAspectRatio   = 1
relampago-azul commented 11 months ago

Dd7to9 = 1

This game uses Direct3D and the Dd7to9 option does not yet work with Direct3D games.

It now adds DgVoodoo to the mix, but then crashes.

If you are using the Dd7to9 option that could be why it is crashing.

Well, the FullscreenWindowMode and DxWnd options outright crash.

For this game, the FullscreenWindowMode option requires the Dd7to9 option which does not work with this game.

I added a quick hack for this game that will stretch the image to fill the screen without changing resolutions. Try using this wrapper update: dxwrapper.zip

Edit: I updated it and added support for integer scaling and an option to keep aspect ratio.

Required settings for this feature:

EnableDdrawWrapper         = 1
DdrawUseNativeResolution   = 1

Optional settings for this feature:

DdrawIntegerScalingClamp   = 1
DdrawMaintainAspectRatio   = 1

Hi! So, tried your hack (also neded to add DdrawFixByteAlignment = 1) and the game runs smoothly at fullscreen but with some texture overlaping problems game capture . With the regular dxwrapper those issues do not occur, image is perfect, but stucked to 800x600. Any thing i can do?