Explore plugin: Difference between revisions

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


4 Identifiers:
4 Identifiers:
Line 20: Line 21:
  7: 2 Parameter:  
  7: 2 Parameter:  
  8: 3 Parameter:  
  8: 3 Parameter:  
  9: 3 Parameter:  
  9: 3 Parameter: void *, void *, void *
  10: 2 Parameter: char * , int * out
  10: 2 Parameter: char * , int * out
  11: 3 Parameter: char * query , char * attribute? , uint8 output[]
  11: 3 Parameter: char * query , char * attribute? , uint8 output[]
Line 70: Line 71:
  exec_app recover_ok
  exec_app recover_ok
||  
||  
  exec_app shopdemo
  exec_app cannot_support_remoteplay
  exec_app cddb_dialog
  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 82: 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 edit_wo_titleinput
  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 ||
Line 109: Line 118:
  focus_category user 0.0
  focus_category user 0.0
|-
|-
|focus_detect || ||
|focus_detect || focus_detect enable||
|-
|-
|focus_escaper || ||
|focus_escaper || ||
Line 117: Line 126:
  focus_index 0 0  
  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 131: Line 145:
  focus_segment_index -1 0
  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 151: Line 166:
|-
|-
|metagen || ||
|metagen || ||
metagen filepath?
|-
|-
|metagen_sync  
|metagen_sync  
Line 218: Line 234:
|-
|-
|store_mrid_hit_first ||
|store_mrid_hit_first ||
  store_mrid_hit_first 4 %20
  store_mrid_hit_first 4  
||
||
|-
|-
Line 245: Line 261:
  StorageMedia:StorageMedia.reserved24
  StorageMedia:StorageMedia.reserved24


See: [[XMB_modding#xcb:.2F.2Flocalhost.2Fquery.3F|xcb://localhost/query?]], [[XMB_database#Tables|XMB database Tables]], [[XMB_modding#Operators|Operators]] and [[XMB_database#StorageMedia|StorageMedia]] usage
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 307: Line 330:


{| class="wikitable sortable"
{| class="wikitable sortable"
! Action !! notes
! Action !! notes  
|-  
|-  
|explore ||  
|explore ||  
Line 319: Line 342:
  explore:call_updater?value=
  explore:call_updater?value=
  explore:log_direct?url=
  explore:log_direct?url=
||
Examples:
explore:log?screen_focus=tv
explore:log?screen_focus=psn
|-
|-
|CloseListChild || [[wboard_plugin]] : interface 1 : function 1
|CloseListChild || [[wboard_plugin]] : interface 1 : function 1
Line 336: Line 363:
|SetWBoardFocus || Sets XMB Cursor to WBoard?
|SetWBoardFocus || Sets XMB Cursor to WBoard?
|-
|-
|ExecStorageCopy ||
|ExecStorageCopy || used to export/import gamesaves
|-
|-
|NotifyErrorNoExecute ||
|NotifyErrorNoExecute ||

Latest revision as of 20: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