Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Die by the Sword -- in-game mouse input laggy and imprecise #13

Open
jan-kleks opened this issue Nov 9, 2020 · 4 comments
Open

Die by the Sword -- in-game mouse input laggy and imprecise #13

jan-kleks opened this issue Nov 9, 2020 · 4 comments

Comments

@jan-kleks
Copy link

This game has an option called VSIM which allows to precisely control weapon movements using the mouse (DbtS was famous for this at the time of the release). However, on Windows 10 64-bit the setting does not work correctly, and unfortunately the latest version of dinputto8 does not help.

Die by the Sword demo (Glide wrapper might be necessary on newer systems): https://archive.org/details/DiebytheSword_1020

Workaround for the problem with unresponsive in-game menus on newer systems: https://support.gog.com/hc/en-us/articles/212450929-Die-By-The-Sword-Limb-From-Limb-In-game-menu-problem

@elishacloud
Copy link
Owner

dinputto8 is mainly just designed to convert DirectInput to DirectInput8, not necessarily fix compatibility issues in specific games. However, I will look into this and see if this is something I can fix. I may put the fix in my dxwrapper project.

@jan-kleks
Copy link
Author

Thank you that you consider looking into this. The mouse lag issue is probably the most serious one, here are two other problems that I have encountered:

-- DirectX 5 and software rendering do not work (at least on my Windows 10 64-bit installation)

-- the problem with unresponsive in-game menus on newer systems that I also mentioned in my first comment. The DbtS Xtended DirectX 9 engine (http://hazardx.com/files/dbts_xtended-86) generally seems to be fixing this issue, but for instance, the menu that you evoke with the Esc key during the actual gameplay is still very choppy, and even other menus can be slightly unresponsive from time to time. The discussion about the problem on Wine bug tracker: https://bugs.winehq.org/show_bug.cgi?id=27814

If you need any info or help with testing, please let me know.

@elishacloud
Copy link
Owner

I used a dinput8wrapper to solve a similar issue in another game, namely Call to Power 2. Try using this to see if it solves the issue: https://github.com/geeky/dinput8wrapper

Just use dinputto8 to redirect the game to use DInput8 and then use geeky's dinput8wrapper to fix the issue.

@elishacloud
Copy link
Owner

I just added some features to my dxwrapper project that should help with this:

  1. FixHighFrequencyMouse
  2. DeviceLookupCacheTime

Enabling FixHighFrequencyMouse will help with a number of issues, including cases where the games frame rate is too slow or the mouse input speed is too fast. It also helps if the game does not correctly support DirectInput's buffer overflow code.

Setting DeviceLookupCacheTime to a larger number helps with games that try and enumerate the attached devices too often, leading to shuttering and other input slowdowns.

Try this update: dxwrapper.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants