Comments (6)
Thanks for your response! I will try to do some research about that, but I don't think I can take this. Maybe other people can solve this. Thanks again!
from pspsdk.
Hello @anr2me,
This is a really interesting question......
I have some "documentation around with version 6.60" and they show in the same format that we have, having nickname
as the latest option.
However, if we take a look at PPSSPP
they have :
https://github.com/hrydgard/ppsspp/blob/9271db09163d7ae3becd35c73decab0b3acad6d3/Core/HLE/proAdhoc.h#L284-L290
// Active Virtual Network Information (Adhoc Group Host/Creator's device info, similar to AP?)
typedef struct SceNetAdhocctlParameter {
s32_le channel;
SceNetAdhocctlGroupName group_name; // This group name is probably similar to SSID name on AP
SceNetAdhocctlNickname nickname; // According to the old PSPSDK this is the bssid, but according to the dumped content when using newer firmware this is the nickname (this is also the nickname on VitaSDK)
SceNetAdhocctlBSSId bssid; // FIXME: bssid and nickname position might be swapped on older/newer firmware?
} PACK SceNetAdhocc tlParameter;
As you can see there is a funny comment // FIXME: bssid and nickname position might be swapped on older/newer firmware?
So actually I'm not sure about what values we should put
from pspsdk.
Hi @fjtrujy thanks for replying.
I'm the one that made that // FIXME:
comment, because there is a game (Ys vs. Trails in the Sky Alternative Saga / NPJH50276) that shows a strange game room name as MAC address instead of Player's Nickname, which is wrong, but after swapping those fields it shows the game room correctly hrydgard/ppsspp#13493 (comment)
That game is for 6.20 firmware (based on it's PARAM.SFO), and i'm not sure whether the field was swapped on older firmware or not, which is why i added that FIXME
comment for someone to confirm it.
So far there are no other games affected by those swapped fields, so i guess it's the correct order, which is also similar to the struct used on VitaSDK hrydgard/ppsspp#13393
I compared the content by putting a breakpoint on this game (Ys vs. Sora no Kiseki Alternative Saga) when calling sceNetAdhocctlGetParameter
using JPCSP LLE (prx files from 6.60 ofw) and examined the outputted content's using JPCSP's MemoryViewer, which shows the correct Player's name / Game room on screen, where those fields are swapped based on the content in MemoryViewer.
While JPCSP HLE was using similar struct to PSPSDK, but i forgot whether the game doesn't run at all on HLE or shows the wrong game room / player's name on screen.
However, in order to confirm this, you'll probably need to check the content returned from sceNetAdhocctlGetParameter
using a small homebrew, and testing it on a PSP using new and old firmware.
from pspsdk.
I want to try this issue, but I have only one PSP. Can I use this link: https://forums.ppsspp.org/showthread.php?tid=8349 to test it? The old version of firmware is 6.20, am I right? (By the way, I'm running 6.60 pro-c, but I will downgrade it to 6.20.) Do I need to use both the new and old are official firmware? thanks.
from pspsdk.
No, it should be older than 6.20 (may be try with 5.xx) to be compared with newest fw, since the game that known to use the new struct was designed for 6.20 fw (and newer may be?).
Regarding the PRO Online Client, I don't know whether the game is fully supported by legacy pro-online plugin or not, while PPSSPP have fixed some issue that came from legacy aemu/pro-online project (mostly issues related to AdhocMatching)
from pspsdk.
This has been resolved by #126
from pspsdk.
Related Issues (20)
- Trying to Compile sm-64 port, and I get this error related to the sdk HOT 3
- [ISSUE] SDL2_mixer: undefined reference to `ov_*` HOT 5
- SIO sample firmware version limitation HOT 2
- Remove Corrupt PrxEncrypter from Tools HOT 6
- add a sample for pspge HOT 1
- Header(s) cannot be included warning-free with `-Wundef` HOT 3
- Global/Static variables never initialized HOT 1
- Remove -G0 flag in build_prx.mak ? HOT 2
- Wrong freetype path HOT 2
- sceGeEdramSetSize not working properly HOT 2
- sceUtilityLoadNetModule, audio and thread issue HOT 5
- `__retarget_lock_init.o, error: invalid type argument of ‘->’` HOT 6
- Environmental Variables HOT 4
- undefined reference to `sceKernelVolatileMemTryLock' HOT 2
- Missing header in psprtc.h HOT 2
- Missing `remove(const char *path)` HOT 3
- new dependency on pthread-embedded HOT 11
- configure doesn't set default CFLAGS HOT 3
- CMake using the incorect OUTPUT_NAME but stripping. HOT 8
- libpspdmac doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pspsdk.