Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MGS Peace Walker recruit function #8094

Closed
Antonio1994 opened this issue Oct 23, 2015 · 7 comments
Closed

MGS Peace Walker recruit function #8094

Antonio1994 opened this issue Oct 23, 2015 · 7 comments

Comments

@Antonio1994
Copy link

I was a long time off from ppsspp and git hub. Now that I'm back I see a lot off progress on this game and AFAIK only the recruit option is not working. I play on a PC and tryed connecting via WiFi and router but it doesn't work. Does anyone have a clue what could cause it? Sorry if its double posted, haven't found the same issue here ;),

@thedax
Copy link
Collaborator

thedax commented Oct 24, 2015

I could be wrong, but I think that function tries to connect to an actual router to "download" new recruits. Such functionality isn't implemented in PPSSPP.

@Antonio1994
Copy link
Author

Hmmm...haven't thought about that...I'll check the log if anything shows
up...I'm stuck at lvl90 with the combat unit so I thought off speeding
things up :-)

subota, 24. listopada 2015. korisnik thedax notifications@github.com
napisao je:

I could be wrong, but I think that function tries to connect to an actual
router to "download" new recruits. Such functionality isn't implemented in
PPSSPP.


Reply to this email directly or view it on GitHub
#8094 (comment).

@asl97
Copy link

asl97 commented Nov 1, 2015

@thedax it doesn't try to connect or "download" anything.

@Antonio1994 if you talking about the AP recruit, i think it depend on the amount of wireless access points and their signal strength.

in any case, iirc, those recruit that you get from the ap recruit are pretty weak,
it's better to target those extra (hard) missions for recruits

ps: just google it, there are plenty of post that state the recruit is an AP scan

@Antonio1994
Copy link
Author

I have S ranked every mission and submission. I dont need recruits, I'm just saying this function doesn't work properly :)

@LunaMoo
Copy link
Collaborator

LunaMoo commented Oct 20, 2016

If anyone cares, I got to mess around with this game and made this work:
https://gist.github.com/LunaMoo/ec340ddf0f6bc7c7277e7b9603061a8e

That code is hackish, full of guesses, definitely not for merging.
In short the 3 functions that have to be implemented for this to work are:

sceNetApctlScanSSID2
sceNetApctlGetBSSDescIDList2
sceNetApctlGetBSSDescEntry2

But I also added a nasty hack which checks for and replaces one opcode for something I couldn't figure out.

It's also feeding the game with completely random stuff instead of allowing some kind of UI selection or emulating it properly ~ which actually isn't all that bad as with static data feed from stationary device like a pc the game would heavily limit this feature. Still could be improved as the random data should follow some rules, I filled everything with same number of random data which is completely wrong, could in fact break some other game or affect the randomness of recruits if it for example depend on lenght of data or takes only ascii characters for example.

Use at your own risk / someone will have to investigate it further, don't have any psp I could use anymore and I don't think anyone ever documented those syscalls at least I couldn't find anything on them.:]

Edit: If anyone will ever be interested ~ made a CWCheat version of this hackish implementation, it's in the game forum thread, does pretty much same thing, althrough I had to write my own RNG for it.

@kp8888
Copy link

kp8888 commented Oct 5, 2022

Recruiting with AP scan works normally for me now

@unknownbrackets
Copy link
Collaborator

Thanks for checking, I'm going to mark this as closed then.

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants