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] System time and date fetching #4491

Closed
RedDevilus opened this issue Jun 11, 2021 · 12 comments · Fixed by #12208
Closed

[Feature Request] System time and date fetching #4491

RedDevilus opened this issue Jun 11, 2021 · 12 comments · Fixed by #12208
Labels
Enhancement / Feature Request FR: Low Complexity Good for a first time contribution! FR: Low Priority Niche request that does not benefit many users. GUI/Qt

Comments

@RedDevilus
Copy link
Contributor

Description

Detach OS time and date from PCSX2 internal BIOS time and date
Reason

Some games rely on specific dates to work properly in PCSX2. It will also prohibit messing with the OS time and forgetting about it.
Examples

image

@maxdlpee
Copy link

May I ask for examples of what games require specific dates to work properly? AFAIK, no games require that, so this would be pointless.

@MrCK1
Copy link
Member

MrCK1 commented Jun 13, 2021

Metal Gear Solid 3 relies on timed events (which use the system clock), so this could be helpful for fast forwarding those.

@weirdbeardgame
Copy link
Contributor

Metal Gear solid for one thing

@Mrlinkwii
Copy link
Contributor

This may also help with speed running /input recording , some game use the RTC as a determining many RNG factors ( games such as FFX )

@Kryomancer
Copy link

To add onto this, Ratchet & Clank games feature secret developer museums that are only accessible at a specific hour late at night. Being able to set the clock manually without having to mess with the OS clock would make accessing this content a lot more convenient.

@F0bes
Copy link
Member

F0bes commented Jan 29, 2022

I've looked into this, WX doesn't have a proper date time selector afaict. Maybe when we move to Qt this could be easier to do.

@kage2051
Copy link

kage2051 commented Jan 29, 2023

This may also help with speed running /input recording , some game use the RTC as a determining many RNG factors ( games such as FFX )

I agree. Dolphin has this setting for toggling at any time, and when this setting is enabled, it always throws the same RNG output. A pretty clear example is Tornado Outbreak on the Wii, where the animation during the second company logo (before the BinkVideo screen) is different depending on the system's clock, btw it appears if no buttons are pressed during the logos. If this RTC value is always constant, the aforementioned animated screen will never change between runs or playbacks.

@TheTechnician27
Copy link
Contributor

TheTechnician27 commented Jan 2, 2024

@RedDevilus @F0bes What do you think now that v1.7 has long-since moved to Qt?

@RedDevilus
Copy link
Contributor Author

It still makes sense to have a decoupling option to have a different time and date to system one. As being less intrusive than changing your computer real clock can have some weird side-effects or even forgetting to reset it to the correct time.

@crying2theocean
Copy link

please add this!

@refractionpcsx2
Copy link
Member

Please don't bump issues unless you are being constructive, thank you.

@TheTechnician27
Copy link
Contributor

Hey, Red, I think I'm going to start working on this. :) I'm busy with schoolwork, so it could take a while, but this has been up for 2.5 years at this point. Still, I think it's really important for speedrunners, glitch-hunters, and those who play games that rely on timed in-game events.

I'd like to add a tri-state checkbox which allows for both a global and per-game setting. In essence:

  • If you don't have a per-game setting enabled, PCSX2 will default to the global setting.
  • If you don't have a global setting, PCSX2 will default to the system time.

The range of dates will be from 2000-01-01 at 00:00:00 to 2099-12-31 at 23:59:59. The range of times technically depends on your BIOS' timezone, but for now, that seems like a bit overkill, so this just standardizes it to use Japan's range of times (GMT +9). The time naturally rolls over, so there should be no issue with letting users set the start time to that maximum, but anything outside of that range will automatically: a) be rounded up/down to the appropriate minimum/maximum, or b) be explicitly rejected and the user told to enter a valid value.

I think the option should go in the 'Emulation' tab. If this were just a global setting, I would put it under 'BIOS', but per-game settings don't have that.

@F0bes F0bes added FR: Awaiting Consideration The feature request is awaiting a team members consideration. FR: Low Priority Niche request that does not benefit many users. FR: Low Complexity Good for a first time contribution! and removed FR: Awaiting Consideration The feature request is awaiting a team members consideration. labels Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement / Feature Request FR: Low Complexity Good for a first time contribution! FR: Low Priority Niche request that does not benefit many users. GUI/Qt
Projects
None yet
Development

Successfully merging a pull request may close this issue.