Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
Building Pagascape from source to running Self Hosted mode on Windows and MSYS
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="impeeza" data-source="post: 10388129" data-attributes="member: 277243"><p>Has been reports of the public PegaScape site suffering crashes and been offline, so I decided to create a Step by step tutorial about building the Pegascape Source and running it on Self Hosted mode.</p><p></p><p>For <strong>Linux</strong> instructions you can look into the tutorial: <a href="https://gbatemp.net/threads/building-pagascape-from-source-to-running-self-hosted-mode.650712/" target="_blank">https://gbatemp.net/threads/building-pagascape-from-source-to-running-self-hosted-mode.650712/</a></p><p></p><p>This guide covers the installation of packages needed to be able to build Pegascape using 9.11.2 & 5.6.0, and an addendum to use the finished product as a portable product.</p><p></p><p>First you need a working <strong>MSYS2</strong> environment, if you don´t have one you can use the tutorial: <a href="https://gbatemp.net/threads/install-msys-environment.652234/" target="_blank">https://gbatemp.net/threads/install-msys-environment.652234/</a></p><p></p><p></p><p>In order to build Pegascape you need:</p><ul> <li data-xf-list-type="ul">Python2</li> <li data-xf-list-type="ul">Node 9.11.2</li> <li data-xf-list-type="ul">NPM 5.6.0</li> <li data-xf-list-type="ul">g++</li> <li data-xf-list-type="ul">and some other supporting packages</li> </ul><p>Start a <strong>MINGW </strong>command window:</p><p>[ATTACH=full]428150[/ATTACH][ATTACH=full]428151[/ATTACH]</p><p></p><p>For install Python2 on <strong>MSYS2</strong> you must to execute this commands:</p><p>[CODE=bash]</p><p>pacman -Syuu --needed --noconfirm mingw-w64-x86_64-python2</p><p>alias python=/mingw64/bin/python2</p><p>[/CODE]</p><p>[ATTACH=full]428152[/ATTACH]</p><p>The alias is needed because the Pegascape build process calls the command <span style="font-size: 12px">[ICODE]python[Size][/ICODE].</span></p><p></p><p></p><p><span style="font-size: 12px">Then install the rest of needed packages</span></p><p><span style="font-size: 12px">[CODE=bash]</span></p><p><span style="font-size: 12px">pacman -Syuu --needed --noconfirm mingw-w64-x86_64-gcc unzip curl git make</span></p><p><span style="font-size: 12px">[/CODE]</span></p><p><span style="font-size: 12px">[ATTACH=full]428153[/ATTACH](I already have them installed <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite14" alt=":P" title="tongue :P" loading="lazy" data-shortname=":P" />)</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">On the Pegascape's repository (<a href="https://gbatemp.net/threads/pegascape-alternative.650182/post-10372685" target="_blank">https://gbatemp.net/threads/pegascape-alternative.650182/post-10372685</a>), the user [USER=528679]@xradeon[/USER] indicate you need node and npm, 9.11.2 & 5.6.0 versions respectively, then is necessary to follow the instructions on <a href="https://stackoverflow.com/questions/16898001/how-to-install-a-specific-version-of-node-on-ubuntu-debian" target="_blank">https://stackoverflow.com/questions/16898001/how-to-install-a-specific-version-of-node-on-ubuntu-debian</a> (Answer 56):</span></p><p><span style="font-size: 12px">[CODE=bash]</span></p><p><span style="font-size: 12px">cd ~</span></p><p><span style="font-size: 12px">curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash</span></p><p><span style="font-size: 12px">source ~/.nvm/nvm.sh</span></p><p><span style="font-size: 12px">nvm install 9.11.2</span></p><p><span style="font-size: 12px">node --version</span></p><p><span style="font-size: 12px">npm --version</span></p><p><span style="font-size: 12px">[/CODE]</span></p><p><span style="font-size: 12px">[ATTACH=full]428154[/ATTACH]</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">As instructed by the README.MD on the original repo: <a href="https://github.com/noahc3/PegaScape#self-hosting" target="_blank">https://github.com/noahc3/PegaScape#self-hosting</a></span></p><p><span style="font-size: 12px">after install NodeJS & NPM, executed the next commands to clone the repo and build using NPM:</span></p><p><span style="font-size: 12px">[CODE=bash]</span></p><p><span style="font-size: 12px">cd ~</span></p><p><span style="font-size: 12px">git clone https://www.github.com/noahc3/PegaScape</span></p><p><span style="font-size: 12px">cd ~/PegaScape/</span></p><p><span style="font-size: 12px">npm install</span></p><p><span style="font-size: 12px">[/CODE]</span></p><p><span style="font-size: 12px">[ATTACH=full]428155[/ATTACH]</span></p><p><span style="font-size: 12px">[ATTACH=full]428158[/ATTACH]</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">The package is now compilated and ready to be used, Pegascape needs <span style="font-size: 12px">[ICODE]node[/ICODE]</span> to be executed, on <strong>MSYS2</strong> you can run:</span></p><p><span style="font-size: 12px">[CODE=bash]</span></p><p><span style="font-size: 12px">node start.js --webapplet</span></p><p><span style="font-size: 12px">[/CODE]</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Now the PegaScape server is running self hosted</span></p><p><span style="font-size: 12px">[ATTACH=full]428159[/ATTACH]</span></p><p><span style="font-size: 12px">In order to close the PegaScape site, you need to type <span style="font-size: 15px">[ICODE].exit[/ICODE]</span> and press [ENTER]</span></p><p></p><p><span style="font-size: 12px">If you want to use caffeine is recommended to leave out the parameter <span style="font-size: 15px">[ICODE]--webapplet[/ICODE]</span> since that one is for fake news and might cause the problem using caffeine.</span></p><p><span style="font-size: 12px">Remember there are another parameters to start.js:</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">[ICODE] --webapplet[/ICODE] To enable fake internet, allowing the Switch to pass the connection test and load things like Fake News.</span></p><p><span style="font-size: 12px">[ICODE] --ip <html_server_ip_override>[/ICODE] If the detected IP address for the HTML server is not preffered.</span></p><p><span style="font-size: 12px">[ICODE] --host <dns_server_ip_override>[/ICODE] If the detected IP address for the DNS server is not preffered.</span></p><p><span style="font-size: 12px">[ICODE] --disable-dns[/ICODE] if you want to disable the internal DNS server and use something else (dnsmasq, bind, etc).</span></p><p></p><p></p><p>Then if you like to create a portable package what do not need MSYS2 to run, you can download NODE portable version 9.11.2 from:</p><p><a href="https://nodejs.org/dist/v9.11.2/win-x64/node.exe" target="_blank">https://nodejs.org/dist/v9.11.2/win-x64/node.exe</a> or <a href="https://nodejs.org/dist/v9.11.2/win-x86/node.exe" target="_blank">https://nodejs.org/dist/v9.11.2/win-x86/node.exe</a> for Windows 64 and 32 bits.</p><p></p><p></p><p>[HR][/HR]</p><p></p><p><strong>In order to use Pegascape you need:</strong>[/SIZE]</p><ul> <li data-xf-list-type="ul"><span style="font-size: 12px">On your Switch console set Primary DNS to your IP Address (the one stated by Pegascape as «Responding with address XXX.XXX.XXX.XXX»), It's important both your console and your PC are on the same network.</span></li> <li data-xf-list-type="ul"><span style="font-size: 12px">On your Switch Console, set connect automatically to network to avoid Internet connection test fail.</span></li> <li data-xf-list-type="ul"><span style="font-size: 12px">On your Switch Console, Open Fake News, to load the exploit.</span></li> </ul></blockquote><p></p>
[QUOTE="impeeza, post: 10388129, member: 277243"] Has been reports of the public PegaScape site suffering crashes and been offline, so I decided to create a Step by step tutorial about building the Pegascape Source and running it on Self Hosted mode. For [B]Linux[/B] instructions you can look into the tutorial: [URL]https://gbatemp.net/threads/building-pagascape-from-source-to-running-self-hosted-mode.650712/[/URL] This guide covers the installation of packages needed to be able to build Pegascape using 9.11.2 & 5.6.0, and an addendum to use the finished product as a portable product. First you need a working [B]MSYS2[/B] environment, if you don´t have one you can use the tutorial: [URL]https://gbatemp.net/threads/install-msys-environment.652234/[/URL] In order to build Pegascape you need: [LIST] [*]Python2 [*]Node 9.11.2 [*]NPM 5.6.0 [*]g++ [*]and some other supporting packages [/LIST] Start a [B]MINGW [/B]command window: [ATTACH type="full" alt="1711567758582.png"]428150[/ATTACH][ATTACH type="full" alt="1711567772810.png"]428151[/ATTACH] For install Python2 on [B]MSYS2[/B] you must to execute this commands: [CODE=bash] pacman -Syuu --needed --noconfirm mingw-w64-x86_64-python2 alias python=/mingw64/bin/python2 [/CODE] [ATTACH type="full" width="610px" alt="1711568123213.png"]428152[/ATTACH] The alias is needed because the Pegascape build process calls the command [SIZE=3][ICODE]python[Size][/ICODE].[/SIZE] [SIZE=3]Then install the rest of needed packages [CODE=bash] pacman -Syuu --needed --noconfirm mingw-w64-x86_64-gcc unzip curl git make [/CODE] [ATTACH type="full" width="639px" alt="1711568158929.png"]428153[/ATTACH](I already have them installed :P) On the Pegascape's repository ([URL]https://gbatemp.net/threads/pegascape-alternative.650182/post-10372685[/URL]), the user [USER=528679]@xradeon[/USER] indicate you need node and npm, 9.11.2 & 5.6.0 versions respectively, then is necessary to follow the instructions on [URL]https://stackoverflow.com/questions/16898001/how-to-install-a-specific-version-of-node-on-ubuntu-debian[/URL] (Answer 56): [CODE=bash] cd ~ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash source ~/.nvm/nvm.sh nvm install 9.11.2 node --version npm --version [/CODE] [ATTACH type="full" width="675px" alt="1711568232156.png"]428154[/ATTACH] As instructed by the README.MD on the original repo: [URL]https://github.com/noahc3/PegaScape#self-hosting[/URL] after install NodeJS & NPM, executed the next commands to clone the repo and build using NPM: [CODE=bash] cd ~ git clone https://www.github.com/noahc3/PegaScape cd ~/PegaScape/ npm install [/CODE] [ATTACH type="full" width="626px" alt="1711568397199.png"]428155[/ATTACH] [ATTACH type="full" width="605px" alt="1711569000295.png"]428158[/ATTACH] The package is now compilated and ready to be used, Pegascape needs [SIZE=3][ICODE]node[/ICODE][/SIZE] to be executed, on [B]MSYS2[/B] you can run: [CODE=bash] node start.js --webapplet [/CODE] Now the PegaScape server is running self hosted [ATTACH type="full" alt="1711569124081.png"]428159[/ATTACH] In order to close the PegaScape site, you need to type [SIZE=4][ICODE].exit[/ICODE][/SIZE] and press [ENTER][/SIZE] [SIZE=3]If you want to use caffeine is recommended to leave out the parameter [SIZE=4][ICODE]--webapplet[/ICODE][/SIZE] since that one is for fake news and might cause the problem using caffeine.[/SIZE] [SIZE=3]Remember there are another parameters to start.js: [ICODE] --webapplet[/ICODE] To enable fake internet, allowing the Switch to pass the connection test and load things like Fake News. [ICODE] --ip <html_server_ip_override>[/ICODE] If the detected IP address for the HTML server is not preffered. [ICODE] --host <dns_server_ip_override>[/ICODE] If the detected IP address for the DNS server is not preffered. [ICODE] --disable-dns[/ICODE] if you want to disable the internal DNS server and use something else (dnsmasq, bind, etc).[/SIZE] Then if you like to create a portable package what do not need MSYS2 to run, you can download NODE portable version 9.11.2 from: [URL]https://nodejs.org/dist/v9.11.2/win-x64/node.exe[/URL] or [URL]https://nodejs.org/dist/v9.11.2/win-x86/node.exe[/URL] for Windows 64 and 32 bits. [HR][/HR] [B]In order to use Pegascape you need:[/B][/SIZE] [LIST] [*][SIZE=3]On your Switch console set Primary DNS to your IP Address (the one stated by Pegascape as «Responding with address XXX.XXX.XXX.XXX»), It's important both your console and your PC are on the same network.[/SIZE] [*][SIZE=3]On your Switch Console, set connect automatically to network to avoid Internet connection test fail.[/SIZE] [*][SIZE=3]On your Switch Console, Open Fake News, to load the exploit.[/SIZE] [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
Building Pagascape from source to running Self Hosted mode on Windows and MSYS
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
No one is chatting at the moment.
@
SylverReZ
:
@Xdqwerty
, I don't have Twitter and never will have. Somebody linked me this article.
+1
Yesterday at 11:01 PM
@
K3Nv2
:
Shame I guess Biden voters are going to start shouting Biden made weed legal
+2
Yesterday at 11:02 PM
@
Xdqwerty
:
https://www.youtube.com/watch?v=EgVfUjLgYbE
Yesterday at 11:12 PM
@
K3Nv2
:
Guess Emudeck is pushing towards ios now
Yesterday at 11:17 PM
@
Sonic Angel Knight
:
EMU > DUCK
+1
Yesterday at 11:38 PM
@
K3Nv2
:
Stop touching that duck
+1
Yesterday at 11:46 PM
@
Xdqwerty
:
@K3Nv2
, say that to
@AncientBoi
Yesterday at 11:51 PM
@
Xdqwerty
:
https://www.youtube.com/watch?v=Nm67POLS7ZM
Yesterday at 11:55 PM
@
BigOnYa
:
I couldn't watch that last link, it says age restricted, and I'm too young
Today at 12:02 AM
@
K3Nv2
:
What'd you get an age change transition operation
+2
Today at 12:05 AM
@
Psionic Roshambo
:
https://youtu.be/ZZvCX8U8N1Y?si=eAV8118JgBBW2Uy_
Today at 12:06 AM
@
Psionic Roshambo
:
I identify as a 35 year old man, but sexually a toaster oven
+2
Today at 12:07 AM
@
K3Nv2
:
Garlic and cheese flavored
+2
Today at 12:07 AM
@
Psionic Roshambo
:
https://youtu.be/2hjzVcz8Vfo?si=0VmjNglzRREc7Pqo
Today at 12:17 AM
@
Psionic Roshambo
:
https://youtu.be/8fl9D8KeQWA?si=o1c8hZxPRGks4t6-
Today at 12:27 AM
@
Psionic Roshambo
:
https://youtu.be/gXtJ12EeaOs?si=ESC50o7Vr5sUh71I
Today at 12:57 AM
@
Xdqwerty
:
yawn
Today at 1:29 AM
@
K3Nv2
:
Psis youtube box
Today at 1:32 AM
@
SylverReZ
:
@Psionic Roshambo
,
https://www.youtube.com/watch?v=YirGDuzLvkQ
+2
Today at 1:37 AM
@
Psionic Roshambo
:
Lol
Today at 1:56 AM
@
Xdqwerty
:
https://www.youtube.com/watch?v=ZMuP01GlQi4
Today at 2:01 AM
@
Xdqwerty
:
https://www.youtube.com/watch?v=FQOFpDdg5rQ
Today at 2:15 AM
@
BakerMan
:
guys, i have decided what i'm going to bake next month
41 minutes ago
@
BakerMan
:
it's going to be june, so you know what that means, bread month, i'll make focaccia, breadsticks, and pizza bread
40 minutes ago
@
BakerMan
:
(and the joke here is that i misheard pride month as bread month)
40 minutes ago
Submit
@
BakerMan
:
(and the joke here is that i misheard pride month as bread month)
40 minutes ago
Chat
0