Skip to content

nedex/QuickNTP

 
 

Repository files navigation

QuickNTP


Update your Nintendo Switch clock using a list of NTP servers

When using a custom DNS (or a limited connection), it might not be possible to update your clock using Nintendo servers, causing the Switch to get out of sync easily.

With this Tesla plugin, you can now quickly update your clock using your custom NTP servers!

QuickNTP badge GPLv2 License Badge


Preview

Features

  • Update the time by selecting from a list of servers (customizable!)
  • Show the current offset compared to the selected server
  • Set the internal network time to the time set by the user in system settings (time traveling, yay!)

Customize servers

Since v1.5.0, you can create or modify the provided quickntp.ini file, with the following syntax:

[Servers]
My_Ntp_Server = ntp.example.com

Underscores will be replaced by spaces in the UI!

The homebrew will look for the file with the following order priority:

  • /config/quickntp.ini
  • /config/quickntp/config.ini
  • /switch/.overlays/quickntp.ini

Note: If the file is missing or invalid, only the NTP Pool Main server will be shown.

Possible future features

  • Better error handling / messages
  • Show a clock with seconds
  • Turn the heart icon into a clock (need to check the font)
  • Get the time in a separate thread
  • Pick the closest NTP server based on user region
  • Update the time with milliseconds (may be a system limitation)

Contributors

Credits

Special thanks

Code and libraries

Suggested NTP servers

Troubleshooting

  • The "Synchronize Clock via Internet" option should be enabled in System Settings as described here, since this program changes the "Network clock" (which is immutable in settings).
  • If the only server shown is NTP Pool Main, there is a problem with the quickntp.ini file located in the config directory on the SD card. More details here.

Disclaimer

  • Please don't send a lot of requests to public servers. NTP servers should only be queried at 36-hour intervals.
  • This program changes the NetworkSystemClock, which may cause a desync between the console and servers. Use at your own risk!

About

A Tesla plugin for Nintendo Switch to sync time with NTP servers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 66.5%
  • Makefile 33.4%
  • Dockerfile 0.1%