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

Feature Request - Bigger Mouse Cursor #51

Open
MetalEgl opened this issue Jul 25, 2024 · 1 comment
Open

Feature Request - Bigger Mouse Cursor #51

MetalEgl opened this issue Jul 25, 2024 · 1 comment

Comments

@MetalEgl
Copy link

Please add feature for enlarged mouse, as the default is far too small 32x32 pixels is very small on 3k+ monitors.

Please see https://github.com/allfoxwy/dxvk/releases (this .dll has texture errors, such as no floors)

@MetalEgl MetalEgl changed the title Feature Request - Bigger Mouse Feature Request - Bigger Mouse Cursor Jul 25, 2024
@allfoxwy
Copy link

allfoxwy commented Aug 15, 2024

Edited:
I recently looking into "how to hook into C++ function" problem again. And found some awesome genius do this: https://tresp4sser.wordpress.com/2012/10/06/how-to-hook-thiscall-functions/

Well, I guess it's fully possible for someone who is willing to do this feature in "hook style".

Original post:
Ah I accidentally see this post.

I think it's not easy to add this function in vanillafixes-like mods. Because they use a hooking technique. They replace existing STATIC function with a JMP instruction.

However DirectX is (mainly, if not all) used via C++
C++ function is not static. They have a self pointer which would be different each class instance. They can't be easily replaced by a JMP instruction.

And in DirectX 9, mouse cursor is handled by DirectX, not by operating system. This design was later changed in DirectX 11 but we are talking about an elder WoW game here.
If we replace mouse cursor by hooking into WinAPI, I think this should work in DirectX 11 but might fail on some DirectX 9 edge case.

I see you have texture errors. Could you try upstream DXVK if they work for you? I didn't touch anything about rendering.

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