| View previous topic :: View next topic |
| Author |
Message |
kralyk
Joined: 06 Apr 2008 Posts: 114 Location: Czech Republic, central EU
|
Posted: Sat Nov 15, 2008 12:57 am Post subject: Plugins - general advice pls |
|
|
Hello, Im planning to write a small plugin...
I'd need to
1) show some stuff (mostly text) on screen in VSH mode. I think Ive heard that I need to write in VRAM directly, if I am right...
2) figure out the 'cursor' postition in XMB
Can you please recommend some plugins of which source code I could look into to get an idea about how to implement these features?
Thanks for any help! _________________ ...sorry for my english... |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Sat Nov 15, 2008 1:58 am Post subject: |
|
|
Unofficial piKey 0.4! It contains about 6 plugins.
Displaying text in the VSH - CTRLOut.PRX and piKey.PRX
VSH Co-Ordinating - OSKOut.PRX
Hope that helps!
Angelo |
|
| Back to top |
|
 |
kralyk
Joined: 06 Apr 2008 Posts: 114 Location: Czech Republic, central EU
|
Posted: Sun Nov 16, 2008 12:42 am Post subject: |
|
|
Thanks.
If I got it right, piKey figures out current XMB postition by hooking sceCtrl functions, right?
Could I possibly figure out XMB cursor postition directly from RAM, if I knew where to look? _________________ ...sorry for my english... |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Nov 16, 2008 1:29 am Post subject: |
|
|
| kralyk wrote: | Thanks.
If I got it right, piKey figures out current XMB postition by hooking sceCtrl functions, right?
Could I possibly figure out XMB cursor postition directly from RAM, if I knew where to look? |
I don't think piKey figures out the XMB position at all. In the XMB it just injects whatever key you press by hooking sceCtrl function.
In the OSK I think when the OSK opens, it moves the cursor to a predefined location by sending key strokes, then it just detects further key presses from the user and calculates the new position of the cursor relative to the starting position.
Its more or less humanly impossible to figure out from RAM because its waaay to comlex. |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Sun Nov 16, 2008 10:58 am Post subject: |
|
|
Well the basic concept is there. Co=ordinates are used in OSK_Out.
He can use the concept to find the locaton of the XMB using key presses.
I'mjust wondering about what he should do about when entering a XMB app like the web browser or music player.
I'm sure he'lll figure it out! |
|
| Back to top |
|
 |
kralyk
Joined: 06 Apr 2008 Posts: 114 Location: Czech Republic, central EU
|
Posted: Mon Nov 17, 2008 9:48 pm Post subject: |
|
|
Yeah, I think Ill be able to detect that by cheking for loaded modules, because I think that when XMB starts the browser or player some more modules are loaded.
Alright, thanks guys for yout hints... _________________ ...sorry for my english... |
|
| Back to top |
|
 |
|