hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.98k stars 2.14k forks source link

Cannot play GVGNP with multiplayers #17872

Open fun8e opened 1 year ago

fun8e commented 1 year ago

Game or games this happens in

None

What area of the game / PPSSPP

I want to play gundam vs gundam next plus with my friend. I established the connection well. When my friend joined my room, I could see that he joined successfully (that means both my and his phones showed that we were in the same room). Then I started the game, but later the screen showed that he disconnected. I could only started the game alone. When I quited the current game to the room, I could see he and I were still in the same room, that means the connection was stable.

What should happen

The game should start, and we can start the game together.

Logs

No response

Platform

Android

Mobile phone model or graphics card

Xiaomi 9 pro

PPSSPP version affected

v1.15.4

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

anr2me commented 1 year ago

Have you tried enabling "Forced First Connect" on networking setting?

Also, does any other games you have tried with that friend ever worked in multiplayer? (which indicate that none of you have blocked port issue)

fun8e commented 1 year ago

Have you tried enabling "Forced First Connect" on networking setting?

Also, does any other games you have tried with that friend ever worked in multiplayer? (which indicate that none of you have blocked port issue)

Yes, I tried enabling "Forced First Connect", but it still not worked. The same problem occurred.

I played King of fighters - the orichi saga in multiplayer mode, and it always worked, and we could played. For GVGNP, the two devices could join the same room, but the game could not start.

anr2me commented 1 year ago

Are both of you using Android Phone? (i never tried GVGNP using 2 phones as i remembered) Are you playing this game over the internet? (public server like socom.cc? or was it VPN? if on VPN which VPN are you using?) or on LAN?

fun8e commented 1 year ago

Are both of you using Android Phone? (i never tried GVGNP using 2 phones as i remembered) Are you playing this game over the internet? (public server like socom.cc? or was it VPN? if on VPN which VPN are you using?) or on LAN?

we both use Android phone. We tried this game on LAN (the same WiFi or one phone's hotspot), but it didn't work.

fun8e commented 1 year ago

Similar issues but in reverse with cross platform networking happens on tag force 3 when you try tag dueling there. And It seems like you cant duel Windows vs Windows on single duels as well. You will get disconnected at the start of the duel.

Yep, maybe there's a same bug in both tag force 3 and GVGNP when using adhoc in ppsspp. Has multiplayer mode ever worked for once in tag force 3? I really want to play it with my friends.

fun8e commented 1 year ago

Are both of you using Android Phone? (i never tried GVGNP using 2 phones as i remembered) Are you playing this game over the internet? (public server like socom.cc? or was it VPN? if on VPN which VPN are you using?) or on LAN?

Are both of you using Android Phone? (i never tried GVGNP using 2 phones as i remembered) Are you playing this game over the internet? (public server like socom.cc? or was it VPN? if on VPN which VPN are you using?) or on LAN?

Just now, I tried connecting an Android phone with a PC, and the same issue happened. The game couldnot start, neither in same wifi (router of my home) or Android phone's hotspot.

Only in GVGNP this problem occured, it worked well in KOF.

anr2me commented 1 year ago

Hmm.. that is strange, Android vs PC (Windows) always worked for me on LAN, tested both Android as host and PC as host.

What i did on both devices was:

  1. Restore PPSSPP's settings to default from System settings.
  2. Enable WLAN on Networking settings.
  3. Enable built-in AdhocServer on the host.
  4. Use the host LAN IP as pro-AdhocServer IP Address on both devices.
  5. Enable Show FPS counter and Show Speed on Graphics settings. (in case one of the device struggles to get full 100% speed, but both were getting 100% without problem)

I tried not to change anything else from default settings for testing purpose, but may be you just need a different Port Offset value for GvGNP.

PS: I couldn't get another Android phone to borrow yet to test with.

Saramagrean commented 1 month ago

Try both android via hotspot, It working but rare. 🤣

Screenshot_20240630-173503_PPSSPP Screenshot_20240630_173516_org ppsspp ppsspp

Test with PPSSPP v1.17.1-822.

Saramagrean commented 1 month ago

I think, i found cause of issue, why client device is always disconnect after host device start game. because client device is not confirm ok button in lobby room. (need press ok button 2 times) and no need to enable forced first connect anymore.

If cilent device status still show 待機中 (waiting). and host device press start game, client is always disconnect Screenshot_20240630-204854_PPSSPP

Client device needs to press confirm again until the word "OK" appears, It will not lose connection. Screenshot_20240630-204900_PPSSPP

fun8e commented 1 month ago

I think, i found cause of issue, why client device is always disconnect after host device start game. because client device is not confirm ok button in lobby room. (need press ok button 2 times) and no need to enable forced first connect anymore.

If cilent device status still show 待機中 (waiting). and host device press start game, client is always disconnect Screenshot_20240630-204854_PPSSPP

Client device needs to press confirm again until the word "OK" appears, It will not lose connection. Screenshot_20240630-204900_PPSSPP

actually, both show OK and no one is 待机中(waiting). but when it begins, it shuts down suddenly. and we both get back to the room where we just OKed (>_<)

Saramagrean commented 1 month ago

It work fine for me (via Hotspot or Online via AsteriaVerse), u try PPSSPP latest git build (1.17.1-822) ???

Host (Redmi Note 8) Screenshot_20240701-011153_PPSSPP

Client (Huawei P10 Plus) Screenshot_20240701_011156_org ppsspp ppsspp

Settings Screenshot_20240701-011206_PPSSPP Screenshot_20240701-011211_PPSSPP Screenshot_20240701-011230_OpenVPN Connect

fun8e commented 1 month ago

It work fine for me (via Hotspot or Online via AsteriaVerse), u try PPSSPP latest git build (1.17.1-822) ???

Host (Redmi Note 8) Screenshot_20240701-011153_PPSSPP

Client (Huawei P10 Plus) Screenshot_20240701_011156_org ppsspp ppsspp

Settings Screenshot_20240701-011206_PPSSPP Screenshot_20240701-011211_PPSSPP Screenshot_20240701-011230_OpenVPN Connect

using version 1.17.1, but it still not work via wifi (hotspot), could u plz give me a guidance (or link) of how to play AsteriaVerse? thank you so much‼

fun8e commented 1 month ago

It work fine for me (via Hotspot or Online via AsteriaVerse), u try PPSSPP latest git build (1.17.1-822) ???

Host (Redmi Note 8) Screenshot_20240701-011153_PPSSPP

Client (Huawei P10 Plus) Screenshot_20240701_011156_org ppsspp ppsspp

Settings Screenshot_20240701-011206_PPSSPP Screenshot_20240701-011211_PPSSPP Screenshot_20240701-011230_OpenVPN Connect

Hi! thank you so much! I switch to another NEW phone, and it works now with my PC!

I Think maybe sth goeswrong with the wifi module of my old phone.

anr2me commented 1 month ago

Are you using v1.17.1 or v1.17.1-822/823 on your new phone? May be because you're using a newer version of PPSSPP on the new phone.