Pegascape Self Hosting in Windows 10

Teo_Nightcrow

Member
OP
Newcomer
Joined
Mar 24, 2024
Messages
10
Trophies
0
Age
39
XP
17
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: 10
  • startpega_webapplet run.jpg
    startpega_webapplet run.jpg
    33.2 KB · Views: 9
  • 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,357
Country
Antarctica

Teo_Nightcrow

Member
OP
Newcomer
Joined
Mar 24, 2024
Messages
10
Trophies
0
Age
39
XP
17
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
468
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
    BunnyPinkie @ BunnyPinkie: Currently asked for mecha mote iinchou mm my best friend to be translated but I also want to ask...