AdamN
|
f77f3016b7
|
Add the new DNS config settings, make use of them in NetApctl_InitInfo
|
2025-01-06 14:38:57 +01:00 |
|
AdamN
|
98dba643f4
|
Just the sceUtility changes from ANR2ME's branch
|
2025-01-06 14:38:45 +01:00 |
|
ANR2ME
|
4f873614e7
|
Added sceParseHttpResponseHeader implementation.
|
2025-01-05 20:16:57 +01:00 |
|
ANR2ME
|
c86c6e55a8
|
Fixes Invalid URL issue during sceHttpSendRequest on LittleBigPlanet
|
2025-01-05 19:24:55 +01:00 |
|
ANR2ME
|
263c37432f
|
Updated getResponseContentLength
|
2025-01-05 19:24:36 +01:00 |
|
ANR2ME
|
aeb6c7b512
|
Making sure getAllResponseHeaders not to crash.
|
2025-01-05 19:24:34 +01:00 |
|
ANR2ME
|
f500726762
|
Changing httpCode to statusLine
|
2025-01-05 19:24:09 +01:00 |
|
ANR2ME
|
4c0bb64163
|
Removing test code to set breakpoints.
|
2025-01-05 19:24:09 +01:00 |
|
ANR2ME
|
b5dcc86a8e
|
Fixes an issue where sceHttp inited states didn't get reset when changing games.
|
2025-01-05 19:24:09 +01:00 |
|
ANR2ME
|
e6aa667eea
|
Fixes some issue with sceUriParse
|
2025-01-05 19:24:07 +01:00 |
|
ANR2ME
|
07f3249af5
|
Implement sceNetInetInetAddr which seems to be used too by many games along with sceHttp syscalls
|
2025-01-05 19:22:45 +01:00 |
|
ANR2ME
|
0012818eb7
|
Implement sceHttp library
|
2025-01-05 19:14:15 +01:00 |
|
ANR2ME
|
2f3e9073f6
|
Process incoming packets quicker whenever available to handle more than 2 players better, instead of one datagram message per 10ms sleep interval which will delay the event generated from the message by 10ms for each additional player.
|
2023-10-13 01:53:07 +07:00 |
|
ANR2ME
|
f4c2967969
|
Checks timeout before Pinging instead of on each message loop to give time for other event to occurs before timeout event.
|
2023-10-13 01:19:24 +07:00 |
|
ANR2ME
|
88f367f502
|
Process event messages quicker to prevent event queue from piling up when there are more players. Might also improve the success rate of joining process on Def Jam Fight for NY.
|
2023-10-13 00:21:55 +07:00 |
|
ANR2ME
|
5ca44f4ad9
|
Lets not delete the peer immediately, as handleTimeout function need the peer to be existed in order to trigger the TIMEOUT Event.
|
2023-10-13 00:21:54 +07:00 |
|
ANR2ME
|
f63ed56b4e
|
Extending AdhocMatching's timeout by 500ms should be sufficient for players with high latency.
|
2023-10-13 00:21:53 +07:00 |
|
ANR2ME
|
abb196766d
|
Allow BYE Event to intervene Joining process.
|
2023-10-13 00:21:51 +07:00 |
|
ANR2ME
|
0188920f22
|
Allow TIMEOUT Event to intervene Joining process.
|
2023-10-13 00:21:49 +07:00 |
|
ANR2ME
|
270943dd59
|
Show socket id in Info Log when successfully created/accepted.
|
2023-08-26 06:43:24 +07:00 |
|
ANR2ME
|
47efec2782
|
Treat WSAEINVAL similar to WSAEALREADY during connect for backward-compatibility to Winsock 1.1, but might confuses with an actual invalid argument error on newer Winsock.
|
2023-08-26 06:25:09 +07:00 |
|
ANR2ME
|
3c66523f04
|
A quick fix for Metal Gear Acid due to adhocctl's busy state never reset to false when there are no adhocctl's handler.
|
2023-08-22 04:29:07 +07:00 |
|
ANR2ME
|
e9cb37993f
|
Fix assertion issue when playing Cars over public adhoc server.
|
2022-09-23 20:12:16 +07:00 |
|
ANR2ME
|
0b3fdf0cef
|
Use safe_string when printing %s with Memory::GetCharPointer.
|
2022-08-06 11:22:38 +07:00 |
|
ANR2ME
|
3b7a33ddd8
|
Prefer using "%04x" over "%04hx".
|
2022-08-06 11:04:07 +07:00 |
|
ANR2ME
|
48deb37cc8
|
Fix logging warning issue.
|
2022-08-06 03:11:59 +07:00 |
|
ANR2ME
|
4c9e1dec1a
|
Fix include issue.
|
2022-08-04 16:35:30 +07:00 |
|
ANR2ME
|
31ea7a6a95
|
Updated copyright's year.
|
2022-08-04 16:34:05 +07:00 |
|
ANR2ME
|
865959d420
|
Replace the dummy PSN name with Nickname on sceNpInit.
|
2022-08-04 16:12:31 +07:00 |
|
ANR2ME
|
41de63f13c
|
Moving sceNpMatching2-stuff to sceNp2.cpp/h.
PS: Register_sceNpMatching2 not being added to HLETables because currently the callback didn't work properly yet and could crash the game.
|
2022-08-04 16:12:29 +07:00 |
|
ANR2ME
|
dcf3ece8f4
|
Implement NP Signin Dialog (faked signin)
|
2022-08-04 16:12:25 +07:00 |
|
ANR2ME
|
54300eb017
|
Updated NP Library
PS: Some of registered modules should probably moved to a separate files (ie. sceNp2.cpp).
|
2022-08-04 16:12:23 +07:00 |
|
ANR2ME
|
bf98466a78
|
Added a FunctionWrapper used by sceNpService
|
2022-08-04 16:12:23 +07:00 |
|
ANR2ME
|
d30d652265
|
Fixes UWP building issue after Retargeting Solution to a different SDK version.
PS: This won't work when selecting the "latest installed version" tho, so a specific version need to be selected when retargeting.
|
2022-08-01 00:52:54 +07:00 |
|
ANR2ME
|
6b8b316b81
|
Updated wiki page key in all translation INIs.
|
2022-07-05 00:20:14 +07:00 |
|
ANR2ME
|
70e1431013
|
oops
|
2022-07-03 01:53:38 +07:00 |
|
ANR2ME
|
351b95e0c8
|
Updated text on AdHoc wiki page button.
|
2022-07-03 01:41:18 +07:00 |
|
ANR2ME
|
ecf0d4cd05
|
Updated "Use original port" tip message.
|
2022-07-03 01:37:51 +07:00 |
|
ANR2ME
|
3d1dbc610b
|
Show a tip message when enabling "UPnP use original port" option.
|
2022-07-01 00:32:36 +07:00 |
|
ANR2ME
|
3667f35c31
|
Hide Hostname progressView when not showing any message to get a better view of the list.
|
2022-06-26 20:26:09 +07:00 |
|
ANR2ME
|
74cad0a154
|
Slightly reduce Hostname progressView's margin as it took too much space.
|
2022-06-26 20:23:35 +07:00 |
|
ANR2ME
|
43beb26896
|
Added psp.gameplayer.club public Adhoc Server.
|
2022-06-26 19:47:33 +07:00 |
|
ANR2ME
|
ea6e5c8f74
|
Mask some part of public IP in the logs for security reason.
|
2022-06-23 00:41:41 +07:00 |
|
ANR2ME
|
a10271dc1d
|
Detects connection establishment to AdhocServer by combining select and getpeername to increase accuracy.
|
2022-05-18 06:18:16 +07:00 |
|
ANR2ME
|
ff8b5d53f4
|
We might be missing this in the past.
|
2022-05-18 06:18:16 +07:00 |
|
ANR2ME
|
d86dc0bff6
|
Fix sceNetAdhocPtpConnect issue on Windows (ie. Tales of VS) due to getpeername on Windows can return a success when the other side haven't Accepted the connection yet.
|
2022-05-18 06:18:15 +07:00 |
|
ANR2ME
|
9497c98795
|
Fix sceNetAdhocPtpConnect issue on non-Windows (ie. Taiko no Tatsujin Portable DX on Linux) due to select can flags an unconnected socket as writeable & readable on Linux.
|
2022-05-18 06:18:11 +07:00 |
|
ANR2ME
|
1aa56ec942
|
Added a note regarding SO_NOSIGPIPE
|
2022-05-18 01:14:01 +07:00 |
|
ANR2ME
|
f3dd1d908b
|
Avoid compilation warning
|
2022-05-18 01:13:49 +07:00 |
|
ANR2ME
|
ee2a24b19a
|
Avoid a possibility of fatal signal on non-Windows
|
2022-05-18 01:11:57 +07:00 |
|
ANR2ME
|
799c721fa6
|
Added a note regarding select on Linux.
|
2022-05-18 01:11:56 +07:00 |
|
ANR2ME
|
ee3d97a70d
|
Logs unimplemented syscalls as error
|
2022-04-27 17:03:43 +07:00 |
|
ANR2ME
|
3bb83f03bd
|
Partially fixes SenseMe app (will need HTTP/HTTPS support to be fully working)
|
2022-04-27 14:28:28 +07:00 |
|
ANR2ME
|
1a6c889906
|
Increase the timeout when the connection to the AdhocServer is already in progress, avoids cutting off the connection if it took longer than expected but almost completed.
|
2022-03-24 08:34:03 +07:00 |
|
ANR2ME
|
d5152752d2
|
Added a function to get SO_ERROR on a socket.
|
2022-03-24 08:34:03 +07:00 |
|
ANR2ME
|
86315fed3d
|
Updated getLocalIp function to detects local IP better.
|
2022-03-24 08:34:03 +07:00 |
|
ANR2ME
|
65a90a2ec0
|
Use the most recent posix socket id during blocking simulation, since there is a possibility for the socket id to changes after recreated.
|
2022-03-24 08:34:03 +07:00 |
|
ANR2ME
|
6b0cb78b3b
|
Recreate the socket before attempting to connect again after ECONNREFUSED/ENETUNREACH error, since reusing the socket only works on Windows.
|
2022-03-24 08:34:02 +07:00 |
|
ANR2ME
|
267757a5e4
|
Caches IP-specific Port Offset to avoid recalculating them.
|
2022-03-24 08:34:02 +07:00 |
|
ANR2ME
|
5e739f32b2
|
Use reference when possible to avoid copying.
|
2022-03-24 08:34:02 +07:00 |
|
ANR2ME
|
2b09f81ff8
|
Initialize some socket-related structs to avoid unexpected behavior. (May fix Unknown Source Port issue)
|
2022-03-24 08:34:02 +07:00 |
|
ANR2ME
|
9209fb7c6e
|
Shouldn't return as soon as possible when a blocking PtpConnect is getting ECONNREFUSED error, since it should be treated as ETIMEDOUT on non-Windows platform
|
2022-03-24 08:34:01 +07:00 |
|
ANR2ME
|
155d3e0478
|
Ignore disconnected error on PtpFlush. Fixes disconnection issue on some games (ie. R-Type Command)
|
2022-03-24 08:34:01 +07:00 |
|
ANR2ME
|
52cf015393
|
Manual generate Android APK
|
2022-03-20 10:37:48 +07:00 |
|
ANR2ME
|
171e2b5713
|
Added another attempt to detect GETIFADDRS availability, which is more common on newer OS
|
2022-01-29 05:43:07 +07:00 |
|
ANR2ME
|
c37a58d39c
|
We might be missing the SIOCGIFADDR
|
2022-01-29 05:43:06 +07:00 |
|
ANR2ME
|
cdea71e901
|
Added logs for error within SIOCGIFCONF section.
|
2022-01-29 05:43:06 +07:00 |
|
ANR2ME
|
7aa3b1398e
|
Change a confusing variable naming
|
2022-01-29 05:43:06 +07:00 |
|
ANR2ME
|
fbb1246cfd
|
Reducing MatchingEvents processing delays. Fixes timing issue on a few games (Super Pocket Tennis, Thrillville Off the Rails, Lord of Arcana, Gundam: Senjou No Kizuna Portable, StarWars The Force Unleashed)
|
2022-01-20 03:16:25 +07:00 |
|
ANR2ME
|
bfd532561a
|
Report sceNetAdhocMatchingInit to find out a list of games that use AdhocMatching library to be tested with.
|
2022-01-20 03:00:23 +07:00 |
|
ANR2ME
|
71f08a3db8
|
Discard HELLO Events when in the middle of Joining
|
2022-01-20 03:00:23 +07:00 |
|
ANR2ME
|
0755dc0bbd
|
Updated notifyMatchingHandler comments
|
2022-01-20 03:00:23 +07:00 |
|
ANR2ME
|
03b6d1ed01
|
Updated MatchingArgs comment
|
2022-01-20 03:00:23 +07:00 |
|
ANR2ME
|
a1accc87d4
|
Added comment related to EVENT_HELLO
|
2022-01-20 03:00:22 +07:00 |
|
ANR2ME
|
d5036ff2ae
|
Fix buffer overflow issue on GameMode.
|
2022-01-13 16:13:53 +07:00 |
|
ANR2ME
|
4b6431f7fe
|
GameMode Scheduler should only runs when there are active Master.
|
2022-01-13 15:35:16 +07:00 |
|
ANR2ME
|
2d5699d62b
|
Prevent creating another GameMode Master, since we don't support more than one Master data, and there is no ID related to Master.
|
2022-01-13 14:06:51 +07:00 |
|
ANR2ME
|
73dff0566e
|
Fix an issue where more than one GameMode Scheduler can be scheduled.
|
2022-01-13 14:02:33 +07:00 |
|
ANR2ME
|
4d0c7385ec
|
Fix an issue where sceNetAdhocGameModeCreateReplica blocked current thread for initial sync while Master data hasn't been created yet.
|
2022-01-13 13:03:58 +07:00 |
|
ANR2ME
|
9efdaf9ba7
|
Updated sceNetAdhocGameModeUpdateReplica (Fix Bomberman Panic Bomber)
|
2022-01-13 10:51:43 +07:00 |
|
ANR2ME
|
2bd79838bf
|
Fix invalid argument issue of sceNetAdhocPtpAccept on Bomberman Panic Bomber.
|
2022-01-13 10:36:11 +07:00 |
|
ANR2ME
|
69ec6b1972
|
Fix Tekken 5 Dark Resurrection Multiplayer
|
2021-12-08 12:00:59 +07:00 |
|
ANR2ME
|
26fd74edd4
|
Updated GetPtpStat
|
2021-12-08 08:50:14 +07:00 |
|
ANR2ME
|
004ecc008e
|
Updated GetPdpStat
|
2021-12-08 08:50:11 +07:00 |
|
ANR2ME
|
3b8eb6b04e
|
Added a note regarding FIONREAD behavior on different platforms.
|
2021-12-08 08:49:35 +07:00 |
|
ANR2ME
|
f1e4b41f12
|
Discard PDP packets from an IP that can't be resolved to Player's MAC address (simple version) to prevent confusing the game, since the source MAC won't be updated and may contains invalid MAC.
Added TODO to handle unresolvable packets properly.
|
2021-12-08 08:46:45 +07:00 |
|
ANR2ME
|
6d1a069248
|
Added another returned error code on PdpCreate
|
2021-12-08 08:45:46 +07:00 |
|
ANR2ME
|
79d31d4b85
|
Allow Sending PDP to non-existing MAC address (except invalid mac address). Fixes an issue on NBA Ballers Rebound where players unable to enter Multiplayer Menu again after getting connection issue.
|
2021-12-08 08:45:45 +07:00 |
|
ANR2ME
|
c34efa3e3e
|
Workaround to prevent some games from not retrying to connect on non-Windows system. This will also make a more cross-platform behavior on Windows/Linux/BSD
|
2021-10-05 23:10:40 +07:00 |
|
ANR2ME
|
00a0885509
|
Minor changes
|
2021-10-05 23:10:40 +07:00 |
|
ANR2ME
|
ed7f1b72e2
|
An attempt to implement AdhocDiscover (can only Cancel the progress for now)
|
2021-10-01 12:13:03 +07:00 |
|
ANR2ME
|
5b010afff3
|
oops need to typecast metasocket
|
2021-09-28 20:44:03 +07:00 |
|
ANR2ME
|
9a714249a6
|
Changing most frequently used global vars to atomic to avoid possible multi-threading issue on friendFinder thread which communicates with AdhocServer in background.
PS: There are more global vars being used here (too many actually), so we should find a better approach in the future (ie. using PSPThread instead).
|
2021-09-28 20:44:03 +07:00 |
|
ANR2ME
|
6a79f59c06
|
Fix threading issue when exiting PPSSPP due to unjoined AdhocServer thread when AdhocServer failed to bind the socket and exited the thread early.
|
2021-09-28 20:44:03 +07:00 |
|
ANR2ME
|
1fd54153fc
|
Prevent some games (ie. DBZ SB2) from repeatedly trying to Disconnect Adhocctl when not connected to AdhocServer.
|
2021-09-28 20:44:03 +07:00 |
|
ANR2ME
|
4741357bef
|
Fix possible race condition issue when sending AdhocMatching data
|
2021-09-23 12:51:12 +07:00 |
|
ANR2ME
|
73b2070821
|
Temporary fix to avoid a crash that happened due to trying to logs a syscall's argument when being Logged from another thread (AdhocMatchingInput thread)
|
2021-09-23 12:51:09 +07:00 |
|
ANR2ME
|
15d3e69c4c
|
Fix possible crash issue
|
2021-09-23 12:22:57 +07:00 |
|
ANR2ME
|
4e8a9fda63
|
Do not resolve Pro Adhoc Server address when WLAN is turned off
|
2021-09-21 17:12:01 +07:00 |
|
ANR2ME
|
ee7383193b
|
Fix race condition issue on AdhocMatching
|
2021-09-21 15:32:41 +07:00 |
|