Explore plugin: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
 
(40 intermediate revisions by 3 users not shown)
Line 1: Line 1:
See also {{talk}} page


4 Identifiers:
4 Identifiers:
Line 9: Line 10:
=1 Interface=
=1 Interface=


contains dynamically allocated subs:  
contains selective set subs (max. so far 29):  


  0: 1 Input:  
  0: 1 Parameter: int value 0 - 4
  ...
1: 0 Parameter: returns an interface
  5: 3 Inputs: char* (reload_category game/network/..,reload_category_items game/...)  ,0, 0 - send (sequences of)xmb command(s)
2: 0 Parameter: returns an interface
  6: 2 Inputs: char* (open_list nocheck/...), 0
3: 0 Parameter: returns an uint[0x14 / 0x24]
  4: -
  5: 3 Parameter: list[] {(reload_category game/network/..,reload_category_items game/...), command amount} - send (sequences of)xmb command(s)
  6: 3 Parameter: char* (open_list nocheck/...), void * callback(can be 0), 0
7: 2 Parameter:
8: 3 Parameter:
9: 3 Parameter: void *, void *, void *
10: 2 Parameter: char * , int * out
11: 3 Parameter: char * query , char * attribute? , uint8 output[]
12: 1 Parameter: struct
13: return 0
13/2: 1 Parameter: int 0-9
14: return 0
14/2: 2 Parameter: int 0-9,
15: 3 Parameter: int 0-9, ,
16: nullsub
16/2: 3 Parameter: int 0-9, ,
17: 5 Parameter: int 0-9,
18: 1 Parameter:
19: 1 Parameter:
20: nullsub
20/2: PlayIndicate, 2 Parameter: , int value, (0 = show?, 1=update?, -1 = hide) -  (set_playing 0x%x 0x%llx 0x%llx 0x%llx 0x%llx")
21: nullsub
21/2: 1 Parameter: uint * list (simply both parameter from 20/2 and 3rd terminating = -1)
22: 0 Parameter:
22/2: 1 Parameter:
23: -
24: 0 Parameter:
25: 0 Parameter:
26: 2 Parameter: char * (TropViewMode/backup/FaustPreview...) , char * (group/fixed/on...)
27: 1 Parameter: char *
28: 2 Parameter: char * (ReloadXil/AvcRoomItem/...), uint8 xml?_parameters[]
29: 2 Parameter: char * ,


==Example XMB Commands:==
==Example XMB Commands:==
Line 27: Line 60:
|br || ||
|br || ||
|-
|-
|close_all_list || ||
|close_all_list ||
close_all_list
||
|-
|-
|close_list || ||
|close_list ||
close_list
||
|-
|-
|exec_app|| exec_app recover_ok ||  
|exec_app||
  exec_app shopdemo
exec_app recover_ok
||  
  exec_app cannot_support_remoteplay
exec_app cddb_dialog
  exec_app DelAfterInstall  
  exec_app DelAfterInstall  
exec_app edit_wo_titleinput
  exec_app EulaOK  
  exec_app EulaOK  
exec_app SignupOK
  exec_app ExecInstallOK  
  exec_app ExecInstallOK  
  exec_app ExecInstallNG  
  exec_app ExecInstallNG  
Line 43: Line 83:
  exec_app NaviNotAllowed  
  exec_app NaviNotAllowed  
  exec_app OnlineOK  
  exec_app OnlineOK  
exec_app UrlOK
  exec_app open_update_confirm_dialog  
  exec_app open_update_confirm_dialog  
exec_app recover_ok
exec_app shopdemo
  exec_app signup_finish  
  exec_app signup_finish  
exec_app SignupOK
exec_app start_netcheck
exec_app start_netconf
exec_app start_store
exec_app start_update
exec_app start_welcome_headline
exec_app start_without_worning_guest_signin
exec_app UrlOK
|-
|-
|exec_push || ||
|exec_push ||
exec_push
||
|-
|-
|focus || ||
|focus || ||
|-
|-
|focus_category <Category>|| focus_category game||  
|focus_category <Category>||
focus_category game
||  
Category:
  game
  game
  video
  video
Line 60: Line 114:
  photo
  photo
  tv
  tv
More examples:
focus_category user 0.0
|-
|-
|focus_detect || ||
|focus_detect || focus_detect enable||
|-
|-
|focus_escaper || ||
|focus_escaper || ||
|-
|-
|focus_index || ||
|focus_index  
||
focus_index 0 0
||
focus_index 1 0
|-
|-
|focus_last || ||
|focus_last ||
focus_last 0
||
focus_last 0 : sets cursor to most top position in current column
focus_last 1 : sets cursor to most top+1 position in current column
|-
|-
|focus_mrid 0x%llx || ||
|focus_mrid 0x%llx || ||
Line 77: Line 142:
|focus_segment_hit_last || ||
|focus_segment_hit_last || ||
|-
|-
|focus_segment_index || focus_segment_index -1 0||
|focus_segment_index ||
  focus_segment_index -1 0
  focus_segment_index -1 0
||
focus_segment_index -1 0 : sets cursor to most top application in current column
focus_segment_index #Number 0 : sets cursor to position #Number in current column
  focus_segment_index seg_commerce_new 0
  focus_segment_index seg_commerce_new 0
  focus_segment_index seg_mcutility 0  
  focus_segment_index seg_mcutility 0  
Line 84: Line 152:
  focus_segment_index seg_regist 0
  focus_segment_index seg_regist 0
  focus_segment_index gameDir 0
  focus_segment_index gameDir 0
focus_segment_index xmb://localhost/%25flash/xmb/category_user.xml#root.user_provider_1 -1
|-
|-
|focus_segment_mrid %d %lld ||focus_segment_mrid 0 %lld ||
|focus_segment_mrid %d %lld  
||
focus_segment_mrid 0 %lld  
||
|-
|-
|focus_segment_stored_mrid || ||
|focus_segment_stored_mrid  
||
focus_segment_stored_mrid 0 4
||
focus_segment_stored_mrid 1 4
|-
|-
|metagen || ||
|metagen || ||
metagen filepath?
|-
|-
|metagen_sync || metagen_sync media 1?||
|metagen_sync  
||
metagen_sync media 1?
||
|-
|-
|open_list || ||
|open_list ||
open_list
||
|-
|-
|reload_category <Category>|| reload_category game||  
|reload_category <Category>
||
reload_category game
||  
  game
  game
  video
  video
Line 105: Line 190:
  tv
  tv
|-
|-
|reload_category_items <Category>|| reload_category_items game ||
|reload_category_items <Category>
||
reload_category_items game
||
  game
  game
  video
  video
Line 115: Line 203:
  tv
  tv
|-
|-
|reload_category_segment || ||
|reload_category_segment ||
reload_category_segment game 0 seg_device
||
reload_category_segment game 0 seg_psp2appdata
|-
|-
|reload_item || ||
|reload_item || ||
|-
|-
|reload_item_mrid || ||
|reload_item_mrid ||
||
reload_item_mrid xmb://localhost/%25flash/xmb/category_game.xml#seg_mcutility.sdvmc %llu
reload_item_mrid gamedata %llu
reload_item_mrid gameDir %llu
|-
|-
|reload_list || ||
|reload_list || ||
Line 125: Line 220:
|reload_segment_focused || ||
|reload_segment_focused || ||
|-
|-
|reload_segment_index || ||
|reload_segment_index ||
reload_segment_index %d
||  
reload_segment_index 8
|-
|-
|scroll_list || ||
|scroll_list || ||
Line 131: Line 229:
|sd || ||
|sd || ||
|-
|-
|set_playing || ||
|set_playing || || set_playing 0x%x 0x%llx 0x%llx 0x%llx 0x%llx
|-
|-
|store_mrid || ||
|store_mrid || ||
|-
|-
|store_mrid_hit_first || ||
|store_mrid_hit_first ||
store_mrid_hit_first 4
||
|-
|-
|store_mrid_hit_last || ||
|store_mrid_hit_last || ||
|-
|-
|wait <msec>|| wait 1000 ||
|wait <msec>
||
wait 1000  
||
  wait 100
  wait 100
wait 200
  wait 100.0f
  wait 100.0f
  wait 200.0f
  wait 200.0f
Line 148: Line 252:
|yield || ||
|yield || ||
|}
|}
== Function 11 Example ==
query:
xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_DVDPRW+Aa+StorageMedia:StorageMedia.reserved24
attribute:
StorageMedia:StorageMedia.reserved24
See: [[XMBML Functions#xcb:.2F.2Flocalhost.2Fquery.3F|xcb://localhost/query?]], [[XMB_database#Tables|XMB database Tables]], [[XMBML Functions#Operators|Operators]] and [[XMB_database#StorageMedia|StorageMedia]] usage
== Function 28 Examples ==
ReloadXil
AvcRoomItem
DlnaDeviceMaxNotification
...


=CAT0 Interface=
=CAT0 Interface=
Line 153: Line 274:
contains 25 subs:
contains 25 subs:


  0:  
  0: 2 Parameter: int category_id (0-9), int (to store)
  1:  
1: 2 Parameter: int category_id, int? (0)
  ..
2: 2 Parameter: int category?, int segment? (9=seg_premo,0xA=gameDir,)
  24:  
3: 3 Parameter: int category?
4: 2 Parameter: int category?, int
5: 2 Parameter: int category?
6: 2 Parameter: int category?
7: 4 Parameter: int category?
8: 3 Parameter: int category?, , int *
9: 3 Parameter: int category?
10: 1 Parameter: int category? - (msg_login)
11: 1 Parameter: int category?
12: 1 Parameter: int category? (identical to 11)
13: 1 Parameter: int category?
14: 0 Parameter:
15: 2 Parameter: int category?, int
16: 2 Parameter: int category?, int
17: 4 Parameter: int category?, int (must be 0x584D4232 ("XMB2")), int flag?, int flag?
18: 1 Parameter: int category? -
  19: 1 Parameter: int category?
20: 1 Parameter: int category?
21: null
22: 2 Parameter: int category?, float
  23: 1 Parameter: int category?
  24: 0 Parameter:
 
==Category IDs==
 
0 User
1 Setting
2 Photo
3 Music
4 Video
5 Tv Video Service
6 Game
7 Net
8 PSN
9 Friend


=MOD0 Interface=
=MOD0 Interface=
Line 162: Line 317:
contains 4 subs:
contains 4 subs:


  0: 0 Input: (ModuleActivate)
  0: 0 Parameter: (ModuleActivate)
  1: 0 Input: (ModuleDeactivate)
  1: 0 Parameter: (ModuleDeactivate)
  2: 1 Input: string name? - (ModuleLoadFailed)
  2: 1 Parameter: int ([[Xmb_plugin#xmb_plugin_id_list|Plugin Enum ID]]) - (ModuleLoadFailed)
  3: 1 Input: string name? - (ModuleGetLoadOpinion)
  3: 1 Parameter: int ([[Xmb_plugin#xmb_plugin_id_list|Plugin Enum ID]]) - (ModuleGetLoadOpinion)


=ACT0 Interface=
=ACT0 Interface=
Line 171: Line 326:
contains 1 sub:
contains 1 sub:


  0: 1 Input: string
  0: 1 Parameter: char * action
  (explore, CloseListChild, FocusMessageBox, FocusFriend, ClearCache, ClearWBoardFocus, SetWBoardFocus, ExecStorageCopy, NotifyErrorNoExecute,
 
ShopDemo_ResetTimer)
 
{| class="wikitable sortable"
! Action !! notes
|-
|explore ||
explore:log?channel_boot=
explore:log?channel_focus=
explore:log?screen_boot=
explore:log?screen_focus=
explore:log?video=%s%s
  explore:log_flush?
explore:log_resession?
explore:call_updater?value=
explore:log_direct?url=
||
Examples:
explore:log?screen_focus=tv
explore:log?screen_focus=psn
|-
|CloseListChild || [[wboard_plugin]] : interface 1 : function 1
|-
|FocusMessageBox ||
|-
|FocusFriend ||
|-
|ClearCache || creates db.xml files and deletes content of
/dev_hdd0/tmp/explore/atdl
/dev_hdd0/vsh/pushlist
/dev_hdd0/tmp/explore/atdl/report/report.xml
/dev_hdd0/tmp/explore/atdl/dirty.dat
|-
|ClearWBoardFocus ||
|-
|SetWBoardFocus || Sets XMB Cursor to WBoard?
|-
|ExecStorageCopy || used to export/import gamesaves
|-
|NotifyErrorNoExecute ||
|-
|ShopDemo_ResetTimer ||
|}




{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude>

Latest revision as of 21:06, 8 February 2016

See also Discussion page

4 Identifiers:

  • 1
  • 0x43415430 ("CAT0")
  • 0x4D4F4430 ("MOD0")
  • 0x41435430 ("ACT0")

1 Interface[edit | edit source]

contains selective set subs (max. so far 29):

0: 1 Parameter: int value 0 - 4
1: 0 Parameter: returns an interface
2: 0 Parameter: returns an interface
3: 0 Parameter: returns an uint[0x14 / 0x24]
4: -
5: 3 Parameter: list[] {(reload_category game/network/..,reload_category_items game/...), command amount}  - send (sequences of)xmb command(s)
6: 3 Parameter: char* (open_list nocheck/...), void * callback(can be 0), 0
7: 2 Parameter: 
8: 3 Parameter: 
9: 3 Parameter: void *, void *, void *
10: 2 Parameter: char * , int * out
11: 3 Parameter: char * query , char * attribute? , uint8 output[]
12: 1 Parameter: struct
13: return 0
13/2: 1 Parameter: int 0-9
14: return 0
14/2: 2 Parameter: int 0-9, 
15: 3 Parameter: int 0-9, , 
16: nullsub
16/2: 3 Parameter: int 0-9, ,
17: 5 Parameter: int 0-9, 
18: 1 Parameter: 
19: 1 Parameter: 
20: nullsub
20/2: PlayIndicate, 2 Parameter: , int value, (0 = show?, 1=update?, -1 = hide) -  (set_playing 0x%x 0x%llx 0x%llx 0x%llx 0x%llx")
21: nullsub
21/2: 1 Parameter: uint * list (simply both parameter from 20/2 and 3rd terminating = -1)
22: 0 Parameter: 
22/2: 1 Parameter: 
23: - 
24: 0 Parameter: 
25: 0 Parameter: 
26: 2 Parameter: char * (TropViewMode/backup/FaustPreview...) , char * (group/fixed/on...)
27: 1 Parameter: char *
28: 2 Parameter: char * (ReloadXil/AvcRoomItem/...), uint8 xml?_parameters[]
29: 2 Parameter: char * ,

Example XMB Commands:[edit | edit source]

Command Example notes
add
beq
br
close_all_list
close_all_list 
close_list
close_list 
exec_app
exec_app recover_ok
exec_app cannot_support_remoteplay
exec_app cddb_dialog
exec_app DelAfterInstall 
exec_app edit_wo_titleinput
exec_app EulaOK 
exec_app ExecInstallOK 
exec_app ExecInstallNG 
exec_app ExecNetCheckOK 
exec_app ExecNetCheckNG 
exec_app NaviCommandCheckGameBootFinish 
exec_app NaviNotAllowed 
exec_app OnlineOK 
exec_app open_update_confirm_dialog 
exec_app recover_ok
exec_app shopdemo 
exec_app signup_finish 
exec_app SignupOK 
exec_app start_netcheck
exec_app start_netconf
exec_app start_store
exec_app start_update
exec_app start_welcome_headline
exec_app start_without_worning_guest_signin
exec_app UrlOK 
exec_push
exec_push 
focus
focus_category <Category>
focus_category game

Category:

game
video
friend
psn
network
music
photo
tv

More examples:

focus_category user 0.0
focus_detect focus_detect enable
focus_escaper
focus_index
focus_index 0 0 
focus_index 1 0 
focus_last
focus_last 0 
focus_last 0 : sets cursor to most top position in current column
focus_last 1 : sets cursor to most top+1 position in current column
focus_mrid 0x%llx
focus_priority
focus_segment_hit_first gameDir %s
focus_segment_hit_last
focus_segment_index
focus_segment_index -1 0
focus_segment_index -1 0 : sets cursor to most top application in current column
focus_segment_index #Number 0 : sets cursor to position #Number in current column
focus_segment_index seg_commerce_new 0
focus_segment_index seg_mcutility 0 
focus_segment_index seg_newvmc 0
focus_segment_index seg_regist 0
focus_segment_index gameDir 0
focus_segment_index xmb://localhost/%25flash/xmb/category_user.xml#root.user_provider_1 -1
focus_segment_mrid %d %lld
focus_segment_mrid 0 %lld 
focus_segment_stored_mrid
focus_segment_stored_mrid 0 4
focus_segment_stored_mrid 1 4 
metagen
metagen filepath?
metagen_sync
metagen_sync media 1?
open_list
open_list
reload_category <Category>
reload_category game
game
video
friend
psn
network
music
photo
tv
reload_category_items <Category>
reload_category_items game	
game
video
friend
psn
network
music
photo
tv
reload_category_segment
reload_category_segment game 0 seg_device 
reload_category_segment game 0 seg_psp2appdata
reload_item
reload_item_mrid
reload_item_mrid xmb://localhost/%25flash/xmb/category_game.xml#seg_mcutility.sdvmc %llu
reload_item_mrid gamedata %llu
reload_item_mrid gameDir %llu
reload_list
reload_segment_focused
reload_segment_index
reload_segment_index %d 
reload_segment_index 8
scroll_list
sd
set_playing set_playing 0x%x 0x%llx 0x%llx 0x%llx 0x%llx
store_mrid
store_mrid_hit_first
store_mrid_hit_first 4 
store_mrid_hit_last
wait <msec>
wait 1000 
wait 100
wait 200
wait 100.0f
wait 200.0f
wait 500.0f
wait 800.0f
yield

Function 11 Example[edit | edit source]

query:

xcb://localhost/query?table=MMS_MEDIA_TYPE_SYSTEM&cond=Ae+StorageMedia:StorageMedia.stat.mediaStatus %xCB_MEDIA_INSERTED+AGL+StorageMedia:StorageMedia.type %xCB_MEDIA_TYPE_PS3_BD %xCB_MEDIA_TYPE_DVDPRW+Aa+StorageMedia:StorageMedia.reserved24

attribute:

StorageMedia:StorageMedia.reserved24

See: xcb://localhost/query?, XMB database Tables, Operators and StorageMedia usage

Function 28 Examples[edit | edit source]

ReloadXil
AvcRoomItem
DlnaDeviceMaxNotification
...

CAT0 Interface[edit | edit source]

contains 25 subs:

0: 2 Parameter: int category_id (0-9), int (to store)
1: 2 Parameter: int category_id, int? (0)
2: 2 Parameter: int category?, int segment? (9=seg_premo,0xA=gameDir,)
3: 3 Parameter: int category?
4: 2 Parameter: int category?, int
5: 2 Parameter: int category?
6: 2 Parameter: int category?
7: 4 Parameter: int category?
8: 3 Parameter: int category?, , int *
9: 3 Parameter: int category?
10: 1 Parameter: int category? - (msg_login)
11: 1 Parameter: int category?
12: 1 Parameter: int category? (identical to 11)
13: 1 Parameter: int category?
14: 0 Parameter:
15: 2 Parameter: int category?, int
16: 2 Parameter: int category?, int
17: 4 Parameter: int category?, int (must be 0x584D4232 ("XMB2")), int flag?, int flag?
18: 1 Parameter: int category? -
19: 1 Parameter: int category?
20: 1 Parameter: int category?
21: null
22: 2 Parameter: int category?, float
23: 1 Parameter: int category?
24: 0 Parameter:

Category IDs[edit | edit source]

0 User
1 Setting
2 Photo
3 Music
4 Video
5 Tv Video Service
6 Game
7 Net
8 PSN
9 Friend

MOD0 Interface[edit | edit source]

contains 4 subs:

0: 0 Parameter: (ModuleActivate)
1: 0 Parameter: (ModuleDeactivate)
2: 1 Parameter: int (Plugin Enum ID) - (ModuleLoadFailed)
3: 1 Parameter: int (Plugin Enum ID) - (ModuleGetLoadOpinion)

ACT0 Interface[edit | edit source]

contains 1 sub:

0: 1 Parameter: char * action


Action notes
explore
explore:log?channel_boot=
explore:log?channel_focus=
explore:log?screen_boot=
explore:log?screen_focus=
explore:log?video=%s%s
explore:log_flush?
explore:log_resession?
explore:call_updater?value=
explore:log_direct?url=

Examples:

explore:log?screen_focus=tv
explore:log?screen_focus=psn
CloseListChild wboard_plugin : interface 1 : function 1
FocusMessageBox
FocusFriend
ClearCache creates db.xml files and deletes content of
/dev_hdd0/tmp/explore/atdl
/dev_hdd0/vsh/pushlist
/dev_hdd0/tmp/explore/atdl/report/report.xml
/dev_hdd0/tmp/explore/atdl/dirty.dat
ClearWBoardFocus
SetWBoardFocus Sets XMB Cursor to WBoard?
ExecStorageCopy used to export/import gamesaves
NotifyErrorNoExecute
ShopDemo_ResetTimer