Pegascape Self Hosting in Windows 10

Teo_Nightcrow

Member
OP
Newcomer
Joined
Mar 24, 2024
Messages
10
Trophies
0
Age
39
XP
18
Country
Philippines
  1. Install NodeJS V14.16 (NPM is included already) NodeJs V14.16
  2. Go to https://github.com/noahc3/PegaScape then click Green button "<Code>". Find the last option Download as Zip. Save and Extract to your desired location in your pc. For example you save and extract it to drive C:\PegaScape-master
  3. On Windows 10, find Windows PowerShell application, Right Click and Run as Administrator.
  4. Change the directory to where you extract the Pegascape repo. Type cd C:\PegaScape-master
  5. Type npm install. Wait for it to finish installing modules (like 2-3 minutes). If it stops on installing/extracting Press Ctrl C to terminate the command. Just type npm install again to repeat the installation of node modules.
  6. Go to the directory where you extract Pegascape. C:\PegaScape-master. Find the windows batch file startpega_webapplet.bat. Right Click and Edit. Add @Echo on in the first line and change the IP Address --ip 192.168.0.11 --host 192.168.0.11 to your computer ip address. For example my ip address (192.168.8.161)it will be node start.js --webapplet --ip 192.168.8.161 --host 192.168.8.161. Save and close the batch file. Open the startpega_webapplet.bat by double clicking or right click then open.
It should display the message Responding with address (your IP Address)
Switch DNS IP: (your IP Address)

7. Change the Primary DNS of your Nintendo Switch to your computer IP Address. (mine is 192.168.8.161). Your switch and computer should be in the same network or same internet router. Open Fake News and the Exploit Page should load just like before.
 

Attachments

  • startpega_webapplet.jpg
    startpega_webapplet.jpg
    14.9 KB · Views: 16
  • startpega_webapplet run.jpg
    startpega_webapplet run.jpg
    33.2 KB · Views: 14
  • Like
Reactions: mathew77

tataniko

Well-Known Member
Member
Joined
Jul 20, 2016
Messages
183
Trophies
0
Location
- Planet Earth -
Website
www.facebook.com
XP
1,364
Country
Antarctica

Teo_Nightcrow

Member
OP
Newcomer
Joined
Mar 24, 2024
Messages
10
Trophies
0
Age
39
XP
18
Country
Philippines
Thanks for the inspiration @Teo_Nightcrow :)
This tutorial is not proper, you have to use prebuilt binaries or compile binaries yourself.

1. Tutorial with prebuilt binaries:
https://gbatemp.net/threads/portable-pegascape-win32.652285/
2. Tutorial to compile binaries:
https://gbatemp.net/threads/buildin...-self-hosted-mode-on-windows-and-msys.652314/
It's working on my end and there are couple of guys have tried and successfully self host it. Why do we have to do other extra steps if it serves the same outcome? Let the folks decide which tutorial are they going to try.
 

veesonic

Member
Newcomer
Joined
Aug 18, 2019
Messages
20
Trophies
0
Age
44
XP
474
Country
United States
Thank you Teo_Nightcrow so much for your tutorial on this! I am one of the rare few on SYSNAND 4.1.0 who relies heavily on Pegascape and am sad to see the public DNS down. I had to make a few adjustments to get this working, documenting it in case it helps anyone else B-)

I am on Windows 10. I think I had some kind of version conflicts from previously installed instances of NodeJS and Python. I uninstalled and reinstalled the following versions:

Python 3.10.8 (I selected Windows installer (64-bit))
https://www.python.org/downloads/release/python-3108/

NodeJS V14.16 (Same as original post)
https://nodejs.org/en/blog/release/v14.16.0

"npm install" kept failing for various reasons.

I installed git to solve one of the issues. (I selected "64-bit Git for Windows Setup")
https://git-scm.com/download/win

I had to make a line change at C:\PegaScape-master\package.json to update the version of node-pty to 1.0.0.
Code:
"node-pty": "^1.0.0",
Pegascape 2.JPG


After these changes npm install was able to complete, although there were some WARNINGS. Thankfully this didn't stop me from following the rest of the tutorial and starting Pegascape.
pegascape 1.JPG


For others who might not be tech savvy, you can find out your IP address by running "ipconfig" in Windows Command Prompt and using the appropriate IPv4 Address value.

Again thank you all so much, I would have been stuck with my SYSNAND 4.1.0 Switch without this!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...