Editing Setting up multiplayer

From PSP2i Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{MessageBox|Online server status can be found on the [[main page]].|This page will display the amount of players currently on the PSP2i adhoc server. Our [https://discord.gg/FeGvdBkrGa Discord] server is recommended for finding other players.}}
Instructions can be found below on how to connect online to other players through PPSSPP. Instructions on how to connect online on PSP and PS Vita will not be provided due to issues with cross play, and most of the community plays on PPSSPP.
Instructions can be found below on how to connect online to other players through PPSSPP. Instructions on how to connect online on PSP and PS Vita will not be provided due to issues with cross play, and most of the community plays on PPSSPP.


Line 42: Line 40:


==PPSSPP multiplayer over the internet==
==PPSSPP multiplayer over the internet==
<strong>Note: We use ZeroTier One for multiplayer over the internet due to simplicity and ease. However, every so often the network requires a reset - if you find you are unable to connect one day, please return here and rejoin on the new network ID.</strong>
===ZeroTier One===
* '''Pros''': Easy and fast installation, works for everybody, once set up, never have to enter network settings again
* '''Cons''': Requires a very small set up
<div class="toccolours mw-collapsible mw-collapsed">'''Windows PC'''
<div class="toccolours mw-collapsible mw-collapsed">'''Windows PC'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
Line 49: Line 49:
# Install '''Zero Tier One''' on your system.
# Install '''Zero Tier One''' on your system.
# The program will be in the system tray in the bottom right; click it and click '''Join New Network...'''.
# The program will be in the system tray in the bottom right; click it and click '''Join New Network...'''.
# In the window that comes up, paste the string '''272f5eae160a2b63''' and then click '''Join'''. (If a prompt appears asking if you wish for your PC to discoverable, it is advised to click '''No''')
# In the window that comes up, paste the string '''b6079f73c6cd58c5''' and then click '''Join'''. (If a prompt appears asking if you wish for your PC to discoverable, it is advised to click '''No''')


Now that you are connected to the PSP2i network, you will need to do a one-time setup in PPSSPP:
Now that you are connected to the PSP2i network, you will need to do a one-time setup in PPSSPP:
Line 58: Line 58:
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Port offset''': 10000 (this is default)
::: '''Port offset''': 10000 (this is default)
With this done, make sure to restart the emulator.


You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:


# Make sure that you are connected to ZeroTier One.
# Make sure that you are connected to ZeroTier One.
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!</div></div>
 
Extra: When you connect to our PSP2i adhoc server, you will display on the wiki's [[main page|front page]]. If you wish to change your display name, go into '''Settings''' and '''System''' and go to '''Change nickname'''.</div></div>
<div class="toccolours mw-collapsible mw-collapsed">'''Android'''
<div class="toccolours mw-collapsible mw-collapsed">'''Android'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
Line 73: Line 69:
# Install the '''ZeroTierOne.apk''' on your system.
# Install the '''ZeroTierOne.apk''' on your system.
# Open the app and tap the + icon in the top right.
# Open the app and tap the + icon in the top right.
# In the screen that comes up, enter the string '''272f5eae160a2b63''' under '''Network ID''' and tap '''Add Network'''.
# In the screen that comes up, enter the string '''b6079f73c6cd58c5''' under '''Network ID''' and tap '''Add Network'''.
# Connect to the network and you should see '''PSP2i''' appear. If you do not, accept any messages, disconnect and then reconnect, and it should appear.
# Connect to the network and you should see '''PSP2i''' appear. If you do not, accept any messages, disconnect and then reconnect, and it should appear.


Line 83: Line 79:
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Port offset''': 10000 (this is default)
::: '''Port offset''': 10000 (this is default)
With this done, make sure to restart the emulator.


You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:


# Make sure that you are connected to ZeroTier One - this is signified by the network being turned on in the app and a key icon at the top of your phone's screen.
# Make sure that you are connected to ZeroTier One - this is signified by the network being turned on in the app and a key icon at the top of your phone's screen.
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!</div></div>
 
Extra: When you connect to our PSP2i adhoc server, you will display on the wiki's [[main page|front page]]. If you wish to change your display name, go into '''Settings''' and '''System''' and go to '''Change nickname'''.</div></div>
<div class="toccolours mw-collapsible mw-collapsed">'''Steam Deck'''
<div class="toccolours mw-collapsible mw-collapsed">'''Steam Deck'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
Line 111: Line 103:
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Port offset''': 10000 (this is default)
::: '''Port offset''': 10000 (this is default)
With this done, make sure to restart the emulator.


You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:
Line 118: Line 108:
# Make sure that you are connected to ZeroTier One. You can double check this seeing if your 172.23 address is displayed in PPSSPP under the IP address list. If you are not, re-run the '''PSP2i.sh''' script.
# Make sure that you are connected to ZeroTier One. You can double check this seeing if your 172.23 address is displayed in PPSSPP under the IP address list. If you are not, re-run the '''PSP2i.sh''' script.
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!
Extra: When you connect to our PSP2i adhoc server, you will display on the wiki's [[main page|front page]]. If you wish to change your display name, go into '''Settings''' and '''System''' and go to '''Change nickname'''.


If you ever wish to disable the ZeroTier One service, use the below commands in '''Konsole''':
If you ever wish to disable the ZeroTier One service, use the below commands in '''Konsole''':
Line 127: Line 115:
* <code>sudo pacman -Rcns zerotier-one</code>
* <code>sudo pacman -Rcns zerotier-one</code>
</div></div>
</div></div>
===Network tips===
<big>'''Leave the ZeroTier network when not playing'''</big>


On Windows and Android, to make the experience better for people and to avoid network strain, it is advised to always leave the network temporarily while you are not playing. This can be done easily from the ZeroTier menu for joining - simply go to the network and leave it - you will always be able to rejoin at any time.
===AdhocServer===
 
* '''Pros''': Requires no installations, extremely quick set up
<big>'''Low bandwidth mode'''</big>
* '''Cons''': Requires a UPnP enabled router, does not work on mobile data, '''does not work for the majority of people''' (if errors are received using this, please use ZeroTier One)
 
<div class="toccolours mw-collapsible mw-collapsed">'''All platforms'''
It is also advisable to turn on low bandwidth mode. To do this, download [https://psp2i.wiki/files/local.conf this configuration file] and place it in the following location:
<div class="mw-collapsible-content">
 
# In PPSSPP, click '''Settings''' '''Networking'''.
'''Windows''': C:\ProgramData\ZeroTier\One<br>
# Set '''Change PRO ad hoc server IP address''' to '''psp2i.wiki'''.
'''Linux''': /var/lib/zerotier-one
# Tick '''Enable UPnP (need a few seconds to detect)'''. (only required if hosting)
 
# Tick '''Enable networking/WLAN'''.
Linux will require <code>sudo</code>, to do this, open the terminal where you downloaded the .conf file to, then input the following: <code>sudo mv local.conf /var/lib/zerotier-one</code>
# Set '''Port offset''' to 10000 (this is default).<br><br>
 
You are now fully setup to play multiplayer with other players. Now go into '''Multi Mode''' and form/join parties as necessary.</div></div>
This has no effect on using the network and will reduce latency for yourself and others.
 
==Troubleshooting==
===A network error has occurred after infinite walk===
'''Windows PC''': Download [https://www.ppsspp.org/files/1_10_3/ppsspp_win.zip PPSSPP 1.10.3] and try again. There is an issue for some players where versions beyond this do not work properly online.
 
===Allow ZeroTier One through your firewall (Windows PC)===
 
ZeroTier One will setup inbound and outbound rules for your firewall to allow the necessary ports and applications through, but it is possible your firewall may still be blocking this. You will need to setup some inbound and outbound rules to make sure the IP range of the PSP2i network is being allowed through.
# Open the Windows Settings app.
# Type in '''firewall''' in the search bar, and open '''Windows Defender Firewall'''.
# In the left column, click '''advanced settings''', and a new window should come up with a column that says '''Inbound Rules''' and '''Outbound Rules'''.
# Click '''Inbound Rules''', and click '''New Rule...''' on the right hand side.
# In the next window that pops up, follow the following instructions, using the steps column on the left:
## Set Rule Type to '''Custom'''.
## Click '''Scope''', then tick the two options for '''These IP addresses'''.
## Click '''Add''' next to both boxes, and then '''This IP address range''', and enter 172.23.0.0 in the top box, and 172.23.255.255 in the bottom box. See example image below of the finished result.
## Click '''Action''' and make sure '''allow the connection''' is ticked.
## Click '''Name''' and choose any name for this rule.
# Repeat the above instructions for an '''Outbound Rule'''.
 
{{Spoiler|Example of IP range rule setup|[[File:IP range rule.png|link=]]}}


{{Getting Started}}
{{Getting Started}}
Please note that all contributions to PSP2i Wiki are considered to be released under the CC BY-NC-SA 3.0 (see PSP2i:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)