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: 13
  • startpega_webapplet run.jpg
    startpega_webapplet run.jpg
    33.2 KB · Views: 12
  • 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,361
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
470
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
  • K3Nv2 @ K3Nv2:
    I gotta raid0 these m.2s yay
  • BigOnYa @ BigOnYa:
    Do a raid10
  • K3Nv2 @ K3Nv2:
    That's tomorrow
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
  • BigOnYa @ BigOnYa:
    Damn Wal-Mart has 42" 4k TVs for only $150
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i bet it will not fit inside your bedroom
  • BigOnYa @ BigOnYa:
    Yea here in North Korea, we are only allowed 1 19" tv per household. And the only channel we get is, MLT (Missile Launch Today)
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, doesn't fit in his bedroom he's American
    +1
  • BigOnYa @ BigOnYa:
    I hate ordering stuff online if I can go buy it somewhere close to me, and everywhere anymore will give you a discount only if you order it online, bs. Should be a discount if I go pick it up, not order online.
  • K3Nv2 @ K3Nv2:
    I love it for most things most stores you just shows the receipt online and they scan it
    +1
  • K3Nv2 @ K3Nv2:
    Makes it easy for incompetent restaurant staff that don't know how to hear an order
  • BigOnYa @ BigOnYa:
    Mostly for big purchases, I want it in my hands before I pay. Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc) But yea if I can order online, then pickup at store is ok, but not all places offer that.
  • cearp @ cearp:
    > Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc)

    Thing is, if you break it driving back to your house, it's your fault. But if the delivery driver damages it, it's not your fault.
    +1
  • K3Nv2 @ K3Nv2:
    Most people that haul big tvs have empty trucks or know enough not to set it face down
  • BigOnYa @ BigOnYa:
    Then I gotta send it back and wait another week or two. I have a pickup truck, with a extended cab, so no prob for me.
  • K3Nv2 @ K3Nv2:
    Most manufacturers pack it well enough where they aren't that dumb to let it happen
  • BigOnYa @ BigOnYa:
    They building a new Microcenter store near by me, is kinda scary. That's my favorite place, I'm like a kid in a candy store there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, what's a microcenter?
  • K3Nv2 @ K3Nv2:
    Cool I'll make you ship me stuff
    +1
  • K3Nv2 @ K3Nv2:
    Microcenter sells high quality microwaves
  • BigOnYa @ BigOnYa:
    Computer store basically, but they sell everything, like game systems, tvs , 3d printers, etc
    +1
  • K3Nv2 @ K3Nv2:
    I've seen i9/mobo deals for like 400
  • BigOnYa @ BigOnYa:
    Yea been itching to build a new pc, mine is like 3-4 years old, ancient in pc tech time. Still using a sata SSD even.
  • K3Nv2 @ K3Nv2:
    That's still high tech to ancientboi
    K3Nv2 @ K3Nv2: That's still high tech to ancientboi