Setting up multiplayer: Difference between revisions

From PSP2i Wiki
No edit summary
Tag: Manual revert
 
(108 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Multiplayer''' on ''Phantasy Star Portable 2 Infinity'' is playing the game in either Multi Mode or Internet-Multi Mode. In multiplayer, players will be able to team up with other players and tackle a variety of missions together, many of them unique to Multi Mode and requiring multiple players.
{{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.}}


Internet-Multi Mode is now defunct, as the online servers for the game were taken offline by ''SEGA'' on 2015-09-29. However, it is still possible to play online through the use of P2P networking in ad hoc multiplayer. This can be done using the PPSSPP emulator, available on Windows PC, Android and iOS.
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.


Below you may find instructions on how to connect online with PPSSPP and our recommended method of doing so. Please note that while it is possible to go online with official hardware (PSP and PS Vita), they cannot consistently play online with emulators, which is where the majority of players play now, therefore we do not recommend playing on a console for multiplayer, and will not be offering guides on how to do so. If you wish to play on a PSP/Vita, it is recommended to transfer your savefile to another system temporarily while playing multiplayer.
Internet-Multi Mode is now defunct, as the online servers for the game were taken offline by ''SEGA'' on 2015-09-29. However, it is still possible to play online through peer-to-peer connectivity, through adhoc servers or gaming VPNs.  This means that multiplayer games must be arranged in advance, for example through the [https://discord.gg/7QrArGAcj3 PSP2i Community Discord].
==Windows PC==
 
'''Before playing multiplayer, it is highly recommended to clear both episodes of Story Mode, as without clearing the story, you will not have access to missions or adequate shop items.'''
==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.
{{Spoiler|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.
 
[[File:WLAN on.png|link=]]
 
With this active, go to '''Multi Mode''', choose '''Form Party''', then '''Begin Party Play''', and multi mode will start.}}
 
{{Spoiler|PPSSPP|
# In PPSSPP, choose '''Settings''' on the home screen → '''Networking'''.
# Change your settings on the page to the following:
::: '''Enable networking/WLAN''': On
::: '''Enable built-in PRO ad hoc server''': On
::: '''Change PRO ad hoc server IP address''': localhost
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.}}
 
==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.
{{Spoiler|All platforms|
# 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'''
## '''Android''': This may differ from device to device, but the usual way to find this out is to go to '''Settings''' → '''About device''' → '''Status'''. On this screen, the IP listed under '''local IP address''' is the device's local IP address.
## '''Steam Deck''': In desktop mode, click on the system tray network icon in the bottom right corner of the screen. Then, click on the active connection, click on details, and the address under '''IPv4 Address''' is your local IP address.
# In PPSSPP on all systems, choose '''Settings''' on the home screen → '''Networking'''.
# Change your settings on the page to the following:
::: '''Enable networking/WLAN''': On
::: '''Enable built-in PRO ad hoc server''': On
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:
# Decide who will host the game.
# 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.
# 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==
<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>
<div class="toccolours mw-collapsible mw-collapsed">'''Windows PC'''
<div class="mw-collapsible-content">
What you need:
What you need:
* [https://download.zerotier.com/dist/ZeroTier%20One.msi Zero Tier One] - Zero Tier One is a virtual network management program, similar to Hamachi. It allows people to join a network and connect to each other seamlessly without requiring router setups, port forwarding, or other such confiruations. We recommend this program currently as it is free and has crossplay with mobile devices running PPSSPP.
* [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; right click it and click '''Open Control Panel'''.
# 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, enter the string '''b6079f73c6cd58c5''' in the bottom box and click '''Join Network'''.
# In the window that comes up, paste the string '''48d6023c46153e42''' and then click '''Join'''. (If a prompt appears asking if you wish for your PC to discoverable, it is advised to click '''No''')
# You should now see the '''PSP2i''' network come up -- click it and you will see a lot of extra information, including '''Managed IPs'''.
 
Now that you are connected to the PSP2i network, you will need to do a one-time setup in PPSSPP:
 
# In PPSSPP, click '''Game settings''' → '''More settings''' → '''Networking'''.
# Change your settings on the page to the following:
::: '''Enable networking/WLAN''': On
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''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:
 
# 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!
 
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="mw-collapsible-content">
What you need:
* [https://download.zerotier.com/dist/ZeroTierOne.apk Zero Tier One]
# Install the '''ZeroTierOne.apk''' on your system.
# Open the app and tap the + icon in the top right.
# In the screen that comes up, enter the string '''48d6023c46153e42''' 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.


Now that you are connected to the PSP2i network, you will need to do some setup in PPSSPP:
Now that you are connected to the PSP2i network, you will need to do some setup in PPSSPP:


# In PPSSPP, click '''Game settings''' → '''More settings''' '''Networking'''.
# In PPSSPP, tap '''Settings''' on the home screen → '''Networking'''.
# Change your settings on the page to the following:
::: '''Enable networking/WLAN''': On
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''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:
 
# 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!
 
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="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.'''
 
What you need:
* [https://psp2i.wiki/files/PSP2i.sh PSP2i.sh] - A bash script file that will install ZeroTier One and connect you to the PSP2i server in one click.
 
# If you have never done it before, open the '''Konsole''' application and type <code>passwd</code> to set a sudo password. Note that inputs are not shown when typing in password fields in Konsole.
# Right-click the '''PSP2i.sh''' file, click '''properties''', click '''permissions''', and make sure the '''Is executable''' box is ticked.
# Right-click the '''PSP2i.sh''' file and click '''Run in Konsole''', input your sudo password and accept any prompts.
 
If '''200 join OK''' is displayed at the end, everything was successful. If an error message is received regarding ports, run the script again and it will work.
 
Now that you are connected to the PSP2i network, you will need to do some setup in PPSSPP:
# In PPSSPP on the home screen, click on '''Settings''', then '''Networking'''.
# Change your settings on the page to the following:
# Change your settings on the page to the following:
::: '''Enable networking/WLAN''': On
::: '''Enable networking/WLAN''': On
::: '''Change MAC Address''': Make sure to click this at least once to get a random MAC Address
::: '''Change PRO ad hoc server IP address''': 172.23.1.1
::: '''Enable built-in PRO ad hoc server''': On
::: '''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:


# Decide who will host the game.
# 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 PPSSPP networking settings, all players must set '''Change PRO ad hoc server IP address''' to the Zero Tier Managed IP of the host (without the /16).
# Make sure that all players are using the same '''port offset''' as well; 1100 is recommended for compatibility with mobile devices.
# 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!
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''':
* <code>sudo systemctl stop zerotier-one.service</code> - This will stop the service.
* <code>sudo systemctl disable zerotier-one.service</code> - This will stop the service booting up on system launch.
If you ever wish to uninstall ZeroTier One, use the below command in '''Konsole''':
* <code>sudo pacman -Rcns zerotier-one</code>
</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.
<big>'''Low bandwidth mode'''</big>
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:
'''Windows''': C:\ProgramData\ZeroTier\One<br>
'''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}}

Latest revision as of 15:09, 1 November 2024

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 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.

Internet-Multi Mode is now defunct, as the online servers for the game were taken offline by SEGA on 2015-09-29. However, it is still possible to play online through peer-to-peer connectivity, through adhoc servers or gaming VPNs. This means that multiplayer games must be arranged in advance, for example through the PSP2i Community Discord.

Before playing multiplayer, it is highly recommended to clear both episodes of Story Mode, as without clearing the story, you will not have access to missions or adequate shop items.

Solo multi mode[edit | edit source]

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.

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.

With this active, go to Multi Mode, choose Form Party, then Begin Party Play, and multi mode will start.
PPSSPP
  1. In PPSSPP, choose Settings on the home screen → Networking.
  2. Change your settings on the page to the following:
Enable networking/WLAN: On
Enable built-in PRO ad hoc server: On
Change PRO ad hoc server IP address: localhost

You are now all set up to play multi mode alone!

  1. In-game, go to Multi Mode, choose Form Party, then Begin Party Play, and multi mode will start.

PPSSPP multiplayer on the same network[edit | edit source]

If playing multi mode together on the same network, no extra setup is required, and can be done without connecting to any outside sources.

All platforms
  1. On the machine that will be hosting, find out its local IP address.
    1. 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
    2. Android: This may differ from device to device, but the usual way to find this out is to go to SettingsAbout deviceStatus. On this screen, the IP listed under local IP address is the device's local IP address.
    3. Steam Deck: In desktop mode, click on the system tray network icon in the bottom right corner of the screen. Then, click on the active connection, click on details, and the address under IPv4 Address is your local IP address.
  2. In PPSSPP on all systems, choose Settings on the home screen → Networking.
  3. Change your settings on the page to the following:
Enable networking/WLAN: On
Enable built-in PRO ad hoc server: On

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

  1. Decide who will host the game.
  2. In PPSSPP networking settings, all players must set Change PRO ad hoc server IP address to the local IP address of the host.
  3. Restart PPSSPP to make sure the settings change.
  4. 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[edit | edit source]

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.

Windows PC

What you need:

  1. Install Zero Tier One on your system.
  2. The program will be in the system tray in the bottom right; click it and click Join New Network....
  3. In the window that comes up, paste the string 48d6023c46153e42 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:

  1. In PPSSPP, click Game settingsMore settingsNetworking.
  2. Change your settings on the page to the following:
Enable networking/WLAN: On
Change PRO ad hoc server IP address: 172.23.1.1
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:

  1. Make sure that you are connected to ZeroTier One.
  2. 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 front page. If you wish to change your display name, go into Settings and System and go to Change nickname.
Android

What you need:

  1. Install the ZeroTierOne.apk on your system.
  2. Open the app and tap the + icon in the top right.
  3. In the screen that comes up, enter the string 48d6023c46153e42 under Network ID and tap Add Network.
  4. 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.

Now that you are connected to the PSP2i network, you will need to do some setup in PPSSPP:

  1. In PPSSPP, tap Settings on the home screen → Networking.
  2. Change your settings on the page to the following:
Enable networking/WLAN: On
Change PRO ad hoc server IP address: 172.23.1.1
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:

  1. 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.
  2. 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 front page. If you wish to change your display name, go into Settings and System and go to Change nickname.
Steam Deck
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.

What you need:

  • PSP2i.sh - A bash script file that will install ZeroTier One and connect you to the PSP2i server in one click.
  1. If you have never done it before, open the Konsole application and type passwd to set a sudo password. Note that inputs are not shown when typing in password fields in Konsole.
  2. Right-click the PSP2i.sh file, click properties, click permissions, and make sure the Is executable box is ticked.
  3. Right-click the PSP2i.sh file and click Run in Konsole, input your sudo password and accept any prompts.

If 200 join OK is displayed at the end, everything was successful. If an error message is received regarding ports, run the script again and it will work.

Now that you are connected to the PSP2i network, you will need to do some setup in PPSSPP:

  1. In PPSSPP on the home screen, click on Settings, then Networking.
  2. Change your settings on the page to the following:
Enable networking/WLAN: On
Change PRO ad hoc server IP address: 172.23.1.1
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:

  1. 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.
  2. 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 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:

  • sudo systemctl stop zerotier-one.service - This will stop the service.
  • sudo systemctl disable zerotier-one.service - This will stop the service booting up on system launch.

If you ever wish to uninstall ZeroTier One, use the below command in Konsole:

  • sudo pacman -Rcns zerotier-one

Network tips[edit | edit source]

Leave the ZeroTier network when not playing

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.

Low bandwidth mode

It is also advisable to turn on low bandwidth mode. To do this, download this configuration file and place it in the following location:

Windows: C:\ProgramData\ZeroTier\One
Linux: /var/lib/zerotier-one

Linux will require sudo, to do this, open the terminal where you downloaded the .conf file to, then input the following: sudo mv local.conf /var/lib/zerotier-one

This has no effect on using the network and will reduce latency for yourself and others.

Troubleshooting[edit | edit source]

A network error has occurred after infinite walk[edit | edit source]

Windows PC: Download 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)[edit | edit source]

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.

  1. Open the Windows Settings app.
  2. Type in firewall in the search bar, and open Windows Defender Firewall.
  3. In the left column, click advanced settings, and a new window should come up with a column that says Inbound Rules and Outbound Rules.
  4. Click Inbound Rules, and click New Rule... on the right hand side.
  5. In the next window that pops up, follow the following instructions, using the steps column on the left:
    1. Set Rule Type to Custom.
    2. Click Scope, then tick the two options for These IP addresses.
    3. 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.
    4. Click Action and make sure allow the connection is ticked.
    5. Click Name and choose any name for this rule.
  6. Repeat the above instructions for an Outbound Rule.
Example of IP range rule setup