Nintendo Switch Clock(s)

impeeza

¡Kabito!
OP
Member
Joined
Apr 5, 2011
Messages
6,922
Trophies
3
Age
46
Location
At my chair.
XP
21,237
Country
Colombia
Hi everyone I was looking for information about the different(s) clock(s) inside the Switch, I use plurals because even there is really an only clock, different pieces of software uses different versions of the same clock with different offsets.

As long I know there are:
  • RTC Clock, It can be changed with EmuNAND Switcher or UBUNTU
  • Hekate (Really NYX) clock, set his offset with the RCT Clock on the file "SD:\bootloader\nyx.ini"
  • HOShave two clocks:
    • "NetworkSystemClock" Theoretically is set by the NTP daemon and can be changed with some Homebrew (see below).
    • "UserSystemClock" is set by user on the HOS interface
Searching on GBATemp, I found homebrew to change the NetworkSystemClock
https://gbatemp.net/threads/switchtime-manipulate-time-based-events-in-games.552477/
https://gbatemp.net/threads/luxray-...rd-and-shield-in-form-of-a-sys-module.557242/
https://gbatemp.net/threads/luxray-...rd-and-shield-in-form-of-a-sys-module.557242/

So, what is the difference between NetworkSystemClock and RCT?
 
Last edited by impeeza,

thesjaakspoiler

Well-Known Member
Member
Joined
Nov 20, 2018
Messages
1,090
Trophies
0
Age
124
XP
1,614
Country
Afghanistan
As far as I understand it, the RTC (Real Time Clock) is the real hardware clock, wired directly to the battery of your switch.
So even if you completely turn your Switch off, it will keep ticking.
The NetworkSystemClock fetches the time from an NTP server on the internet and probably they just calculate an offset between the RTC and NTP time.
But if you would never connect your Switch to the internet, it will never update the time and probably use the RTC as a fallback.

The UserSystemClock is also uses the RTC and also uses just an time offset.
Some operating systems separate the system clock from the user land clock in order to manage switching between timezones and summer/winter time more easily.
 
  • Like
Reactions: impeeza

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • NinStar @ NinStar:
    on tiramisu you can access it by opening mii maker
  • crafthp434 @ crafthp434:
    okay
  • NinStar @ NinStar:
    I don't have a wii u anymore to test it myself, but if homebrews are not visible on the wii u menu I think you can press L + R + minus to open the plugin menu, there should be an option called "homebrews on wii u menu" or something similar
  • crafthp434 @ crafthp434:
    nope
  • crafthp434 @ crafthp434:
    it is L+dpad down+ select
  • crafthp434 @ crafthp434:
    but homebrew is appearing in the home menu btw
  • NinStar @ NinStar:
    yes, now I remember it
  • NinStar @ NinStar:
    then it is working, I also don't like that they did this but it is the only option you have if you are using aroma
  • crafthp434 @ crafthp434:
    i just didint know the homebrew launcher didint exist in aroma
  • crafthp434 @ crafthp434:
    thanks btw
  • Xdqwerty @ Xdqwerty:
    Im downloading fallout 3 goty edition
    +1
  • BigOnYa @ BigOnYa:
    I'm downloading more ram for my hamster pc
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    New hamster PC, with anal operation and BT connectivity!
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, How do I make enemies respawn on gdevelop after
    the player dies?
  • Psionic Roshambo @ Psionic Roshambo:
    Carrying a PC or phone is so old school!
  • Psionic Roshambo @ Psionic Roshambo:
    Squeeze your cheeks twice to answer calls!
  • BigOnYa @ BigOnYa:
    @Xdqwerty you can use a "spawner" function on any object.
    +1
  • BigOnYa @ BigOnYa:
    Or when your player dies, you can say in code, if enemy exists, do nothing, but if enemy does not exist, then create enemy at certain spot. (This would be a pain tho for lots of emeies)
    +1
  • BigOnYa @ BigOnYa:
    Easiest, simple way would be just restart scene, but player would restart from beginning.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, thx in advance
    +1
  • Spider2190 @ Spider2190:
    Heya
  • Spider2190 @ Spider2190:
    How are you doing, @Xdqwerty
    ?
  • Psionic Roshambo @ Psionic Roshambo:
    Dolphin porn??? This man has my vote!!! Lol
    Psionic Roshambo @ Psionic Roshambo: Dolphin porn??? This man has my vote!!! Lol