Skip to content

Commit 1ae3b38

Browse files
committed
update project info
1 parent b1afb20 commit 1ae3b38

3 files changed

Lines changed: 29 additions & 36 deletions

File tree

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,14 @@ DATA := data
4444
INCLUDES := include
4545
#ROMFS := romfs
4646

47-
VERSION_MAJOR := 1
48-
VERSION_MINOR := 0
49-
VERSION_MICRO := 1
47+
VERSION_MAJOR := 0
48+
VERSION_MINOR := 1
49+
VERSION_MICRO := 0
5050

51-
APP_TITLE := NX-ntpc
52-
APP_AUTHOR := thedax
51+
APP_TITLE := SwitchTime
52+
APP_AUTHOR := 3096, thedax
5353
APP_VERSION := ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_MICRO}
54+
5455
#---------------------------------------------------------------------------------
5556
# options for code generation
5657
#---------------------------------------------------------------------------------

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# NX-ntpc
2-
A crude NTP client for the Switch.
1+
# SwitchTime
2+
Change NetworkSystemClock
33

4-
# What's it do?
5-
It contacts a time server at http://ntp.org and sets the Nintendo Switch's clock appropriately.
4+
## Credit
5+
- [@thedax](https://github.com/thedax) for NX-ntpc, from which this project is forked.
66

7-
# How do I compile it?
8-
Install [devkitA64 (along with libnx)](https://devkitpro.org/wiki/Getting_Started), browse to the directory containing this project's `Makefile`, and type `make`.
7+
## Functionality
8+
- Change time by day/hour
9+
- Contact a time server at http://ntp.org to set the time back to normal
910

10-
# How do I use it?
11-
Run the NRO from the hbmenu, or send it over nxlink. An internet connection is required for this application to work, but it does not contact Nintendo's servers, so it should be friendly in 90DNS and other Nintendo-blocked environments. If "Synchronise Clock via Internet" (in System Settings -> System -> Date & Time) is enabled before launching this application, the time will automatically update correctly on the console's Home Screen. If it is not enabled, the application will ask if you wish to enable it, and then reboot afterward to correct the time, or offer a way to exit without enabling internet time sync.
11+
## Building
12+
Install [devkitA64 (along with libnx)](https://devkitpro.org/wiki/Getting_Started), and run `make` under the project directory.
1213

13-
14-
*Sample output of a successful use.*
15-
![image](https://i.imgur.com/fu7bE87.png)
14+
## Disclaimer
15+
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.)

source/main.c

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
/* This is free and unencumbered software released into the public domain.
22
3-
Anyone is free to copy, modify, publish, use, compile, sell, or
4-
distribute this software, either in source code form or as a compiled
5-
binary, for any purpose, commercial or non-commercial, and by any
6-
means.
7-
8-
In jurisdictions that recognize copyright laws, the author or authors
9-
of this software dedicate any and all copyright interest in the
10-
software to the public domain. We make this dedication for the benefit
11-
of the public at large and to the detriment of our heirs and
12-
successors. We intend this dedication to be an overt act of
13-
relinquishment in perpetuity of all present and future rights to this
14-
software under copyright law.
15-
16-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22-
OTHER DEALINGS IN THE SOFTWARE.
3+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or
4+
as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
5+
6+
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright
7+
interest in the software to the public domain. We make this dedication for the benefit of the public at large and to
8+
the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity
9+
of all present and future rights to this software under copyright law.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
12+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE
13+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
14+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2315
2416
For more information, please refer to <https://unlicense.org> */
2517

0 commit comments

Comments
 (0)