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
  • Psionic Roshambo @ Psionic Roshambo:
    I think I played that one
  • Quincy @ Quincy:
    (i.e. Nintendos' next first party switch title/remake)
  • BigOnYa @ BigOnYa:
    Meh, I want metroid 4
  • Psionic Roshambo @ Psionic Roshambo:
    I have a refurbished hard drive like 8TBs just use it for movies and music so if it blows up nothing I can't replace lol
    +1
  • Quincy @ Quincy:
    I mean almost every first party switch title of the past year or two leaked at least a week in advance for a while now haven't they?
  • BigOnYa @ BigOnYa:
    Not all of them, but yea many.
  • Quincy @ Quincy:
    Metroid prime 4 I wouldn't be surprised if that title will be a SwitchU title (here's hoping Nintendo won't go with such a ridiculous name again)
    +1
  • Quincy @ Quincy:
    Hence me saying almost 🤣
  • Psionic Roshambo @ Psionic Roshambo:
    But for photos and OS and my ROMs not risking it on a refurbished drive lol
  • BigOnYa @ BigOnYa:
    Have you checked both the brew and 2u sites?
  • Quincy @ Quincy:
    But yes I would welcome MP4 too or even 2+3 remaster/HD to hold us over untill MP4
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 Switched at birth
  • Quincy @ Quincy:
    I check brew almost daily (alongside tinfoil sorted on release date) for new games (and cry because of the amount of shovelware and hentai getting released), am unaware of the 2u site
  • Psionic Roshambo @ Psionic Roshambo:
    Super Switch
  • Quincy @ Quincy:
    HUB
  • Quincy @ Quincy:
    And the switch 3 Router
  • Quincy @ Quincy:
    (every one of those fitting after network-, and all play part in the OSI networking layer model)
  • BigOnYa @ BigOnYa:
    Google switch nsp and you will see,it, that site
  • Quincy @ Quincy:
    Aww how cool that site is Nintendo switch to me :D
    +1
  • Quincy @ Quincy:
    (de-URLing the URL 🤣)
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 U
  • Quincy @ Quincy:
    (or do we call them URIs now?)
  • Quincy @ Quincy:
    Yes to me, that's what I said as well 🙃😋
  • Psionic Roshambo @ Psionic Roshambo:
    Switch 2 Side Switching
  • Quincy @ Quincy:
    Swiitch
    Quincy @ Quincy: Swiitch