Explore plugin

From PS3 Developer wiki
Revision as of 18:03, 4 October 2014 by Ada L0ve Lace (talk | contribs)
Jump to navigation Jump to search

See also Discussion page

4 Identifiers:

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

1 Interface

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: 
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:

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_escaper
focus_index
focus_index 0 0 
focus_last
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
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_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 %20
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

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

CAT0 Interface

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

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

MOD0 Interface

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

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=
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