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.17k stars 83 forks source link

Cursor randomly flickers onto screen in Shogo #54

Open AlbertHamik opened 4 years ago

AlbertHamik commented 4 years ago

This is an issue that's been known about for awhile but mostly ignored/tolerated, but I was reading into solutions for the problem and really couldn't find any. We think it's caused by dgvoodoo 2 maybe, but it's necessary to use that utility otherwise the game doesn't render or capture correctly.

elishacloud commented 4 years ago

I have never seen this cursor flickering myself, but granted I have not played the game more than a few minutes at any given time. If this is caused by dgVoodoo2 it should be easy to find out by just removing dgVoodoo1 and playing the game native to see if the issue happens.

For me, I use dxwrapper's Dd7to9 feature which can convert the game to use Direct3D9. This feature requires software rendering because I have not yet implemented the 3D API's.

Here is what I am using: dxwrapper.zip

Note: make sure you use software rendering with this!

SoftRender

elishacloud commented 4 years ago

I should also mention that the quality is much better with 3D rendering. If you want to play with 3D rendering you can use this version. It will even let you play in 4K resolution.

Updated files with 3D rendering support: dxwrapper.zip

AlbertHamik commented 4 years ago

I was personally thinking that this might relate to the issue at hand: https://www.gamedev.net/forums/topic/332051-dinput--how-to-hide-the-mouse/

elishacloud commented 4 years ago

The mouse could definitely be hidden that way. Try this build. I just hard coded it to hide the mouse.

Just unzip this into the Shogo game folder: dinput.zip

AlbertHamik commented 4 years ago

Ah, that is precisely what we were looking for, thanks! It would be nice to have a customization .ini for dinputto8 that gave one an option to toggle this and other things, but I think this is pretty great otherwise.

OttScott commented 2 years ago

This definitely fixed the issue. I never like hard-coded values, so I too would prefer a preference exposed somewhere. Thanks for the fix though!

MasterO2 commented 6 months ago

I should also mention that the quality is much better with 3D rendering. If you want to play with 3D rendering you can use this version. It will even let you play in 4K resolution.

Updated files with 3D rendering support: dxwrapper.zip

@elishacloud, so for the file above, LithTech Direct3D Render (d3d.ren) is the renderer that needs to be selected in Shogo Display Settings, correct?

elishacloud commented 6 months ago

If you are using dd7to9 then you need to use the software renderer (soft.ren). dd7to9 does not yet have good enough Direct3D support for this game.