Commit Graph

47 Commits

Author SHA1 Message Date
Henrik Rydgård cfc5d74602 Some progress with server status UI 2026-03-30 11:34:19 -06:00
Henrik Rydgård ae08b31573 Avoid the HTTP request on sceNetAdhoc init by reading from cache 2026-03-09 10:50:24 +01:00
Henrik Rydgård cf9ee07b8e Adhoc: Forgot that we have to load the server list in-game to check the connection mode 2026-03-09 00:44:56 +01:00
Henrik Rydgård ba6ff9a224 Improve the adhoc server selector a little bit, add metadata viewer 2026-03-08 00:31:29 +01:00
Henrik Rydgård 962d132e5f Make the adhoc server list data driven 2026-03-05 15:15:25 +01:00
Henrik Rydgård 2a1cefb58b (Fake-)load adhoc server list asynchronously when opening server list window. 2026-03-05 14:36:06 +01:00
Henrik Rydgård cc49e5079d Refactor a bit, preparing for async download 2026-03-05 14:30:32 +01:00
Henrik Rydgård 0d8358827b Move the pre-loaded adhoc server address list logic to sceNetAdhoc.cpp
Yes, that file is growing too big...
2026-03-05 10:05:08 +01:00
Katharine Chui bf30de1527 initial github.com/kethen/aemu_postoffice integration ported from github.com/kethen/aemu 2026-01-11 18:53:54 +01:00
Nemoumbra c4dafe28b0 g_adhocServerConnected moved to NetAdhocCommon 2025-07-01 23:57:30 +03:00
Nemoumbra 9e03358283 moved matching threadhackaddr to NetAdhocCommon, reordering & cleanup 2025-07-01 19:56:09 +03:00
Nemoumbra 921fd32969 8 vars moved to NetAdhocCommon, 1 var moved to sceNetAdhocMatching 2025-07-01 19:56:09 +03:00
Nemoumbra d3d00d7d7b Start moving general adhoc stuff out of sceNetAdhoc 2025-07-01 19:56:09 +03:00
Henrik Rydgård 58f6ad3213 Minor cleanup 2025-01-28 09:34:14 +01:00
Henrik Rydgård 9f8d21e7b8 Add some more debugger windows and info for networking stuff 2025-01-21 12:22:32 +01:00
Henrik Rydgård 58f336f64d Infrastructure: Only connect to adhoc server if connect_adhoc_for_grouping is set in the json 2025-01-20 20:58:22 +01:00
Henrik Rydgård c7078f31fd Rename "networkInited" to g_adhocServerConnected, which is what it is 2025-01-20 20:58:22 +01:00
Henrik Rydgård e24317b20b A lot more logging fixes 2025-01-20 12:20:21 +01:00
Henrik Rydgård 40e6e03ed5 Transfer some more Apctl functionality 2025-01-06 15:02:00 +01:00
Nemoumbra 60e502c259 Restored the order of HLE module registration 2025-01-03 23:33:09 +03:00
Nemoumbra 96f9749e2e Split out the matching code from sceNetAdhoc.cpp 2025-01-03 04:59:26 +03:00
Henrik Rydgård 8228e59423 Check if multiplayer if connected, enforce run-behind if so 2023-12-30 21:50:22 +01:00
Herman Semenov af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03: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 03b6d1ed01 Updated MatchingArgs comment 2022-01-20 03:00:23 +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 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 0157fe4988 Updated GameMode API (Fixed Pocket Pool) 2020-10-29 06:00:16 +07:00
ANR2ME 8a96112e1a Fix Apctl and Adhocctl state change timings to works properly. Which fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link properly. 2020-10-09 23:37:35 +07:00
ANR2ME 57584343a2 Simulate blocking PtpFlush 2020-09-08 19:16:44 +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 8dec09703f Moving reused adhoc function out of sceNet function to prevent getting extra SCENET log 2020-08-13 00:59:50 +07:00
ANR2ME 90ff382c59 Rearranged network's After PSPAction creation/registration so that newer one have higher value to prevent network's callbacks triggering the wrong after action after loading from old save state. 2020-08-02 08:49:58 +07:00
ANR2ME f927ca795c Added a fake thread to process Apctl Request Events into Apctl State Changes 2020-07-29 02:27:39 +07:00
ANR2ME a0f0973462 Reconnect to Adhoc Server when disconnected while still having the AdhocCtl Inited (ie. due to timeout or network failure) so players doesn't need to reset the game to reconnect. 2020-07-23 12:09:28 +02:00
ANR2ME 1d30a9efec Fix possible crash issue during Networking Cleanup 2020-07-22 23:13:41 +02:00
ANR2ME 2ca6a4f0d7 Fixed GvG Next Plus, Phantasy Star Portable 2, and some minor changes 2020-07-22 22:22:59 +02:00
ANR2ME fa36c2edab Improved multiplayer stability regardless of I/O Timing method 2020-07-20 19:12:55 +02:00
ANR2ME fb7d50e5c2 Improved multiplayer compatibility on some games (ie. GTA VCS, Naruto Ultimate Ninja Heroes 3, DBZ Shin Budokai 2, Power Stone Collection, .hack//Link, etc) 2020-07-20 18:09:16 +02:00
ANR2ME da5b54e630 Separate each AdhocMatching callback's buffer, since callback aren't immediately executed thus using shared memory address may corrupt previous data 2020-07-20 12:19:40 +02:00
Peter Tissen a7d9370a69 don't use Thread* to create thread
slightly less hacky, as in, a little bit closer to what the actual PSP does, although the timings are still complete guesses

also

* Protect the adhoc Events by a mutex lock
* don't use emplace_back since symbian doesn't compile with it
2015-01-04 18:58:42 +01:00
AdamN 7f7b2a3800 Fixed some bugs (ie. possible of memory leaks) on Adhoc, and implement a few more Adhoc functions. 2014-06-24 23:43:03 +07:00
Unknown W. Brackets d65af7353b Avoid some ChunkFile includes. 2014-03-15 11:32:57 -07:00
Igor Calabria 0574e6e1d1 More functions and support for games that use the netdiag 2013-10-29 21:39:45 +00:00
Henrik Rydgard cc8e4cb8fe Split out sceNetAdhoc* into a separate file from sceNet. 2013-09-07 00:55:42 +02:00