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 8: Line 7:
==Solo multi mode==
==Solo multi mode==
If playing multi mode alone, no extra setup is required, and can be done without connecting to any outside sources. The below is also applicable if playing multi mode on PPSSPP on the same system, or physically with multiple PSPs or PS Vitas, although someone will have to form party and then join it.
If playing multi mode alone, no extra setup is required, and can be done without connecting to any outside sources. The below is also applicable if playing multi mode on PPSSPP on the same system, or physically with multiple PSPs or PS Vitas, although someone will have to form party and then join it.
{{Spoiler|PSP / PS Vita|
===PSP / PS Vita===
If playing on hardware, make sure that the WLAN switch or internet connectivity is turned on. You will be able to tell if this is the case in the main menu at the bottom, as there is a small banner that signifies the current status of the WLAN switch.
If playing on hardware, make sure that the WLAN switch or internet connectivity is turned on. You will be able to tell if this is the case in the main menu at the bottom, as there is a small banner that signifies the current status of the WLAN switch.


[[File:WLAN on.png|link=]]
[[File:WLAN on.png|link=]]


With this active, go to '''Multi Mode''', choose '''Form Party''', then '''Begin Party Play''', and multi mode will start.}}
With this active, go to '''Multi Mode''', choose '''Form Party''', then '''Begin Party Play''', and multi mode will start.
 
===PPSSPP===
{{Spoiler|PPSSPP|
# In PPSSPP, choose '''Settings''' on the home screen → '''Networking'''.
# In PPSSPP, choose '''Settings''' on the home screen → '''Networking'''.
# Change your settings on the page to the following:
# Change your settings on the page to the following:
Line 22: Line 20:
::: '''Change PRO ad hoc server IP address''': localhost
::: '''Change PRO ad hoc server IP address''': localhost
You are now all set up to play multi mode alone!
You are now all set up to play multi mode alone!
# In-game, go to '''Multi Mode''', choose '''Form Party''', then '''Begin Party Play''', and multi mode will start.}}
# In-game, go to '''Multi Mode''', choose '''Form Party''', then '''Begin Party Play''', and multi mode will start.


==PPSSPP multiplayer on the same network==
==PPSSPP multiplayer on the same network==
If playing multi mode together on the same network, no extra setup is required, and can be done without connecting to any outside sources.
If playing multi mode together on the same network, no extra setup is required, and can be done without connecting to any outside sources.
{{Spoiler|All platforms|
===All platforms===
# On the machine that will be hosting, find out its local IP address.
# On the machine that will be hosting, find out its local IP address.
## '''Windows PC''': Open '''cmd.exe''' and type '''ipconfig'''. This will bring up some information, the IPv4 address that starts '''192.168''' or '''10.0''' will be the local IP address. For example: '''192.168.1.15'''
## '''Windows PC''': Open '''cmd.exe''' and type '''ipconfig'''. This will bring up some information, the IPv4 address that starts '''192.168''' or '''10.0''' will be the local IP address. For example: '''192.168.1.15'''
Line 39: Line 37:
# In PPSSPP networking settings, all players must set '''Change PRO ad hoc server IP address''' to the local IP address of the host.
# In PPSSPP networking settings, all players must set '''Change PRO ad hoc server IP address''' to the local IP address of the host.
# Restart PPSSPP to make sure the settings change.
# Restart PPSSPP to make sure the settings change.
# 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!


==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===
<div class="toccolours mw-collapsible mw-collapsed">'''Windows PC'''
* '''Pros''': Easy and fast installation, works for everybody
<div class="mw-collapsible-content">
* '''Cons''': Requires a very small set up
====Windows PC====
What you need:
What you need:
* [https://download.zerotier.com/dist/ZeroTier%20One.msi Zero Tier One] ([https://download.zerotier.com/RELEASES/1.6.6/dist/ZeroTier%20One.msi Windows 7 and Windows 8] cannot use the latest version, and must use version 1.6.6)
* [https://download.zerotier.com/dist/ZeroTier%20One.msi Zero Tier One] ([https://download.zerotier.com/RELEASES/1.6.6/dist/ZeroTier%20One.msi Windows 7 and Windows 8] cannot use the latest version, and must use version 1.6.6)
# 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 57:
::: '''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 65: Line 62:
# 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!
 
<hr>
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>
====Android====
<div class="toccolours mw-collapsible mw-collapsed">'''Android'''
<div class="mw-collapsible-content">
What you need:
What you need:
* [https://download.zerotier.com/dist/ZeroTierOne.apk Zero Tier One]
* [https://download.zerotier.com/dist/ZeroTierOne.apk Zero Tier One]
# 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 78:
::: '''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 90: Line 83:
# 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!
 
<hr>
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>
====Steam Deck====
<div class="toccolours mw-collapsible mw-collapsed">'''Steam Deck'''
<div class="mw-collapsible-content">
: '''Because of how SteamOS handles updates, it is possible that ZeroTier One will require a re-installation after one. If this occurs, only step 3 of the installation guide needs to done again unless the script file is deleted.'''
: '''Because of how SteamOS handles updates, it is possible that ZeroTier One will require a re-installation after one. If this occurs, only step 3 of the installation guide needs to done again unless the script file is deleted.'''


Line 111: Line 102:
::: '''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 107:
# 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 126: Line 113:
If you ever wish to uninstall ZeroTier One, use the below command in '''Konsole''':
If you ever wish to uninstall ZeroTier One, use the below command in '''Konsole''':
* <code>sudo pacman -Rcns zerotier-one</code>
* <code>sudo pacman -Rcns zerotier-one</code>
</div></div>
<hr>
===Network tips===
===AdhocServer===
<big>'''Leave the ZeroTier network when not playing'''</big>
* '''Pros''': Requires no installations, extremely quick set up, works on every system
 
* '''Cons''': Requires a UPnP enabled router, does not work on mobile data, does not work for most people
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.
====All platforms====
 
# In PPSSPP, click '''Settings''' '''Networking'''.
<big>'''Low bandwidth mode'''</big>
# Set '''Change PRO ad hoc server IP address''' to '''psp2i.wiki'''.
 
# Tick '''Enable UPnP (need a few seconds to detect)'''. (only required if hosting)
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:
# Tick '''Enable networking/WLAN'''.
 
# Set '''Port offset''' to 10000 (this is default).<br><br>
'''Windows''': C:\ProgramData\ZeroTier\One<br>
You are now fully setup to play multiplayer with other players. Now go into '''Multi Mode''' and form/join parties as necessary.
'''Linux''': /var/lib/zerotier-one
 
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>
 
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)