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

PSP Go Pause game & VSH plugins does not work correctly. #18

Closed
McFly75 opened this issue Mar 24, 2022 · 17 comments
Closed

PSP Go Pause game & VSH plugins does not work correctly. #18

McFly75 opened this issue Mar 24, 2022 · 17 comments

Comments

@McFly75
Copy link

McFly75 commented Mar 24, 2022

It seems that all VSH plugins gets disabled when using Pause Game (PSP GO)
But the VSH menu still works.
A soft reboot enables the VSH plugins again.
This is especially a problem if you use Category_lite to put games and apps in folders.
Because the games do not show up until you soft reboot.

I like the Pause game function on the PSP Go.
It makes it possible to use a "save state" for PS1 games, which is not possible any other way.
And it makes it quick to resume a PS1 or a PSP Game (skipping intro etc.)

@McFly75 McFly75 changed the title PSP Go Pause game & Categoy_lite does not work. PSP Go Pause game & VSH plugins does not work correctly. Mar 26, 2022
@JoseAaronLopezGarcia
Copy link
Contributor

Can you try with latest release?
https://github.com/PSP-Archive/ARK-4/releases/tag/r145

@McFly75
Copy link
Author

McFly75 commented Apr 7, 2022

Same problem, VSH plugins gets disabled when using Pause Game function.
Ark-4.14.5

And got a new problem when running Ark_Live 4.14.5
I lost the VSH menu (Press Select) - I have opened a New Issue thread.

@JoseAaronLopezGarcia
Copy link
Contributor

The latest ARK automatically disables pause game when it deems it necessary (when you use highmem or inferno cache).
I recommend you leave the option disabled so it doesn't load on VSH (you don't need it there), and just let ARK automatically disable it on games since you will most likely already have inferno cache enabled for them (recommended).

@McFly75
Copy link
Author

McFly75 commented Apr 8, 2022

Not sure what you mean?
Which option should I disable?
And what does inferno cache do?

The Option I have enabled in Recovery Menu is:
Unlock Extra Memory: Homebrew (in order for Snes9xTYL to work)
Memory Stick Speedup: Always (faster read/write speeds?)
Inferno Cache: Game (not sure what it does, but only PSP games uses Inferno driver or does PS1/homebrew use the driver?)

@pmastrosimone
Copy link

So I had the same issue, but it is a bug feature inherent to all CFW's (at least both PRO and ARK), and @JoseAaronLopezGarcia 's response about the Inferno cache made me realize, and after testing I did confirm. I think because when pausing a game, the ISO is unloaded (as the game is "closed"), loading it back up will cause the system to crash (basically it will run through whatever is left in RAM/the stack, about 2 secs of gameplay in my testing) before it needs to load from the ISO, but since it's not loaded, it crashes. ARK generally blocks this (no crash, no pause), whereas PRO does not (crash after restore). To solve both you can convert your ISOs to PBPs, or just disable Pause Game. To my knowledge, Inferno doesn't cache PBPs, so games may be slower. For me, I'd rather have the pause game (and slightly more space) resultant from PBPs, but you may prefer the speed of ISOs.

@McFly75
Copy link
Author

McFly75 commented Jan 11, 2023

On my PSP GO with "661_PRO-C2_14-02-2015" , I never had a problem with Pause game.
Both PSP in CSO & ISO format works fine & PBP format for PS1 also works fine.
So PRO-C2 does not crash after restore on my PSP GO.

@JoseAaronLopezGarcia
Copy link
Contributor

JoseAaronLopezGarcia commented Jan 11, 2023

On my PSP GO with "661_PRO-C2_14-02-2015" , I never had a problem with Pause game. Both PSP in CSO & ISO format works fine & PBP format for PS1 also works fine. So PRO-C2 does not crash after restore on my PSP GO.

Maybe you have inferno cache disabled?
I remember ARK not having any issues with this feature on CSO/ISO either until I added cache to the driver.

@McFly75
Copy link
Author

McFly75 commented Jan 11, 2023

OK, I just found the Inferno cache on the PRO-C2 firmware.
Never knew it was there and never used it (has always been disabled)
What does it do anyway? Speed up loading of games?

It does indeed cash PSP games when enabled and loading a Paused game.
And it does work when loading a PS1 game in PBP format. (i don´t believe PS1 games uses Inferno at all)

@JoseAaronLopezGarcia
Copy link
Contributor

OK, I just found the Inferno cache on the PRO-C2 firmware. Never knew it was there and never used it (has always been disabled) What does it do anyway? Speed up loading of games?

It does indeed cash PSP games when enabled and loading a Paused game. And it does work when loading a PS1 game in PBP format. (i don´t believe PS1 games uses Inferno at all)

Yeah PS1 doesn't use Inferno. Only ISO/CSO, not even PBP.
The cache is supposed to work similar to the UMD cache by Sony. It's supposed to speed up loading in some games but at this point in time I'm sure it's mostly useless if you have a decent memory stick and a faster format like JSO or ZSO.

@pmastrosimone
Copy link

pmastrosimone commented Jan 12, 2023

I also am now starting to have the plugin loading issue. I either didn't notice it or it did not happen before. Plugins loaded with the "vsh" switch are not reloaded after a "Pause Game" independent of game type or ARK settings. Plugins marked "always" still work as expected, as does the "Quit Game" plugin loading. Does not appear to be relegated to certain plugins (in my case both dayviewer and GC_Lite exhibit this behavior). If necessary I can upload my ARK settings to determine the cause of the issue

@JoseAaronLopezGarcia
Copy link
Contributor

I also am now starting to have the plugin loading issue. I either didn't notice it or it did not happen before. Plugins loaded with the "vsh" switch are not reloaded after a "Pause Game" independent of game type or ARK settings. Plugins marked "always" still work as expected, as does the "Quit Game" plugin loading. Does not appear to be relegated to certain plugins (in my case both dayviewer and GC_Lite exhibit this behavior). If necessary I can upload my ARK settings to determine the cause of the issue

Interesting, the only thing that comes to mind is that when resuming from a game the VSH is loaded with a different apitype. Which would explain why it works with "always" (since that one doesn't check the apitype).
Right now the VSH switch checks for apitypes 0x210 and 0x220 but perhaps there's another one that needs to be checked.

@pmastrosimone
Copy link

Not sure if this would help. Without being familiar with PSP plugins I cannot determine apitype, that being said I'll add some things about my config that may be pertinent (or completely useless), my plugins are on ef0:/, all of my games are on ms0:/, and I have plugin compatibility "on". Not sure if that redirection undergoes any odd behavior when plugins are loaded, I will try to mess around with moving a game to ef0:/ and/or messing around with plugin compatibility

@JoseAaronLopezGarcia
Copy link
Contributor

Is this error exclusive to ARK or does PRO also have it?

@pmastrosimone
Copy link

In my limited testing it appears ARK-exclusive, both dayviewer and gc_lite are loaded after a pause operation, I will try messing around with settings (e.g., the ef0/ms0 distinction) later tonight and report back. If there are other things I should be messing with do let me know

@JoseAaronLopezGarcia
Copy link
Contributor

Just as I suspected, the issue was that when returning from the game after pausing, the apitype is different (0x300) from expected (0x210/0x220).
Issue should be fixed now.

@JoseAaronLopezGarcia
Copy link
Contributor

Here's new release fixing this issue:
https://github.com/PSP-Archive/ARK-4/releases/tag/r4195

@pmastrosimone
Copy link

Confirmed, thanks for your help!

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

No branches or pull requests

3 participants