forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XMB variables? Has someone a memory dump?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
-DaRealXecon-



Joined: 09 Jul 2008
Posts: 31

PostPosted: Fri Oct 17, 2008 5:29 am    Post subject: XMB variables? Has someone a memory dump? Reply with quote

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
View user's profile Send private message MSN Messenger
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Sat Oct 18, 2008 8:43 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sat Oct 18, 2008 2:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Sat Oct 18, 2008 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
-DaRealXecon-



Joined: 09 Jul 2008
Posts: 31

PostPosted: Sun Oct 19, 2008 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Oct 19, 2008 7:21 pm    Post subject: Reply with quote

-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
View user's profile Send private message
angelo



Joined: 29 Aug 2007
Posts: 168

PostPosted: Sun Oct 19, 2008 10:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group