ANR2ME
7a06103cc6
Create GameMode's socket after Master and all Replicas have been created so we will know the largest buffer size.
2021-05-31 04:37:09 +07:00
ANR2ME
206ab4345e
Attempts to reconnect to Adhoc Server only when Creating/Joining/Connecting to a group or Scanning for groups, instead of on 2 seconds interval.
2021-04-02 12:19:02 +07:00
ANR2ME
e3228ca1b5
Use a function to check for loopback address
2021-04-02 12:18:12 +07:00
M4xw
4cc322466a
Switch: Workaround several missing toolchain defs.
2021-03-04 21:24:57 -08:00
ANR2ME
758fb12fc3
Making sure there are no warnings related to deprecated inet_ntoa function
2021-03-01 01:45:27 +07:00
ANR2ME
0ce2c2c6e9
Windows recvfrom doesn't support MSG_TRUNC, so we're using dummy buffer with max size as alternative for peeking actual size of the next pending message.
2021-02-11 07:40:35 +07:00
ANR2ME
fc452c0dfd
Fix frozen (0 FPS) issue on Kao Challengers and Asterix & Obelix XX (probably also fix other games from the same developer with similar issue) https://github.com/hrydgard/ppsspp/issues/14103
2021-02-11 03:44:25 +07:00
ANR2ME
849fe4ade1
Updated PdpStat to prevent rcv_sb_cc from exceeding the buffer size arg (since we use larger buffer size to prevent micro stutters or disconnection issue due to too many dropped packets with small buffer size).
...
TODO: May need to improve it to be able to calculate the correct size if there are multiple datagram messages
2021-02-04 10:31:01 +07:00
ANR2ME
a51036ffaf
Updated PdpStat and PtpStat
2021-02-02 03:39:04 +07:00
ANR2ME
d907906c74
Fix connection issue on Dynasty Warriors (Shin Sangoku Musou) games when playing with more than 2 players.
2021-01-30 15:20:24 +07:00
ANR2ME
b10797db95
Fixed an issue where sometimes a player unable to join a host on Warriors Orochi 2 (should also fix similar issue on other games that use PDP/UDP on Windows)
2020-12-25 00:27:35 +07:00
ANR2ME
38d887ce88
Change socket's MSS based on PSP_ADHOC_PTP_MSS
2020-11-16 19:03:11 +07:00
ANR2ME
4eca124710
Blocks current thread to synchronize initial GameMode data. Fixes desync issue when GameMode multiplayer mission is being started.
2020-10-29 06:08:51 +07:00
ANR2ME
399f56f73b
Implementing Adhocctl Busy state to prevent getting kicked out from Adhoc Server on games that tries to leave the group multiple times in a row.
...
Also Updated Adhocctl behavior.
2020-10-29 06:04:22 +07:00
ANR2ME
0157fe4988
Updated GameMode API (Fixed Pocket Pool)
2020-10-29 06:00:16 +07:00
ANR2ME
bff18c07d0
Fixed unable to see game room issue on Air Conflicts - Aces Of World War 2, should also fix other games with similar issue (due to invalid group mode)
2020-10-29 06:00:16 +07:00
ANR2ME
e5a02cebb4
Added Connection Refused error code on PtpConnect
2020-10-19 19:08:10 +07:00
ANR2ME
d395611135
Fixed disconnection issue when multiplayer game started on Shaun White Snowboarding, and improved multiplayer performance on games that use GameMode.
2020-10-19 19:08:10 +07:00
ANR2ME
59e2bab7ec
Added some network-related missing error codes.
2020-10-11 09:57:56 +07:00
ANR2ME
731461ad4c
Minor changes.
2020-10-10 01:01:35 +07:00
ANR2ME
93e2a1b586
Updated AdhocPollSocket implementation to fix Bleach Heat the Soul 7, Fate Unlimited Codes, Carnage Heart EXA
2020-10-10 01:01:12 +07:00
ANR2ME
8b2073cd7f
Prevent Dissidia 012 from opening too many ports when failed to connect continuously.
2020-10-10 01:00:32 +07:00
ANR2ME
fabcb60c9a
Making the workaround that fix Gundam vs Gundam Next Plus to be optional as it can improve connectivity on other games over high latency networks, and fix GvG Next Plus properly.
2020-10-10 01:00:32 +07:00
ANR2ME
d628eb2ebd
Fix Falcom games (ie. Ys vs. Sora no Kiseki, Vantage Master Portable)
2020-10-09 23:45:12 +07:00
ANR2ME
6d02e25318
Updated GameMode implementation to fix Bomberman, also improved performance on BattleZone. (+1 squashed commits)
...
Squashed commits:
[4a3168b2d] GameMode oops
2020-10-09 23:42:03 +07:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
ANR2ME
4881f4f0bd
Fixed PdpStat and PtpStat info
2020-09-22 10:16:04 +07:00
ANR2ME
a840bf9690
Added alerted flags info on AdhocSocket to be used on PollSocket
2020-09-21 06:42:40 +07:00
ANR2ME
3439511e0c
Implementing Adhoc GameMode HLE
2020-09-20 11:55:16 +07:00
ANR2ME
e690dc62dc
Fix an issue of major performance drops when using accepted PTP Sockets.
2020-09-15 01:53:18 +07:00
ANR2ME
8d68e917b7
Prevent Client side from forever re-trying to connect to Exited Host on Shin Sangoku Musou Multi Raid 2
2020-09-14 03:38:20 +07:00
ANR2ME
3b38062a47
Fix Failed to Bind already used port issue on Android (and probably linux too). This should fix Dynasty Warrior Strikeforce and Shin Sangoku Musou Multi Raid 2
2020-09-12 09:08:50 +07:00
ANR2ME
82a064adcf
Resolve Adhoc Server DNS early and cache it so we don't need to resolve it again later.
2020-09-10 12:00:30 +07:00
ANR2ME
97e5a1f447
Combining PDP and PTP socket's array into a union array. Fixes Hot Shots Tennis that doesn't works well with socketId > 255
2020-09-09 14:21:32 +07:00
Henrik Rydgård
55ca5ab1d7
Merge pull request #13393 from ANR2ME/adhocctl_fix
...
Adhocctl fix - Fix SceNetAdhocctlParameter structure
2020-09-06 23:24:44 +02:00
ANR2ME
6a2de8647f
Fixed SceNetAdhocctlParameter structure
2020-09-07 03:38:47 +07:00
ANR2ME
69b3c788eb
Ignore SIGPIPE error on certain system (ie. Linux)
2020-09-07 02:38:45 +07:00
ANR2ME
c2a4d56430
An attempt to implement AdhocSocketAlert
2020-09-06 11:12:04 +07:00
ANR2ME
00d2b488dd
Reindexing PDP and PTP socket using const/var instead of using confusing raw numbers
2020-09-05 13:44:35 +07:00
ANR2ME
170d313fa7
Minor changes to make sure the output struct/arg have similar value to the one from prx file (based on Kingdom Hearts BBS)
2020-09-04 13:09:46 +07:00
ANR2ME
a05da1a8c5
Fix communication issue with Adhoc Server where ping to the Adhoc Server sometimes getting socket error 10053 and disconnected from Adhoc Server
2020-09-04 13:09:45 +07:00
ANR2ME
439171fc56
An attempt to reduce the lags/stutters during multiplayer caused by improper blocking behavior.
2020-09-04 13:09:44 +07:00
ANR2ME
6a9cf0f575
An attempt to differentiate adhoc connect, create, and join.
2020-09-04 13:09:44 +07:00
ANR2ME
804dd07c93
An attempt to sort AdhocMatching Member List in order to make a consistent list on all players (based on Host). Also fixed some disconnection issue on other players when a player is leaving the room on Gran Turismo and Patapon 3.
2020-09-04 01:32:15 +07:00
ANR2ME
9c5f02fbf5
Default to P2P/Parent's MAC address if the target MAC on sceNetAdhocMatchingSendData is 00:00:00:00:00:00 (need to confirm whether this is correct or an error should be returned instead)
2020-09-02 21:17:38 +07:00
ANR2ME
a76a5bdf56
Ignores the 1st byte of MAC address when comparing, since there might be games (ie. Gran Turismo) that tries to tamper/change the 1st byte during multiplayer upon use.
2020-09-02 21:17:38 +07:00
Henrik Rydgård
0752e7d158
Merge pull request #13302 from unknownbrackets/net-local
...
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Unknown W. Brackets
a89840f309
Net: Cut down on local IP aliasing.
2020-08-17 23:08:35 -07:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00