| View previous topic :: View next topic |
| Author |
Message |
-DaRealXecon-
Joined: 09 Jul 2008 Posts: 31
|
Posted: Fri Oct 17, 2008 5:29 am Post subject: XMB variables? Has someone a memory dump? |
|
|
Hi,
So i would like to write a plugin which the positions of the XMB icons changes.
Knows someone variables of the XMB or owns a memory dump?
Thank you! :) |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Sat Oct 18, 2008 8:43 am Post subject: |
|
|
Look at the piKey source code and look at OSKOut. That plugin is used to map the OSK icons and to see what possition it is in.
That may help!
Angelo |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sat Oct 18, 2008 2:22 pm Post subject: |
|
|
Do you want to CHANGE the current position in the XMB, or do you want to DETECT when the position changes?
You can hook sceCtrlReadBufferPositive for that. From there you can check if Left or Right DPad is pressed, or you can fake press Left or Right DPad to make the position change by setting the appropriate bits in the return value.
If you are talking about changing the physical order of the ICONS then forget about it. Not humanly possible. Waaaay too many factors involved and it will screw up somewhere. |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Sat Oct 18, 2008 11:21 pm Post subject: |
|
|
| Torch wrote: | Do you want to CHANGE the current position in the XMB, or do you want to DETECT when the position changes?
You can hook sceCtrlReadBufferPositive for that. From there you can check if Left or Right DPad is pressed, or you can fake press Left or Right DPad to make the position change by setting the appropriate bits in the return value.
If you are talking about changing the physical order of the ICONS then forget about it. Not humanly possible. Waaaay too many factors involved and it will screw up somewhere. |
Torch is right, you can detect where abouts it is on the XMB and design your plugin that way, but re-arranging the XMB icon order is extremly hard. You would have to redesign the XMB completly.
Best to stick with the original. =)
Angelo |
|
| Back to top |
|
 |
-DaRealXecon-
Joined: 09 Jul 2008 Posts: 31
|
Posted: Sun Oct 19, 2008 7:00 pm Post subject: |
|
|
| Torch wrote: | Do you want to CHANGE the current position in the XMB, or do you want to DETECT when the position changes?
You can hook sceCtrlReadBufferPositive for that. From there you can check if Left or Right DPad is pressed, or you can fake press Left or Right DPad to make the position change by setting the appropriate bits in the return value.
If you are talking about changing the physical order of the ICONS then forget about it. Not humanly possible. Waaaay too many factors involved and it will screw up somewhere. |
No, i would like to program a plugin, with you can play "Ping Pong" with your XMB icons :p
Thanks for this tipp with the OSK ;) |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Oct 19, 2008 7:21 pm Post subject: |
|
|
| -DaRealXecon- wrote: |
No, i would like to program a plugin, with you can play "Ping Pong" with your XMB icons :p |
There will be hundreds of references to paf.prx functions that perform the animation and stuff. Simply changing a few variables containing the position will not work as you want.
Give up now.
The best that can be done is like what is done in custom themes, the base position of the icons can be changed, but all the animation is just relative to that and remains the same. |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Sun Oct 19, 2008 10:27 pm Post subject: |
|
|
I think the best way isn't to make a PRX so it runs in the ACTUALL XMB, but to make an EBOOT that uses examples from DC6.
That way you can solidify the icons and it'll be easier to code. Once you have an EBOOT done... then you can consider doing it for real.
Look at the DC6 graphics example and other "Ping Pong" apps to see how it's coded.
Angelo |
|
| Back to top |
|
 |
|