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

Eorzea Time Control #717

Merged
merged 1 commit into from
Dec 20, 2021
Merged

Eorzea Time Control #717

merged 1 commit into from
Dec 20, 2021

Conversation

AsgardXIV
Copy link
Collaborator

@AsgardXIV AsgardXIV commented Dec 20, 2021

This switches Time Control back to using/modifying Eorzea Time. This means that things like the music, as well as the time when entering gpose, are correct for the set time of day. Basically it behaves like it did before Endwalker from a user perspective and that seems to be what people want/expect.

Basically the approach I took here was to find out where the game writes the time to the well known Eorzea Time location and patch out that mov/copy when time control is enabled so we can control it directly.

Like with my last PR, these are fresh sigs and offsets so I've ensured they run across multiple process launches for me but some Alpha testing to verify it works for everyone as well as ensuring it doesn't impact something I didn't think to check would be good.

One other note, when developing this I discovered the offset for gpose time. I haven't hooked into it because there is some weirdness that it must be 0 outside of gpose so it'd have to track when it's set, when to clear it and all that and it seems unnecessary as setting time directly in gpose has never been supported without unchecking. However, I thought this might be useful for Scenes or similar where it's a one time set, so left a comment with the offset.

@Yuki-Codes Yuki-Codes merged commit 5426836 into imchillin:master Dec 20, 2021
@Yuki-Codes
Copy link
Contributor

another good one!

@AsgardXIV AsgardXIV mentioned this pull request Dec 21, 2021
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

Successfully merging this pull request may close these issues.

2 participants