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.
  • K3Nv2 @ K3Nv2:
    Thanks for signing up at LinusTechTips
  • QuarterCut @ QuarterCut:
    holey shmoley!
  • BigOnYa @ BigOnYa:
    Your credit card has been charged. Thank you.
  • K3Nv2 @ K3Nv2:
    Your screwdriverPlus will arrive in three weeks
    +1
  • QuarterCut @ QuarterCut:
    K64_Waddle_Dee_Artwork_1.jpg

    my reaction to such information
    +2
  • BigOnYa @ BigOnYa:
    Press 1 for English. Press 2 for Pig Latin. Or press 3 to speak to a representative.
  • BakerMan @ BakerMan:
    guys, i need help, i got into an argument about what genre radioactive is, and i forgot who made it
  • Sicklyboy @ Sicklyboy:
    @BakerMan, Imagine Dragons
  • Sicklyboy @ Sicklyboy:
    Dragon deez nuts across yo face GOTEEM
  • Sicklyboy @ Sicklyboy:
    lmao now I realize that was probably the joke in the first place
    +1
  • BakerMan @ BakerMan:
    IMAGINE DRAGON DEEZ NUTS ACROSS YO- FUCK HE BEAT ME TO IT
  • BigOnYa @ BigOnYa:
    You have selected 4 - Death by Snu Snu, please stand by...
    +1
  • BakerMan @ BakerMan:
    lucky bastard
    +1
  • Sicklyboy @ Sicklyboy:
    hahahaha I'm half way through a bag off my Volcano and my tolerance is way down because I haven't been smoking much lately, so I was a little slow to catch that that was what your angle was 🤣🤣
    +1
  • Sicklyboy @ Sicklyboy:
    Also I was just excited to know a music reference for once (I am the LAST person in the world that you want on your trivia team)
    +2
  • K3Nv2 @ K3Nv2:
    Bummer webos 7.4 isnt working with dejavuln-autoroot
  • Sicklyboy @ Sicklyboy:
    PS4 right? I think that's what mine's on. Or 5.6, maybe.
  • K3Nv2 @ K3Nv2:
    [!] Installation failed (devmode_enabled not recognized)
  • K3Nv2 @ K3Nv2:
    0.5 seemed to work whatever lol i wont bitch
    K3Nv2 @ K3Nv2: 0.5 seemed to work whatever lol i wont bitch