-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support modding dual UWP/XInput applications #41
base: master
Are you sure you want to change the base?
Conversation
If a process can use either the XInput or UWP mod, enter it into the process list twice, once for each mod kind, instead of only listing the UWP mod as an option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently I can't write C# without an IDE to yell at me
It's that our process finding code is really dumb, and modded Celeste probably has something injected that brings in UWP somewhere, even though the main game doesn't bind to it. What we should do is have our injected code handle both XInput and UWP hooking at the same time, mainly because I'm also going to yank our process enumeration w/ library info since that's what triggers antivirus software. That said, I've been saying I've been going to do that for years and here we are, so I'll take this for now at least. |
Does that mean this PR is good to merge (once you find the time to do so)? I've fixed the silly issues and the PR as it stands is what I used to take the example screenshot. |
If a process can use either the XInput or UWP mod, enter it into the process list twice, once for each mod kind, instead of only listing the UWP mod as an option.