Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone - PSVita multiplayer with Hotspot. Port 0 shift error #19937

Open
3 of 5 tasks
LatusPL opened this issue Feb 1, 2025 · 1 comment
Open
3 of 5 tasks

Phone - PSVita multiplayer with Hotspot. Port 0 shift error #19937

LatusPL opened this issue Feb 1, 2025 · 1 comment

Comments

@LatusPL
Copy link

LatusPL commented Feb 1, 2025

Game or games this happens in

UCES01421 - Patapon 3 EU

What area of the game / PPSSPP

I got a PSVita and My Phone. I set up my PPSSPP for that PSVita to have compatibility with PSVita. Settings that I changed:

Port Offset 0
Randomized Mac Address
Pro Adhoc Ip: Phone Mobile Data/Local Host with Hotspot enabled for PSVita to connect to
no UPNP ( Dont have UPNP )
WLAN Channel = Auto
Minimum Timeout = 0
Forced First Connect = 0

My PSVita has the same settings as My Mobile Data thanks to Hotspot feature, Uses the same Game and Region, Using Pro Online Client for help ( Did not help ). I also don't know why but any network on My PSVita just cuts off after connecting with other apps. On System it stays.

But anyways. PPSSPP when it starts to connect it always shifts My port from 0 to 540 and softlocks the game in connecting status ingame.

I believe it might be My router or My Mobile Network but the best posibility is just My Hotspot which uses No Password due to old technology used by PSVita, 2,4ghz band, 3G Mobile Data and no spaced SSID.

If more information needed, I can share.

What should happen

Port succesfully binded, Opening the hideout/Searching for any Hideouts.

Logs

No response

Platform

Android

Mobile device model or graphics card (GPU)

Redmi Note 10 Pro

PPSSPP version affected

1.18.1

Last working version

Graphics backend (3D API)

Vulkan

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@LatusPL LatusPL changed the title Phone - PSVita multiplayer with Hotspot Port 0 shift error Phone - PSVita multiplayer with Hotspot. Port 0 shift error Feb 2, 2025
@anr2me
Copy link
Collaborator

anr2me commented Feb 2, 2025

PPSSPP when it starts to connect it always shifts My port from 0 to 540

May be you have a game-specific settings overriding the global settings.
Also, some games use port 0 when using it as client (doesn't need to bind as specific port, and don't need port forwarding), which mean they can works with any port and the system will provide the port (usually a random port higher than 1023).

Anyway, you have several reasons for why it won't works:
Android app can't bind ports below 1024, while most Adhoc games use those kind of ports, which is why we use port offset to avoid this restriction on some platforms.

Unfortunately, there is no port offset feature on the legacy PRO-Online plugin, thus LAN multiplayer on Android vs real PSP/Vita won't works. Someone will need to update the PRO-Online plugin to add port offsetting/shifting feature. And localhost should only be used for multiple-instance multiplayer, while LAN/VPN play will need to select the correct LAN/VPN IP.

And. you can't use the same internet when playing using public Adhoc Server, because each player need to have a different public IP, thus need a different internet connection.

Also, playing over public Adhoc Server will need port-forwarding (ie. either manually forward the port or use UPnP), but most mobile data providers doesn't allows port-forwarding, thus won't works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants