-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Wii TAS input: fix offset in IR coordinates #9018
base: master
Are you sure you want to change the base?
Conversation
Couldn't this be fixed properly by using the same routine that the emulated remote's |
The current value of the sensor bar position setting should ideally be taken into account for the y coordinate. This is how it's currently handled by the regular IR code:
However, I'm not sure if that approach works correctly in the case where the value of the setting in the temporary TASing NAND differs from the value of the setting in the normal NAND. Since the SYSCONF in the temporary NAND has most values set to the default, it may be better to not take the setting into account than to use an approach which takes the wrong setting into account. |
Looks like it could, Ideally by just extracting the conversion from |
@Felk |
Thank you for posting this issue. I have the same trouble with Resident Evil 4 for Wii which sometimes goes out of sync on specific IRs. In my case, 1x and 2x works fine, but 3x desyncs. Game ID: RB4E08.wbfs |
I don't think that this merge request will affect any TAS desyncing issues, as it's basically just a code refactor and gui change |
changing IR to games that read the framebuffer is expected to cause desyncs. |
The TAS input currently has some weird placement for its made-up IR lights. This causes an offset while the TAS UI suggests the cursor should be perfectly centered.
Here are before and after screenshots for visualization:
Also: Do you think adding a fixed offset to the y-coordinate is ok? This will probably make the offset worse for people who changed their sensor bar's position settings to "below screen", but I don't know if people even do that.