Advertising (This ad goes away for registered users. You can Login or Register)

Why I can't load module in games folder?

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
AsukaE
Posts: 2
Joined: Thu Oct 12, 2017 3:09 pm

Why I can't load module in games folder?

Post 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? :(
Advertising

AsukaE
Posts: 2
Joined: Thu Oct 12, 2017 3:09 pm

Re: Why I can't load module in games folder?

Post 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.
Advertising

User avatar
noname120
Developer
Posts: 775
Joined: Thu Oct 07, 2010 4:29 pm

Re: Why I can't load module in games folder?

Post 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: https://tai.henkaku.xyz/

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).
Funny stuff
<yifanlu> I enjoy being loud and obnoxious
<yifanlu> rooting an android is like getting a hooker pregnant
<xerpi> I sometimes think I should leave all this stressing **** and be a farmer instead

Post Reply

Return to “Programming and Security”