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! :)
XMB variables? Has someone a memory dump?
-
- Posts: 31
- Joined: Wed Jul 09, 2008 7:50 am
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.
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.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.
Best to stick with the original. =)
Angelo
-
- Posts: 31
- Joined: Wed Jul 09, 2008 7:50 am
No, i would like to program a plugin, with you can play "Ping Pong" with your XMB icons :pTorch 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.
Thanks for this tipp with the OSK ;)
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.-DaRealXecon- wrote: No, i would like to program a plugin, with you can play "Ping Pong" with your XMB icons :p
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.
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
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