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

Sntp Wii: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 1: Line 1:
{{#seo:
|title=Wii Homebrew Apps (Other Apps) - GameBrew
|title_mode=append
|image=wii-logo.jpg
|image_alt=sntp
}}
{{Infobox Wii Homebrews
{{Infobox Wii Homebrews
|title=sntp
|title=sntp
|image=wii-logo.jpg
|image=sntpwii2.png
|description=A small homebrew that syncs the time of your wii to NTP.
|description=A small homebrew that syncs the time of your wii to NTP.
|author=ErikAndren
|author=ErikAndren
Line 18: Line 12:
|source=https://github.com/ErikAndren/sntp
|source=https://github.com/ErikAndren/sntp
}}
}}
'''Sntp''' is a utility for the Nintendo Wii that synchronizes the system time with the NTP time. There are two options for using this utility:
This is a small utility developed for the Nintendo Wii which will synchronize the system time to the NTP time.
 
==User guide==
There are two options on how to use this utility:


# Manual Adjustment: The user can manually adjust the time zone using the Wii remote or GameCube controller. The time zone is not saved, so it will need to be adjusted manually each time.
Option 1:
#Configuration using a time zone configuration file: To use this option, create a tzdb.cfg file on the root of the SD card in your Wii. Populate the file with the following lines:
* Manual adjustment using the Wiimote or GameCube controller.
<pre>
* Timezones are not remembered and will have to be adjusted manually by the user.
http://api.timezonedb.com/v2.1/get-time-zone?key=MY_API_KEY&format=json&by=zone&zone=America/Toronto&fields=gmtOffset
autosave
</pre>


You will need to register for an account at timezonedb.com, and replace MY_API_KEY with the API key you receive. You can also change the time zone from the list available at https://timezonedb.com/time-zones. If you want the utility to exit automatically after adjusting the time, keep the "autosave" line, otherwise, remove it.
Option 2:
* Configuration using a timezone configuration file. Create a tzdb.cfg on the root of the SD card in your Wii.
* Populate it with the following lines: <code><nowiki>http://api.timezonedb.com/v2.1/get-time-zone?key=MY_API_KEY&format=json&by=zone&zone=America/Toronto&fields=gmtOffset</nowiki></code>
* Autosave.
* Register an account at [https://timezonedb.com/ timezonedb.com].
* Change the MY_API_KEY to the api key you will receive.
* Change the timezone from the list available at [https://timezonedb.com/time-zones timezonedb.com].
* If you want the utility to exit automatically after adjustment keep the autosave, otherwise remove.


It's important to note that this utility changes the counter bias, which is part of the system configuration. There is always a risk that updating this counter bias could corrupt your system. I shall not be held responsible if this happens. I have tested this on my Wii system, and it works fine. Happy hacking!
Implementation details:
*Timekeeping is done by reading the (ever incrementing) Real Time Clock (RTC) and a counter bias stored in a system configuration.
*If you adjust your time in the wii menu or by using this program the counter bias is changed.
*There is always a risk that updating this counter bias could corrupt your system as it is part of the system configuration.
*The author shall not be held responsible if this would happen. This has been tested by the author on the Wii system.


==External Links==
==External Links==
* Gbatemp - https://gbatemp.net/threads/sntp-small-homebrew-that-syncs-the-time-of-your-wii-to-ntp.583042/
* GBAtemp - https://gbatemp.net/threads/sntp-small-homebrew-that-syncs-the-time-of-your-wii-to-ntp.583042/
* Github - https://github.com/ErikAndren/sntp
* GitHub - https://github.com/ErikAndren/sntp

Revision as of 13:32, 24 February 2023

sntp
Sntpwii2.png
General
AuthorErikAndren
TypeOther Apps
Version1.2.0
LicenseMIT License
Last Updated2022/04/09
Links
Download
Website
Source

This is a small utility developed for the Nintendo Wii which will synchronize the system time to the NTP time.

User guide

There are two options on how to use this utility:

Option 1:

  • Manual adjustment using the Wiimote or GameCube controller.
  • Timezones are not remembered and will have to be adjusted manually by the user.

Option 2:

  • Configuration using a timezone configuration file. Create a tzdb.cfg on the root of the SD card in your Wii.
  • Populate it with the following lines: http://api.timezonedb.com/v2.1/get-time-zone?key=MY_API_KEY&format=json&by=zone&zone=America/Toronto&fields=gmtOffset
  • Autosave.
  • Register an account at timezonedb.com.
  • Change the MY_API_KEY to the api key you will receive.
  • Change the timezone from the list available at timezonedb.com.
  • If you want the utility to exit automatically after adjustment keep the autosave, otherwise remove.

Implementation details:

  • Timekeeping is done by reading the (ever incrementing) Real Time Clock (RTC) and a counter bias stored in a system configuration.
  • If you adjust your time in the wii menu or by using this program the counter bias is changed.
  • There is always a risk that updating this counter bias could corrupt your system as it is part of the system configuration.
  • The author shall not be held responsible if this would happen. This has been tested by the author on the Wii system.

External Links

Advertising: