-
Notifications
You must be signed in to change notification settings - Fork 89
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
Command & Conquer: Generals – Zero Hour #286
Comments
I don't have the ability to test the game right now, but I put an update in for 1. Broken Alt+Tab. I already had code to remove the You can check out the build here with this change: https://github.com/elishacloud/dxwrapper/actions/runs/10148674548 As far as 2. Remapping WASD keys to ↑←↓→ keys., I am trying to make dxwrapper a generic tool for all kinds of games. I could make an option that will always redirect WASD keys to ↑←↓→ keys but that may break other things, like typing your name, etc. One way this could work is to add a hotkey to toggle the option on and off. As far as adding code for the keyboard remapping, I guess the best place to do that would be in the WndProc function handler. However, that code is currently only enabled for Given then issues with the key remapping, I don't plan to do this anytime soon. However, you are welcome to create a branch of the dxwrapper code and add it yourself or you can create your own dll that does this. Alternatively, you can load your dll from dxwrapper using the LoadCustomDllPath option. BTW: let me know if the code I put in fixes the Alt+Tab issue or not. |
elishacloud, thanks for your fast reply! I've downloaded and launched the latest build.
I've tested without SWP_NOZORDER and it worked as needed, removing the class:
I'm not sure how it must be added to your library so not to break support of other games etc. Also, maybe it's should be enabled some option? |
Good catch! I fixed it. I tested with a few games. I don't think it will cause an issue. But there could be other games that have the same issue as Command & Conquer: Generals Zero Hour so for now I'll just make it standard. I can always change it later if I find an issue with another game. You can test it here: https://github.com/elishacloud/dxwrapper/actions/runs/10154381394 |
Hooray, it works now like a charm! Since it works perfectly, I suggest you to add Command & Conquer: Generals – Zero Hour on the list of Compatible Games. I can make a pull request describing problems with launching the game on Windows 11 and configuration of dxwrapper to fix them. |
Ok, great.
Sure. Feel free to make a pull request. I am not that good at updating the documentation. Thanks! |
Okay I've got a little problem with cloning wiki repo on Windows haha
|
Those are readme pages for those games. I have never tried creating a PR for those items, so I am not sure what the issue is. |
git can't checkout a revision with files containing semicolons. Could you rename them? |
Good catch. Ok, I removed the colons. Try again. |
First of all I want to thank you for your project. Using it I've managed to fix unlimited framerate of the game on Windows 11 which was a source of broken animations of some objects and too fast movement of scrolling the map.
Now I'm working on some other fixes of the game:
So, my overall questions are: is there any functionality in the dxwrapper allowing me to change the style of the window?
And, is there any way to inject my own code?
The text was updated successfully, but these errors were encountered: