-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Use MEMSIZE SFO param to detect 64MB homebrew #8296
Conversation
Now, use 32MB for normal games even in PSP-2000 mode, which is how real firmware behaves.
I'm pretty sure in Ad-Hoc mode Final Fantasy Type-0 uses the whole 64MB range, it was the reason it doesn't work on PSP-1000. |
A simple JpcspTrace would likely prove that it starts up with 32MB like any game, and probably uses the other 32MB for UMD cache like any other game. It may simply be that for performant network play, it needs this UMD cache to exist (otherwise there would be huge UMD delays when it tries to load certain things, which might desync the network play.) That being said, there may be ways to request memory from other partitions or access the other memory somehow. That being said, even the aliased partitions are normally < 32MB on the PSP-2000. -[Unknown] |
Cheats aside - would be nice to leave an option(ini only would be ok) to restore previous functionality as it's usefull for some other things, like certain mods or jp->en translations that couldn't be done on real hardware without plugins if at all. |
If you want it to work on a real PSP's CFW, you'd need to include the MEMSIZE flag anyway. I don't see a reason to motivate translators to require users to fumble around in options, rather than specify it the correct way anyway. Perhaps we could even provide PPSSPP-specific SFO params to request a specific amount of memory, if it's common. But I don't think it's useful as a user option - it's not a user option even in CFW. -[Unknown] |
How to add that flag to a commercial game then? Just add "MEMSIZE" to the end of PARAM.SFO or something alike? |
The PSPSDK generally does this by defining But yes, an SFO is just a key/value table, so MEMSIZE just needs to be added to it, and it must have the value exactly 1 (CFW also shares this requirement.) This was only supported for PBPs (I'm not sure how/if it works for ISOs on CFW...) I've just added that, though. -[Unknown] |
Thanks for the extra support:), in the meantime downloaded leecherman's param.sfo editor which has a template for it so doesn't even have to type it in.:] Edit: just to confirm after testing ~ works perfectly with commercial games iso's <3. |
b6208ad
to
f86e33e
Compare
Improves consistency, caching, etc.
f86e33e
to
f3df6b3
Compare
Also added a fix for #5030, it's kinda relatedish to some of these changes. -[Unknown] |
Use MEMSIZE SFO param to detect 64MB homebrew
Now, use 32MB for normal games even in PSP-2000 mode, which is how real firmware behaves.
Warning: this may impact cheats with default settings. But it only moves closer to accurate with real firmware.
Fixes #2183.
-[Unknown]