Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

QuickNTP Switch

From GameBrew
Revision as of 11:05, 4 April 2023 by HydeWing (talk | contribs) (Created page with "{{Infobox Switch Homebrews |title=QuickNTP |image=quickntpswitch.png |description=A Tesla plugin for Nintendo Switch to sync time with NTP servers. |author=nedex |lastupdated=2023/04/04 |type=Plugins |version=1.2.8 |license=GPL-2.0 |download=https://dlhb.gamebrew.org/switchhomebrews/quickntpswitch.7z |website=https://gbatemp.net/threads/quickntp-sync-time-using-tesla.561716/ |source=https://github.com/nedex/QuickNTP |donation= }} {{#seo: |title=Switch Homebrew Apps (Plug...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
QuickNTP
File:Quickntpswitch.png
General
Authornedex
TypePlugins
Version1.2.8
LicenseGPL-2.0
Last Updated2023/04/04
Links
Download
Website
Source

QuickNTP is a Tesla plugin designed for Nintendo Switch that enables you to synchronize the system clock with NTP servers.

Overview

By utilizing a list of public NTP servers, QuickNTP can update your Nintendo Switch's clock. This is particularly helpful in situations where a custom DNS is being used or when the connection is limited. If you rely on Nintendo's servers for updating your clock, you may encounter an issue where the Switch's clock gains a few minutes each month. However, with QuickNTP, you can now quickly and easily update your clock by connecting to a public NTP server.

Features

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

Possible future features

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

Requirements

  • Tesla overlay

Installation

  • Copy the .ovl file in /switch/.overlays/
  • Start the Tesla overlay (no need to restart the console)
  • Select QuickNTP from the menu

Screenshots

quickntpswitch-01.png quickntpswitch-02.png

Troubleshooting

The "Synchronize Clock via Internet" option should be enabled in System settings as described here, since this program changes the "Network clock" (immutable in settings).

Disclaimer

Please don't send a lot of requests. NTP servers should be requested in 36 hours intervals This program changes NetworkSystemClock, which may cause a desync between console and servers. Use at your own risk! It is recommended that you only use the changed clock while offline, and change it back as soon as you are connected (either manually or using ntp.org server.)

Changelog

v.1.2.8

  • Updated to latest libtesla which fixes a crash in docked mode.

v.1.2.7

  • Support for 16.0.0

v.1.2.6

  • Added Cloudflare and Google NTP servers ( Thanks to @DraconicNEO! )
  • Tested up to 15.0.1 with Atmosphere 1.4.0

v.1.2.5

  • Updated to C++20
  • Code optimized: now using exceptions and "proper" strings
  • Updated with libnx 4.2.1-1 and latest libtesla (930ce85).
  • Tested up to 14.1.2 with Atmosphere 1.3.2

v.1.2.1

  • Updated with libnx 4.1.3-1 and newer libtesla.
  • Tested up to 12.1.0 with Atmosphere 0.19.5

v.1.2.0

  • Added new option to set network time to user-set time
  • Tested up to 10.2.0 with Atmosphere 0.14.4

v.1.1.1

  • Updated with libnx 3.3.0 and latest libtesla.
  • Tested up to 10.2.0 with Atmosphere 0.14.4

v.1.1.0

  • Update including minor changes, with latest libnx and libtesla.
  • Tested up to 10.0.2, with Atmosphere 0.12.0

v.1.0

  • First Release.

Credits

Code and libraries

  • @3096 for SwitchTime who gave me the initial idea and some code examples
  • @thedax for NX-ntpc, used by @3096
  • @SanketDG for the NTP Client using getaddrinfo instead of gethostbyname
  • @WerWolv for libtesla

Contributors

  • @DarkMatterCore (library updates)
  • @DraconicNEO (new NTP servers)

External links

Advertising: