|
|
#1 |
|
Homebrew Developer
![]() Join Date: Jan 2012
Location: Ireland
Posts: 178
Likes: 206
Liked 194 Times in 62 Posts
Mentioned: 35 Post(s)
Tagged: 0 Thread(s)
|
Technical thread with Code Relating to XMB xml/rco hacks and XMBFM etc
Hi. Just wanted to start this thread for some members to post code etc on some of the recent mods/additions to Rebug Package manager.
If anyone wants to post technical methods for making these type of mods into packages etc that would be cool. Try to keep it as technical as possible here and the other thread for suggestions for new features and bug reports etc. >release thread < only if possible, dont really mind if it gets a bit mixed up. ![]() I will try explain here with examples of code exactly how I added the XMBFM to package manager and maybe others can add thier own mods etc too. So this is where the XMBFM mod starts, inside category_game.xml in the install package files section that is a bit over half way through the xml, Ive underlined any changes Ive made, If anyone else posting can do the same or use a different colour it will be easier for all to learn :Code:
<View id="seg_package_files"> <Attributes> <Table key="package_files"> <Pair key="icon_rsc"><String>tex_album_icon</String></Pair> <Pair key="icon_notation"><String>WNT_XmbItemAlbum</String></Pair> <Pair key="title_rsc"><String>msg_filemanager</String></Pair> <Pair key="info_rsc"><String>msg_filemanager_info</String></Pair> <Pair key="child"><String>segment</String></Pair> <Pair key="ingame"><String>enable</String></Pair> </Table> </Attributes> <Items> <Query class="type:x-xmb/folder-pixmap" key="package_files" attr="package_files" src="#seg_package_fixed" /> </Items> </View> <View id="seg_package_fixed"> <Items> <Query class="type:x-xmb/folder-pixmap" key="host_filemanager" attr="host_filemanager" src="#seg_filemanager"/> <Query class="type:x-xmb/folder-pixmap" key="host_psn" attr="host_psn" src="#seg_install_files_psn"/> <Query class="type:x-xmb/folder-pixmap" key="hdd0_install" attr="hdd0_install" src="#seg_package_files_install"/> <Query class="type:x-xmb/folder-pixmap" key="hdd0_delete" attr="hdd0_delete" src="#seg_package_files_delete"/> </Items> </View> Code:
<Items> Code:
<Query class="type:x-xmb/folder-pixmap" key="host_filemanager" attr="host_filemanager" src="#seg_filemanager"/> Code:
src="#seg_filemanager" Then under that in blue you will see the entry to tell the PS3 wether or not to show the option when viewing the XMB while ingame, ive changed this to enable since v.0.02 so maybe v0.04 will have it fully working during ingame XMB. Ill put up some more info up in a lttle while Sorry Im not better at explaining these things and if anyone wants to add any explanations work away!BTW: The tools ive used for this on PC are Notepad++ , notepad, RCOmage v1.1.1 , and Beyond Compare. On PS3 I used Jaicrabs Firmloader 0.3(3.55) for testing from USB and The Cobra Multiman 4.00 to write to dev_flash. I used to use mount alejendro for writing to flash too. Last edited by DeViL303; 01-21-2012 at 12:58 PM. |
|
|
|
|
Likes: (4) |
|
|
#2 |
|
Member
![]() Join Date: Jan 2008
Posts: 123
Likes: 12
Liked 8 Times in 6 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
|
some xml files for analyse. 3.15 3.55 4.00
http://www.mediafire.com/?e838qr29ifszse9
__________________
:stoned:A.C.I.D:stoned:
Artificial Construct Intended 4 Destruction |
|
|
|
|
|
#3 |
|
Apprentice
Join Date: Aug 2011
Posts: 4
Likes: 2
Liked 5 Times in 3 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
|
Just a thought. I really don't know if it can work...
But when you insert a disc you can copy the files to XMB, maybe looking at the Video/Music/Photo category xml/rco can give some hints on how to enable a copy function. Do you know what to change in the xml/rco to change the context options (ex: copy; delete; etc?)? |
|
|
|
|
|
#4 | |
|
Homebrew Developer
![]() Join Date: Jan 2012
Location: Ireland
Posts: 178
Likes: 206
Liked 194 Times in 62 Posts
Mentioned: 35 Post(s)
Tagged: 0 Thread(s)
|
Heres an example : Code:
<Page name="expage_fcopy_exdlg" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing"></Page> <Page name="expage_fcopy_msgdlg" unknownInt0="0x1110000" onInit="nothing" onCancel="nothing" onContextMenu="nothing" onActivate="nothing"></Page> <Page name="expage_fdelete_dialog" unknownInt0="0x1110000" onInit="nothing" onCancel="event:native:/FileDelete_Dialog::cbBtnCancel" onContextMenu="nothing" onActivate="nothing">
Last edited by DeViL303; 01-21-2012 at 12:11 PM. |
|
|
|
|
|
|
#5 |
|
Apprentice
Join Date: Aug 2011
Posts: 4
Likes: 2
Liked 5 Times in 3 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
|
Maybe adding?
Code:
<Pair key="module_name"><String>explore_plugin</String></Pair> <Pair key="module_action"><String>NotifyErrorNoExecute</String></Pair> Code:
<View id="seg_dummy_minis"> <Attributes> <Table key="pspsave"> <Pair key="icon_rsc"><String>item_tex_psputil</String></Pair> <Pair key="icon_notation"><String>WNT_XmbItemSavedataMinis</String></Pair> <Pair key="title_rsc"><String>msg_savedata_utility_minis</String></Pair> <Pair key="module_name"><String>explore_plugin</String></Pair> <Pair key="module_action"><String>NotifyErrorNoExecute</String></Pair> <Pair key="bar_action"><String>none</String></Pair> <Pair key="lbl_half"><String>1</String></Pair> </Table> </Attributes> <Items> <Item class="type:x-xmb/module-action" key="pspsave" attr="pspsave" /> </Items> </View> |
|
|
|
|
Likes: (2) |
|
|
#6 |
|
Homebrew Developer
![]() Join Date: Jan 2012
Location: Ireland
Posts: 178
Likes: 206
Liked 194 Times in 62 Posts
Mentioned: 35 Post(s)
Tagged: 0 Thread(s)
|
Yes, your on the right track but it isnt as easy as that, I would recommend you picking one xml/rco and doing some testing as thats exactly the kind of thing I was doing and once you see the actual changes / crashes etc you can learn very quickly by trial and error.
Youve the right idea though and at the start I was just randomly pasting text from one xml to another to try and learn what I could get away with and what I couldnt. Often the errors are only missing item / text, other times its no xmb with a background, other times black screens, other times RSOD so it takes time to figure out what the system will let you do. When messing with the more complicated code in explore plugin full .rco it give the more serious of the errors so its harder to learn by trial and error. There is lots of the more important code in the rcos that the xmls can call on, use RCOmage v1.1.1 or newer to extract the xml from the rcos, even just looking over some of the rco xmls for a few hours will teach you a lot if anyone wants to learn. Its all fairly logical when you reverse it and do some tests. Last edited by DeViL303; 01-21-2012 at 12:36 PM. |
|
|
|
|
|
#7 | |
|
Senior Member
![]() Join Date: Aug 2011
Posts: 1,269
Likes: 178
Liked 839 Times in 391 Posts
Mentioned: 61 Post(s)
Tagged: 0 Thread(s)
|
from what I understand it only does something for (expage_fcopy_exdlg, expage_fcopy_msgdlg) if it fails to initialize, in that case it throws some kind of exception to the memory location 0x1110000 (or throws you to that specific location within the code). in the case of the (expage_fdelete_dialog) it has the same behaviour as the previous ones except if someone cancels the operation and in that case it "calls" an event that shows you the "Cancel" button. This is also brainstorming but I hope it might help somehow. BTW, does anyone know what is called in the address 0x1110000? |
|
|
|
|
|
|
#8 |
|
Homebrew Developer
![]() Join Date: Jan 2012
Location: Ireland
Posts: 178
Likes: 206
Liked 194 Times in 62 Posts
Mentioned: 35 Post(s)
Tagged: 0 Thread(s)
|
That is the problem with the extractions we get from rcos, all the unknownInt's, these could be anything. You are kinda right about the code above but I was just using that as an example of the references to copy/delete etc, there is pages and pages of this type of code to be gone through and its not going to happen overnight or even in a few weeks. Other Devs with much more knowedge of the internal workings of the sprx files will need to get involved. That is why Im posting all this stuff as I know I havnt a hope of doing any of this on my own. I just think its a good idea that should be worked on.
Also if this can be made into a full featured XMB file manager theb the sky is the limit for souped up XMB mod |
|
|
|
|
Likes: (1) |
|
|
#9 | |
|
Senior Member
![]() Join Date: Aug 2011
Posts: 1,269
Likes: 178
Liked 839 Times in 391 Posts
Mentioned: 61 Post(s)
Tagged: 0 Thread(s)
|
|
|
|
|
|
|
Likes: (1) |
|
|
#10 |
|
Senior Member
![]() Join Date: Feb 2011
Location: Hovering over your home.
Posts: 2,369
Likes: 1,310
Liked 803 Times in 572 Posts
Mentioned: 78 Post(s)
Tagged: 0 Thread(s)
|
Nice work
@DeViL303
I had a question, I hope this doesn't derail the thread too much but, I was wondering in your perusing of the XML files have you ran across the XMB, X, Y, Z locations to acheive this: PS3 Flash0 theme hack - YouTube I've seen this almost a year ago on another forum but they didn't want to share for risk of bricking the console...
__________________
![]() |
|
|
|
|
Likes: (3) |
![]() |
| Bookmarks |
| Thread Tools | |
|
|