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 6: Line 4:


'''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.'''
'''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==
If having any issues, it is recommended to try using PPSSPP version 1.10.3 first. Download links to this version may be found on the [[installation]] page. If more assistance is required, please ask at the PSP2i Community Discord for help.
<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 (Recommended)==
* '''Pros''': Easy installation, very quick to setup.
* '''Cons''': Doesn't work for everybody.
<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">
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] - 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 configurations. We recommend this program currently as it is free and has crossplay with mobile devices running PPSSPP.
# 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; right click it and click '''Open Control Panel'''.
# 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, enter the string '''b6079f73c6cd58c5''' in the bottom box and click '''Join Network'''.
# 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:
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, click '''Game settings''' → '''More settings''' → '''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 PRO ad hoc server IP address''': 172.23.1.1
::: '''Change MAC Address''': Make sure to click this at least once to get a random MAC Address. This only has to be done if it has never been done before.
::: '''Port offset''': 10000 (this is default)
::: '''Enable built-in PRO ad hoc server''': On
 
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!
# Decide who will host the game.
 
# 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).
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>
# 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!</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">
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] - 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 configurations. We recommend this program currently as it is free and has crossplay with mobile devices running PPSSPP.
# 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.
# You should now see the '''PSP2i''' network come up -- tap 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 some setup in PPSSPP:
Now that you are connected to the PSP2i network, you will need to do some setup in PPSSPP:
Line 81: Line 48:
# 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 PRO ad hoc server IP address''': 172.23.1.1
::: '''Change MAC Address''': Make sure to tap this at least once to get a random MAC Address. This only has to be done if it has never been done before.
::: '''Port offset''': 10000 (this is default)
::: '''Enable built-in PRO ad hoc server''': On
 
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!
# Decide who will host the game.
# 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!</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>
==HunsterVerse==
<div class="toccolours mw-collapsible mw-collapsed">'''Steam Deck'''
* '''Pros''': Uses a static IP for the server, no need to change every game. Tends to have the most success.
* '''Cons''': Lengthy setup, requires signing up with e-mail address, must join a Discord server and can have significant latency issues.
<div class="toccolours mw-collapsible mw-collapsed">'''Windows PC'''
<div class="mw-collapsible-content">
<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.'''
If you are already signed up for HunsterVerse for Monster Hunter Portable, your current setup can be used for PSP2i.


What you need:
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.
* [https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.2-I601.exe Open VPN]
# Sign up for HunsterVerse [https://hunstermonter.net/hunsterverse-pc.php here]. You should receive an e-mail with a 12 character code.
# Join the HunsterVerse Discord [https://discord.gg/YuE42eh here].
# Go to the '''#welcome''' channel and follow the instructions shown to be able to see the rest of the Discord channels.
# Go to the '''#bot-command''' channel and type !activate CODE, where CODE is the 12 character code you received to your e-mail address. If successful, you should now receive an OpenVPN certificate file to your e-mail address.
# Install OpenVPN, and make sure to also install the network adapter when it asks.
# After installation, open the program '''OpenVPNGUI'''.
# In the system tray in the bottom right, there will be a monitor icon with a lock. Right-click this and click '''import file''', then choose the certificate file you received earlier.
# A new icon should have appeared in the bottom right. Right click this and click connect to connect to HunsterVerse. The icon should turn green to signify a successful connection.


# 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.
It may be necessary to allow PPSSPP and OpenVPN through your firewall if you run into any issues here.
# 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 HunsterVerse, 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''' → '''System''' → '''Change nickname''' and change your nickname to your HunsterVerse username. This is required to connect.
# In PPSSPP on the home screen, click on '''Settings''', then '''Networking'''.
# Click '''Game settings''' → '''More settings''' → '''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 PRO ad hoc server IP address''': 172.23.1.1
::: '''Change MAC Address''': Make sure to click this at least once to get a random MAC Address. This only has to be done if it has never been done before.
::: '''Port offset''': 10000 (this is default)
::: '''Enable built-in PRO ad hoc server''': Off
 
::: '''Change PRO ad hoc server IP address''': 10.42.0.1 (if this ever stops working, go to '''#bot-command''' on the HunsterVerse Discord and type '''!ip''' to get the new address)
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. 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 all players are using the same '''port offset''' in networking settings; 1100 is recommended for compatibility with mobile devices.
# 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>
<div class="toccolours mw-collapsible mw-collapsed">'''Android'''
<div class="mw-collapsible-content">
If you are already signed up for HunsterVerse for Monster Hunter Portable, your current setup can be used for PSP2i.


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'''.
What you need:
* [https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en Open VPN from the Play Store]
# Sign up for HunsterVerse [https://hunstermonter.net/hunsterverse-android.php here]. You should receive an e-mail with a 12 character code.
# Join the HunsterVerse Discord [https://discord.gg/YuE42eh here].
# Go to the '''#welcome''' channel and follow the instructions shown to be able to see the rest of the Discord channels.
# Go to the '''#bot-command''' channel and type !activate CODE, where CODE is the 12 character code you received to your e-mail address. If successful, you should now receive an OpenVPN certificate file to your e-mail address.
# Install OpenVPN.
# After installation, open the app '''OpenVPNGUI'''.
# Tap on the three dots, choose '''Import''' and choose '''Import profile from SD Card''', browse for your certificate you received earlier, and tap '''Accept'''.
# Choose '''Connect'''.


If you ever wish to disable the ZeroTier One service, use the below commands in '''Konsole''':
Now that you are connected to HunsterVerse, you will need to do some setup in PPSSPP:
* <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.
# In PPSSPP, tap '''Settings''' on the home screen → '''System''' → '''Change nickname''' and change your nickname to your HunsterVerse username. This is required to connect.
# Tap '''Settings''' on the home screen → '''Networking'''.
# Change your settings on the page to the following:
::: '''Enable networking/WLAN''': On
::: '''Change MAC Address''': Make sure to tap this at least once to get a random MAC Address. This only has to be done if it has never been done before.
::: '''Enable built-in PRO ad hoc server''': Off
::: '''Change PRO ad hoc server IP address''': 10.42.0.1 (if this ever stops working, go to '''#bot-command''' on the HunsterVerse Discord and type '''!ip''' to get the new address)


<big>'''Low bandwidth mode'''</big>
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:


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:
# Make sure that all players are using the same '''port offset''' in networking settings; 1100 is recommended for compatibility with mobile devices.
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!</div></div>


'''Windows''': C:\ProgramData\ZeroTier\One<br>
==socom.cc==
'''Linux''': /var/lib/zerotier-one
* '''Pros''': Requires no installations, extremely quick setup.
* '''Cons''': Requires WiFi/Ethernet connection, does not work over mobile connections, and router must have UPnP enabled or DMZ.
<div class="toccolours mw-collapsible mw-collapsed">'''Windows PC'''
<div class="mw-collapsible-content">
# In PPSSPP, click '''Game settings''' '''More settings''' → '''Networking'''.
# Set '''Change PRO ad hoc server IP address''' to '''socom.cc'''.
# Tick '''Enable UPnP (need a few seconds to detect)'''.
# Untick '''Forced first connect (faster connect)'''.


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>
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:


This has no effect on using the network and will reduce latency for yourself and others.
# Make sure that all players are using the same '''port offset''' in networking settings; 1100 is recommended for compatibility with mobile devices.
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!</div></div>
<div class="toccolours mw-collapsible mw-collapsed">'''Android'''
<div class="mw-collapsible-content">
# In PPSSPP, tap '''Settings''' on the home screen → '''Networking'''.
# Set '''Change PRO ad hoc server IP address''' to '''socom.cc'''.
# Tick '''Enable UPnP (need a few seconds to detect)'''.
# Untick '''Forced first connect (faster connect)'''.


==Troubleshooting==
You are now fully setup to play multiplayer with other players! When going to play with other players, follow the below steps:
===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=]]}}
# Make sure that all players are using the same '''port offset''' in networking settings; 1100 is recommended for compatibility with mobile devices.
# In-game, go to '''Multi Mode''' and form/join party as necessary, and you should all be good to go!</div></div>


{{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)