Open discussions on programming specifically for the PS Vita.
Forum rules: Forum rule Nº 15 is strictly enforced in this subforum.
#420328 by AsukaE
Thu Oct 12, 2017 3:12 pm
I'm going to write a plugin for a game with VitaSdk.
The game is dumped using VitaMin1.0, with steroid.suprx located in ux0:app/[TITLE ID]/sce_module/.

I've read the source code of steroid.suprx and I know how to write game.txt or [TITLE ID].txt to load a plugin.

If I place my plugin (eg.. demo.suprx ) in ux0:plugins/ , it can be load as expected.

But if I place the plugin in ux0:app/[TITLE ID]/ or ux0:app/[TITLE ID]/sce_module/ , it just can't be load! (I've changed the game.txt in plugins folder)

Even if I reverse engining the steroid.suprx in IDA, I did't see any path filter there, it just parse .txt then load module using sceKernelLoadStartModule.

Want to know why? :(
#420329 by AsukaE
Thu Oct 12, 2017 3:49 pm
Sorry, I've found out why.
It seems that the game folder will mount to app0 or something similar.
So the plugin path should be app0:sce_module/demo.suprx.
Stupid me.
#420332 by noname120
Fri Oct 13, 2017 12:57 am
I suggest you not to rely on Vitamin for plugin loading. HENkaku has had plugin loading abilities for quite some time now, and there is even a hooks framework:

When using TaiHEN, don't put plugins in ux0:/plugins/ but in ur0:/tai, or they will be loaded by Vitamin too (which you don't want).

Who is online

Users browsing this forum: No registered users and 2 guests