Hacking Apparently it IS possible to trick nes golf into loading on your switch

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
NES GOLF or Pegaswitch? NES GOLF will work on any Switch, any firmware, if the date is correct. Pegaswitch works on 1.0 - 3.0.

If you're got Pegaswitch running and you've managed to run the setRtc script then you should be set. If you're struggling to launch NES GOLF, hold the joycons in each hand, hands down at your side, the important bit is with the joycons pointing DOWN at the ground, then bring your arms up and swivel the joycons to be facing upright, then reach forward and hold. I couldn't get it to launch until I started with the joycons pointed down towards the ground before doing the motion.

THIS. I was flailing around like an idiot for 20 minutes before I read this post, then did it right on my next try. If this motion is done correctly, the R and L buttons should start off pointing at the ground and finish pointing directly up, if that helps anyone.
 
Last edited by machinoman,
  • Like
Reactions: cherryduck
D

Deleted User

Guest
learning about linux subsystem within windows 10 will probably earn me tons of loot in the next few years from using linux within windows to figure out certain issues for users/businesses. So it's super useful knowledge. In terms of pegaswitch I feel this little exercise was sorta like my hello to the scene. When homebrew is released I will be much more prepared so again very useful and mucho thanks to blinkzane
 
  • Like
Reactions: blinkzane

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
Not that I know of, but... You could try running Debian (Google how to do it) on your phone/tablet/computer and running PegaSwitch from there, it would just be very slow.

There is an app for android devices called Termux that is apparently NodeJS compatible as well.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,005
Trophies
2
Age
29
Location
New York City
XP
13,372
Country
United States
So I have Windows 7 and I tried the following which was suggested earlier in the thread:
In case anyone with Windows 7 wants to try this. You could run start.js with option --disable-curses and set the log to a file.

Here are the steps that I use:
Code:
0. Make triple sure that your Nintendo Switch cannot connect to Internet (only to your home network) and
   its Primary and Secondary DNS are set to your PC IP address
   (since I use System Update to connect to PegaSwitch on step 4 below,
   or you could use Connection Test)
1. Open command window with administrator right
2. Use the following command:
   node start.js --disable-curses --logfile debug.txt
3. Wait until it says:
   "Responding with address xxx.xxx.xxx.xxx
    Switch DNS IP: xxx.xxx.xxx.xxx (Use this to connect)"
   where xxx.xxx.xxx.xxx is your PC IP where you run this command window
4. On your Nintendo Switch, go to System Settings menu and choose System Update
5. Wait, and be patient (in case this is the first time running/connecting PegaSwitch)
6. You will see PegaSwitch by ReSwitched on Nintendo Switch screen
7. On command window you get the message:
   "Switch connected"
8. Use the following command in that command window:
   evalfile ./usefulscripts/setRtc.js
9. It produces the message:
   "'no output'"
10. On your Nintendo Switch, press button "B" to go back to System Settings menu
    (this will disconnect PegaSwitch)
11. Check Date and Time in the System Settings menu and it should show Current date and time:
    "7/11/2017 8:00 am"
12. Now press button "B" again until you are in the Home menu
13. Do Iwata's "Directly to You" gesture with left and right Joy-Cons
14. Profit...

And here is the video capture of Nintendo Switch while executing those steps.


Cheers.

However, when I try running the command, I get an error saying:
Code:
module.js:471
    throw err;
    ^

Error: Cannot find module 'browserify'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (E:\Sub\pegaswitch-master\start.js:6:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
Anyone have any idea what I'm missing here?
 

machinoman

Well-Known Member
Member
Joined
Feb 12, 2011
Messages
322
Trophies
0
XP
611
Country
United States
So I have Windows 7 and I tried the following which was suggested earlier in the thread:

However, when I try running the command, I get an error saying:
Code:
module.js:471
    throw err;
    ^

Error: Cannot find module 'browserify'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (E:\Sub\pegaswitch-master\start.js:6:20)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
Anyone have any idea what I'm missing here?
try
npm install browserify
and then try again
 
  • Like
Reactions: Draxzelex

senas8

Well-Known Member
Member
Joined
Apr 3, 2011
Messages
180
Trophies
1
XP
524
Country
United States
I wonder if we can use this trick to play mario odyssey.. since as of today we can preload the game.. if we can change the date like the golf game can we start the game earlier then Friday?
 

Nezztor

Well-Known Member
Member
Joined
Nov 8, 2016
Messages
488
Trophies
0
XP
1,338
Country
Mexico
I wonder if we can use this trick to play mario odyssey.. since as of today we can preload the game.. if we can change the date like the golf game can we start the game earlier then Friday?

This only works on 3.0.0 fw , oddysey is only for 3.0.1+ so you cant
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,005
Trophies
2
Age
29
Location
New York City
XP
13,372
Country
United States
try
npm install browserify
and then try again
Well I did that but after I ran node start.js --disable-curses --logfile debug.txt, i got a similar error except another module was missing. So I tried npm install on that one and reran the command. I get yet again the same error and solve it the same way. I do this for about 10 modules until finally I get an error message telling me Port 53 is being used. I turned off my Firewall, tried enabling port 53, and anything else Google could think of to get past this issue. And by some miracle, after I manually inputted the command, I finally got the IP address to input into my Switch. The rest of my struggle is history. And here is my proof:
22814046_10218272480150410_6820463849193157263_n.jpg
So thanks to everyone who personally helped me with getting this up and running, the makers of pegaswitch, but most importantly Satoru Iwata. :D
 
Last edited by Draxzelex,

Finalxfantasy

Well-Known Member
Newcomer
Joined
Feb 28, 2018
Messages
60
Trophies
0
XP
664
Country
United States
Twitter user jam1garner was able to use pegaswitch to trick his nes into launching nes golf.
here is a "general guide"
You will need the latest versions of node, git, and python.

FOR WINDOWS USERS
go here
follow prereqs and use POWERSHELL to enable and COMMAND to install Linux
Run bash to launch WSL, it will launch automatically the first time and ask to create a username and password
Run CD
Run Sudo apt-get install npm
( if NPM or NODE wont update, follow this https://aigeec.com/installing-node-js-on-windows-10-bash/)

If you are having issues connecting to your DNS and using Skype, go to Options/Advanced/Connection and uncheck "Use port 80 and 443 for additional incoming connections".
If this doesn't fix it, turn off your Windows Firewall completely.

General Instructions by SYNTAXYZ
Nintendo Switch is at version 3.0.0
My computer system is running Linux 4.4.0-93-generic #116~14.04.1-Ubuntu x86_64.
Well there where some errors yes, if this helps anyone here are the additional steps for a clean debian based system with apt-get/aptitude.

-- Change directory to your Home
> cd

-- update your packages
> sudo apt-get update
> sudo apt-get upgrade

-- Install build-essential ( for make )
> sudo apt-get install build-essential

-- Install nodejs 8.4.0
> curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
> sudo apt-get install -y nodejs

-- Install git
> sudo apt-get install git

-- Install python
> sudo apt-get install python

-- Clone the pegaswitch git repo
> git clone https://github.com/reswitched/pegaswitch.git

-- Change directory to the pegaswitch dir
> cd pegaswitch

-- Let node package manager install dependencies for pegaswitch (be patient)
> npm install

-- Now you are ready to run pegaswitch
> sudo node start.js

(any errors here or lack of launch, try
node start.js --disable-curses --logfile debug.txt )
(if using 1.0.0 or the fake_news launcher, try)

sudo node start.js --webapplet​

The shell will present you with the ip of your system, this IP you will need to put as your DNS settings in your nintendo switch.

Then when you are ready to connect to your network with your modified DNS settings, a browser will start automaticaly with a nice pegaswitch logo.
You do not need to press the refresh button, the exploit is already active. You will notice in your pegaswitch shell on your computer that your switch is now connected.

In the pegaswitch shell run the recommended command as documented on the pegaswitch github page:

Then run the Script that changes your time
> evalfile ./usefulscripts/setRtc.js

you will receive "no output". this is normal

make sure your date and time is is set to synchronize automatically
you will see your date as 7/11 on your system now


You should be able to launch nes golf after this...Don't forget you still have to do the motion control launch AT the home screen

lvppfebh6sqmvvrqlq9l.gif


Featured on facebook by gamnesia 10/14/2017, hey guys!








Hi! thanks for the tutorial.
I have followed your tutorial however, I am running to this issue; I am able to connect the Switch to the pegaswitch but for some reason the Switch keep freezing when I hit the (B) the back button. I have attached screenshots of what my pegaswitch looks in my WSL.
Any one can help, please?

upload_2018-4-26_13-39-27.png






upload_2018-4-26_13-40-19.png
upload_2018-4-26_13-37-10.png
upload_2018-4-26_13-39-27.png
upload_2018-4-26_13-40-19.png



And when I run the (node start.js --disable-curses --logfile debug.txt) I am able to get my Switch connected and my time synchronized to the right date but the Switch keeps freezing when I hit any key, any ideas?

upload_2018-4-26_13-37-10.png
 
Last edited by Finalxfantasy,

blinkzane

Panic at your moms house
OP
Member
Joined
Jul 24, 2012
Messages
944
Trophies
1
Location
Florida
XP
1,640
Country
United States







Hi! thanks for the tutorial.
I have followed your tutorial however, I am running to this issue; I am able to connect the Switch to the pegaswitch but for some reason the Switch keep freezing when I hit the (B) the back button. I have attached screenshots of what my pegaswitch looks in my WSL.
Any one can help, please?

View attachment 121482





View attachment 121483View attachment 121481 View attachment 121482 View attachment 121483


And when I run the (node start.js --disable-curses --logfile debug.txt) I am able to get my Switch connected and my time synchronized to the right date but the Switch keeps freezing when I hit any key, any ideas?

View attachment 121481
press home.
 

blinkzane

Panic at your moms house
OP
Member
Joined
Jul 24, 2012
Messages
944
Trophies
1
Location
Florida
XP
1,640
Country
United States
Thanks for the quick response. When I press home I'm getting "Error Code: 2011-0302"
edit config.json to false and try again, see what happens. I had this issue and that fixed it for me
you can also do "disable sdbcore" when pegaswitch is running, although that didn't work for me.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: For real for real