Closed rfarkv closed 2 years ago
Idea: Allow us to create a "game.txt" in the game folder. This file must contain only the lines that activate the plugins for this specific game.
Like this:
ms0:/seplugins/remasteredcontrols/tonyhawk_remastered.prx 1
While my the default game.txt (the one in pspemu\seplugins) look like this:
ms0:/seplugins/cwcheat/cwcheat.prx 1
ms0:/seplugins/tempar/tempar.prx 0
ms0:/seplugins/atpro.prx 1
So, when launching a PSP game vita-launcher need to search for a "game.txt" in the game folder, if this file doesn't exist the game is launched with the default game.txt but if it exists then the two "game.txt" are merged in a new "game.txt" (in some temp folder), ending up like this:
ms0:/seplugins/cwcheat/cwcheat.prx 1
ms0:/seplugins/tempar/tempar.prx 0
ms0:/seplugins/atpro.prx 1
ms0:/seplugins/remasteredcontrols/tonyhawk_remastered.prx 1
After that the game is launched using the new file instead of the default one.
@rafaelferreira01 When you boot a PSP game, there is a Boot settings screen where you can enable "Plugins". Have you tried enabling it? If plugin boot settings is enabled, then it should enable the PerGame plugin which would then work like normal in Adrenaline.
@cy33hc Just tested with a couple of plugins. Pergame is the only plugin that won't work when launching a game from vita-launch.
@rafaelferreira01 Can you try it with a different driver like NP9660 or March33
@cy33hc None of them worked.
@rafaelferreira01 I'm starting to work on this feature, but I don't use plugins at all. I know in the PSP, there is a game.txt for PSP ISO games, also there is a pops.txt for PS1 (EBOOT) games. Does pops.txt exists in adrenaline? Also does the game.txt plugins apply to PSP Minis (EBOOT) too?
@cy33hc Nice! Yes, pops.txt exists and game.txt affects PSP Minis too.
@rafaelferreira01 This is implemented in the latest release.
@cy33hc You're the man, it's working like a charm! Issues: #42 #43.
On a real PSP (or Adrenaline) we can use a plugin called Pergame to activate one or more plugins, depending on game. With this plugin i can, for instance, activate the CWCheat plugin only while playing GTAVCS, and while playing other games the plugin will remain disabled.
I use Pergame with Adrenaline to launch PSP games with the working GePatch version and some dual analog plugins, but if i launch the game though vita-launcher it doesn't work (i think the plugin takes action while booting the game).
Is there a way to implement something like this?