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.
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: 10377621" 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>If you need to run pegascape on a Ubuntu Machine, open a Terminal window and run the commands:</p><p></p><p>you need Python 2 on the system, so installed python2 and created an alias to python</p><p></p><p>[CODE=bash]</p><p>sudo apt update</p><p>sudo apt install python2</p><p>alias python=/usr/bin/python2</p><p>[/CODE]</p><p></p><p>Using the recommendation of [USER=528679]@xradeon[/USER] , installed the node and npm, 9.11.2 & 5.6.0 versions respectively (<a href="https://gbatemp.net/threads/pegascape-alternative.650182/post-10372685" target="_blank">https://gbatemp.net/threads/pegascape-alternative.650182/post-10372685</a>)</p><p></p><p>You need some base packages installed, curl to download the specific NPM version script, git to clone the repo, make and g++ to build the source</p><p>[CODE=bash]</p><p>sudo apt install curl git make g++</p><p>[/CODE]</p><p></p><p>In order to use a specific NPM version, I followed 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):</p><p>[CODE=bash]</p><p>cd ~</p><p>curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash</p><p>source ~/.nvm/nvm.sh</p><p>nvm install 9.11.2</p><p>node --version</p><p>npm --version</p><p>[/CODE]</p><p></p><p></p><p>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></p><p>after install NodeJS & NPM, executed the next commands to clone the repo and build using NPM:</p><p>[CODE=bash]</p><p>cd ~</p><p>git clone https://www.github.com/noahc3/PegaScape</p><p>cd ~/PegaScape/</p><p>npm install</p><p>[/CODE]</p><p></p><p>on my system systemd-resolved was running so I had to stop it to be able to run integrated DNS</p><p>[CODE=bash]</p><p>sudo systemctl stop systemd-resolved</p><p>[/CODE]</p><p></p><p>As we are using a specific version of NPN which is installed for the user not system wide, if you use the command [ICODE]sudo node[/ICODE] you get the "command not found" error</p><p>[ATTACH=full]425461[/ATTACH]</p><p>so you need to execute it with full path:</p><p>[CODE=bash]</p><p>sudo /home/impeeza/.nvm/versions/node/v9.11.2/bin/node start.js --webapplet</p><p>[/CODE]</p><p></p><p>Now the PegaScape server is running self hosted</p><p>[ATTACH=full]425462[/ATTACH]</p><p></p><p>To close the PegaScape site, you type <span style="font-size: 15px">[ICODE].exit[/ICODE]</span> and press [ENTER]</p><p></p><p>Tested on a 4.1.0 console and works fine.</p><p></p><p>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.</p><p></p><p>Remember there are another parameters to start.js:</p><p><span style="font-size: 15px">[ICODE] --webapplet:[/ICODE]</span> To enable fake internet, allowing the Switch to pass the connection test and load things like Fake News.</p><p><span style="font-size: 15px">[ICODE] --ip <html_server_ip_override>[/ICODE]</span> if the detected IP address for the HTML server is not preffered.</p><p><span style="font-size: 15px">[ICODE] --host <dns_server_ip_override>[/ICODE]</span> if the detected IP address for the DNS server is not preffered.</p><p><span style="font-size: 15px">[ICODE] --disable-dns[/ICODE]</span> if you want to disable the internal DNS server and use something else (dnsmasq, bind, etc).</p></blockquote><p></p>
[QUOTE="impeeza, post: 10377621, 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. If you need to run pegascape on a Ubuntu Machine, open a Terminal window and run the commands: you need Python 2 on the system, so installed python2 and created an alias to python [CODE=bash] sudo apt update sudo apt install python2 alias python=/usr/bin/python2 [/CODE] Using the recommendation of [USER=528679]@xradeon[/USER] , installed the node and npm, 9.11.2 & 5.6.0 versions respectively ([URL]https://gbatemp.net/threads/pegascape-alternative.650182/post-10372685[/URL]) You need some base packages installed, curl to download the specific NPM version script, git to clone the repo, make and g++ to build the source [CODE=bash] sudo apt install curl git make g++ [/CODE] In order to use a specific NPM version, I followed 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] 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] on my system systemd-resolved was running so I had to stop it to be able to run integrated DNS [CODE=bash] sudo systemctl stop systemd-resolved [/CODE] As we are using a specific version of NPN which is installed for the user not system wide, if you use the command [ICODE]sudo node[/ICODE] you get the "command not found" error [ATTACH type="full" alt="1710276002266.png"]425461[/ATTACH] so you need to execute it with full path: [CODE=bash] sudo /home/impeeza/.nvm/versions/node/v9.11.2/bin/node start.js --webapplet [/CODE] Now the PegaScape server is running self hosted [ATTACH type="full" alt="1710276011922.png"]425462[/ATTACH] To close the PegaScape site, you type [SIZE=4][ICODE].exit[/ICODE][/SIZE] and press [ENTER] Tested on a 4.1.0 console and works fine. 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. Remember there are another parameters to start.js: [SIZE=4][ICODE] --webapplet:[/ICODE][/SIZE] To enable fake internet, allowing the Switch to pass the connection test and load things like Fake News. [SIZE=4][ICODE] --ip <html_server_ip_override>[/ICODE][/SIZE] if the detected IP address for the HTML server is not preffered. [SIZE=4][ICODE] --host <dns_server_ip_override>[/ICODE][/SIZE] if the detected IP address for the DNS server is not preffered. [SIZE=4][ICODE] --disable-dns[/ICODE][/SIZE] if you want to disable the internal DNS server and use something else (dnsmasq, bind, etc). [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Switch
Building Pagascape from source to running Self Hosted mode.
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
S
salazarcosplay
Loading…
K3Nv2
Loading…
@
BigOnYa
:
Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
Today at 10:01 AM
@
K3Nv2
:
Remember that Alexa robot I gifted you
Today at 10:04 AM
@
K3Nv2
:
And that laptop Webcam you never tapped up
Today at 10:05 AM
@
BigOnYa
:
That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
Today at 10:08 AM
@
BigOnYa
:
Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
Today at 10:10 AM
@
K3Nv2
:
Oh good more than enough material for the fbi
+2
Today at 10:11 AM
@
BigOnYa
:
Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
+1
Today at 10:19 AM
@
AncientBoi
:
lol
+1
Today at 12:35 PM
@
SylverReZ
:
https://www.youtube.com/watch?v=m2KV8MHRJlQ
+2
Today at 1:42 PM
@
SylverReZ
:
@BigOnYa
,
https://www.youtube.com/watch?v=YgtO5sebA9U
+4
Today at 2:00 PM
@
Psionic Roshambo
:
He could make so much money!!! His arm would never get tired lol
+2
Today at 2:22 PM
@
SylverReZ
:
@Psionic Roshambo
, Lol
+1
Today at 2:23 PM
S
@
salazarcosplay
:
How are yall doing
+2
Today at 2:35 PM
@
VXNlcm5hbWU
:
Just had a pure banger of a sandwich there, was very nice
+1
Today at 4:11 PM
@
BakerMan
:
what do you call a dog with no legs?
Today at 5:01 PM
@
Psionic Roshambo
:
A hot dog?
Today at 5:08 PM
@
BakerMan
:
doesn't matter what you call it, it won't come
+1
Today at 5:10 PM
@
SylverReZ
:
I'm having mince beef burgers with flat cheese and tomato sauce.
+1
Today at 5:18 PM
@
BakerMan
:
+1
Today at 5:21 PM
@
Psionic Roshambo
:
Lol
Today at 6:09 PM
@
Psionic Roshambo
:
https://youtu.be/i0C3IhWcJH0?si=NfZlL_0e1C1yMnoG
+1
Today at 6:11 PM
@
SylverReZ
:
@Psionic Roshambo
, Lol he's right
+1
Today at 6:12 PM
@
K3Nv2
:
https://youtu.be/h7XaTWz8zSU?si=J_9Ia9ZigxNht2Z1
28 minutes ago
@
K3Nv2
:
Gas pump ran out of gas only got $8 in lol
14 minutes ago
S
@
salazarcosplay
:
@K3Nv2
do you have gold hen ps4?
2 minutes ago
Submit
S
@
salazarcosplay
:
@K3Nv2 do you have gold hen ps4?
2 minutes ago
Chat
2