Editing XMB database
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
There are several tables in the XMB database, each one containing all objects and fields in the next topic.<br/> | There are several tables in the XMB database, each one containing all objects and fields in the next topic.<br/> | ||
One of the uses of this tables is to define in which table | One of the uses of this tables is to define in which table xcb function will search for displaying items in the XMB. | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 18: | Line 18: | ||
| /dev_bdvd || The Blu-Ray disc table.<br/>Used for storing information of games and other stuff etc that are stored in the PS3 Blu-Ray disc. | | /dev_bdvd || The Blu-Ray disc table.<br/>Used for storing information of games and other stuff etc that are stored in the PS3 Blu-Ray disc. | ||
|- | |- | ||
| MMS_MEDIA_TYPE_PLUS || | | MMS_MEDIA_TYPE_PLUS || Unknown<br/>Note: found in firmware 4.00 | ||
|- | |- | ||
| MMS_MEDIA_TYPE_CDDA || Unknown | | MMS_MEDIA_TYPE_CDDA || Unknown | ||
Line 24: | Line 24: | ||
|} | |} | ||
= Objects and fields = | = Objects and fields in the database = | ||
The objects, fields and values below were fetched from several sources but the main sources are the flash xmls in /dev_flash/vsh/explore/xmb/*.xml and the main database schema in /mms/db/md_schema.scm. | The objects, fields and values below were fetched from several sources but the main sources are the flash xmls in /dev_flash/vsh/explore/xmb/*.xml and the main database schema in /mms/db/md_schema.scm. | ||
Line 40: | Line 40: | ||
| Common.titleForSort || *:Common.titleForSort || (null)<br/>GameList:Common.titleForSort 2000<br/>GameList:Common.titleForSort 4000<br/>GameList:Common.titleForSort ''(Any title order)'' | | Common.titleForSort || *:Common.titleForSort || (null)<br/>GameList:Common.titleForSort 2000<br/>GameList:Common.titleForSort 4000<br/>GameList:Common.titleForSort ''(Any title order)'' | ||
|- | |- | ||
| Common.fileName || *:Common.fileName || (null)<br/>StorageMedia:Common.fileName EX_GAME<br/>StorageMedia:Common.fileName THEMEDIR<br/>StorageMedia:Common.fileName EX_VIDEO<br/>StorageMedia:Common.fileName VIDEODIR<br/>Game:Common.fileName SCEAPPS01<br/>Game:Common.fileName SCEAPPS02<br/>Game:Common.fileName SCEAPPS03 | | Common.fileName || *:Common.fileName || (null)<br/>StorageMedia:Common.fileName EX_GAME<br/>StorageMedia:Common.fileName THEMEDIR<br/>StorageMedia:Common.fileName EX_VIDEO<br/>StorageMedia:Common.fileName VIDEODIR<br/>Game:Common.fileName SCEAPPS01<br/>Game:Common.fileName SCEAPPS02<br/>Game:Common.fileName SCEAPPS03<br/>Game:Common.fileName NPIA00002 ''(Folding@home)''<br/>Game:Common.fileName NPIA00005 ''(Playstation home)''<br/>Game:Common.fileName ''(any other game ID)''<br/>MusicList:Common.fileName 00<br/>AchievFlag:Common.fileName FLG<br/>Ps3SaveData:Common.fileName _<br/>PspSaveData:Common.fileName _ | ||
|- | |- | ||
| Common.dirPath || *:Common.dirPath || (null)<br/>Directory:Common.dirPath /dev_hdd0/vsh/bdplayer/BD_BUDB<br/>Game:Common.dirPath /dev_hdd0/game<br/>MusicList:Common.dirPath cdda://<br/>MusicList:Common.dirPath sacd://<br/>AchievTitle:Common.dirPath ./trophy<br/>AchievTitle:Common.dirPath %xUserHomeDir/trophy<br/>AchievTitle:Common.dirPath /dev_hdd0/home/00000001/trophy<br/>Ps3SaveData:Common.dirPath %xUserHomeDir/savedata<br/>Ps3SaveData:Common.dirPath /savedata<br/>Ps3SaveData:Common.dirPath PS3/SAVEDATA<br/>Ps3SaveData:Common.dirPath %xUserHomeDir<br/>Ps2SaveData:Common.dirPath /dev_hdd0/savedata/vmc/<br/>PspSaveData:Common.dirPath /PSP/SAVEDATA<br/>PspSaveData:Common.dirPath %xUserHomeDir<br/>PspSaveData:Common.dirPath %xUserHomeDir/minis_savedata<br/>PspSaveData:Common.dirPath /minis_savedata<br/>PlusSaveData:Common.dirPath /savedata<br/>Psv:Common.dirPath /PS3/EXPORT/PSV<br/>Vmc:Common.dirPath ./PSP/SAVEDATA | | Common.dirPath || *:Common.dirPath || (null)<br/>Directory:Common.dirPath /dev_hdd0/vsh/bdplayer/BD_BUDB<br/>Game:Common.dirPath /dev_hdd0/game<br/>MusicList:Common.dirPath cdda://<br/>MusicList:Common.dirPath sacd://<br/>AchievTitle:Common.dirPath ./trophy<br/>AchievTitle:Common.dirPath %xUserHomeDir/trophy<br/>AchievTitle:Common.dirPath /dev_hdd0/home/00000001/trophy<br/>Ps3SaveData:Common.dirPath %xUserHomeDir/savedata<br/>Ps3SaveData:Common.dirPath /savedata<br/>Ps3SaveData:Common.dirPath PS3/SAVEDATA<br/>Ps3SaveData:Common.dirPath %xUserHomeDir<br/>Ps2SaveData:Common.dirPath /dev_hdd0/savedata/vmc/<br/>PspSaveData:Common.dirPath /PSP/SAVEDATA<br/>PspSaveData:Common.dirPath %xUserHomeDir<br/>PspSaveData:Common.dirPath %xUserHomeDir/minis_savedata<br/>PspSaveData:Common.dirPath /minis_savedata<br/>PlusSaveData:Common.dirPath /savedata<br/>Psv:Common.dirPath /PS3/EXPORT/PSV<br/>Vmc:Common.dirPath ./PSP/SAVEDATA | ||
Line 152: | Line 152: | ||
| Common.stat.stopPointInfo || *:Common.stat.stopPointInfo || (null) | | Common.stat.stopPointInfo || *:Common.stat.stopPointInfo || (null) | ||
|- | |- | ||
| Common.stat.rating || *:Common.stat.rating || (null)<br/>Game:Common.stat.rating 299<br/>Game:Common.stat.rating | | Common.stat.rating || *:Common.stat.rating || (null)<br/>Game:Common.stat.rating 299<br/>Game:Common.stat.rating 299<br/>Game:Common.stat.rating ''(any other rating)'' | ||
|- | |- | ||
| Common.stat.stopPointInfoSuppl || *:Common.stat.stopPointInfoSuppl || (null) | | Common.stat.stopPointInfoSuppl || *:Common.stat.stopPointInfoSuppl || (null) | ||
Line 242: | Line 242: | ||
! Field !! Usage !! Confirmed accepted values | ! Field !! Usage !! Confirmed accepted values | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.id || StorageMedia:StorageMedia.id || (null) | ||
|- | |- | ||
| StorageMedia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_TYPE_SACD<br/>%xCB_MEDIA_TYPE_SD<br/>%xCB_MEDIA_TYPE_SYSTEM<br/>%xCB_MEDIA_TYPE_UNKNOWN<br/>%xCB_MEDIA_TYPE_USBMASS<br/>%xCB_MEDIA_TYPE_USBPSP<br/>%xCB_MEDIA_TYPE_VMC<br/>%xCB_MEDIA_TYPE_WM | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.mediaFormat || StorageMedia:StorageMedia.mediaFormat || (null)<br/>%xCB_MEDIA_FORMAT_AVCHD<br/>%xCB_MEDIA_FORMAT_BDAV<br/>%xCB_MEDIA_FORMAT_BDMV<br/>%xCB_MEDIA_FORMAT_BD_DATA<br/>%xCB_MEDIA_FORMAT_CDDA<br/>%xCB_MEDIA_FORMAT_CD_DATA<br/>%xCB_MEDIA_FORMAT_CF_DATA<br/>%xCB_MEDIA_FORMAT_DATA<br/>%xCB_MEDIA_FORMAT_DLNA<br/>%xCB_MEDIA_FORMAT_DSD<br/>%xCB_MEDIA_FORMAT_DVDMVR<br/>%xCB_MEDIA_FORMAT_DVDPVR<br/>%xCB_MEDIA_FORMAT_DVD_DATA<br/>%xCB_MEDIA_FORMAT_DVD_VIDEO<br/>%xCB_MEDIA_FORMAT_HDD_DATA<br/>%xCB_MEDIA_FORMAT_MS_DATA<br/>%xCB_MEDIA_FORMAT_PS1GAME_CD<br/>%xCB_MEDIA_FORMAT_PS1MC<br/>%xCB_MEDIA_FORMAT_PS2GAME_CD<br/>%xCB_MEDIA_FORMAT_PS2GAME_DVD<br/>%xCB_MEDIA_FORMAT_PS2MC<br/>%xCB_MEDIA_FORMAT_PS3CONTENT_BD<br/>%xCB_MEDIA_FORMAT_PS3CONTENT_DVD<br/>%xCB_MEDIA_FORMAT_PS3GAME_BD<br/>%xCB_MEDIA_FORMAT_PS3GAME_DVD<br/>%xCB_MEDIA_FORMAT_PSP_DATA<br/>%xCB_MEDIA_FORMAT_RESERVED_5<br/>%xCB_MEDIA_FORMAT_RESERVED_6<br/>%xCB_MEDIA_FORMAT_RESERVED_7<br/>%xCB_MEDIA_FORMAT_RESERVED_8<br/>%xCB_MEDIA_FORMAT_RESERVED_9<br/>%xCB_MEDIA_FORMAT_RESERVED_A<br/>%xCB_MEDIA_FORMAT_SACD<br/>%xCB_MEDIA_FORMAT_SD_DATA<br/>%xCB_MEDIA_FORMAT_UNFORMATTED<br/>%xCB_MEDIA_FORMAT_UNKNOWN | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.numOfItems || StorageMedia:StorageMedia.numOfItems || (null) | ||
|- | |- | ||
| StorageMedia.deviceType || StorageMedia:StorageMedia.deviceType || (null)<br/>%xCB_DEVICE_TYPE_CF<br/>%xCB_DEVICE_TYPE_ETHER<br/>%xCB_DEVICE_TYPE_HDD<br/>%xCB_DEVICE_TYPE_MS<br/>%xCB_DEVICE_TYPE_OPTICAL_DRIVE<br/>%xCB_DEVICE_TYPE_RESERVED_4<br/>%xCB_DEVICE_TYPE_RESERVED_5<br/>%xCB_DEVICE_TYPE_RESERVED_6<br/>%xCB_DEVICE_TYPE_RESERVED_7<br/>%xCB_DEVICE_TYPE_SD<br/>%xCB_DEVICE_TYPE_UNKNOWN<br/>%xCB_DEVICE_TYPE_USBAAD<br/>%xCB_DEVICE_TYPE_USBAADWM<br/>%xCB_DEVICE_TYPE_USBCAMERA<br/>%xCB_DEVICE_TYPE_USBMASS<br/>%xCB_DEVICE_TYPE_USBMCA<br/>%xCB_DEVICE_TYPE_USBPSP<br/>%xCB_DEVICE_TYPE_USBPSP_FLASH<br/>%xCB_DEVICE_TYPE_USBPSP_HDD<br/>%xCB_DEVICE_TYPE_USBPSP_MS<br/>%xCB_DEVICE_TYPE_USBVIDEO<br/>%xCB_DEVICE_TYPE_USBWM | | StorageMedia.deviceType || StorageMedia:StorageMedia.deviceType || (null)<br/>%xCB_DEVICE_TYPE_CF<br/>%xCB_DEVICE_TYPE_ETHER<br/>%xCB_DEVICE_TYPE_HDD<br/>%xCB_DEVICE_TYPE_MS<br/>%xCB_DEVICE_TYPE_OPTICAL_DRIVE<br/>%xCB_DEVICE_TYPE_RESERVED_4<br/>%xCB_DEVICE_TYPE_RESERVED_5<br/>%xCB_DEVICE_TYPE_RESERVED_6<br/>%xCB_DEVICE_TYPE_RESERVED_7<br/>%xCB_DEVICE_TYPE_SD<br/>%xCB_DEVICE_TYPE_UNKNOWN<br/>%xCB_DEVICE_TYPE_USBAAD<br/>%xCB_DEVICE_TYPE_USBAADWM<br/>%xCB_DEVICE_TYPE_USBCAMERA<br/>%xCB_DEVICE_TYPE_USBMASS<br/>%xCB_DEVICE_TYPE_USBMCA<br/>%xCB_DEVICE_TYPE_USBPSP<br/>%xCB_DEVICE_TYPE_USBPSP_FLASH<br/>%xCB_DEVICE_TYPE_USBPSP_HDD<br/>%xCB_DEVICE_TYPE_USBPSP_MS<br/>%xCB_DEVICE_TYPE_USBVIDEO<br/>%xCB_DEVICE_TYPE_USBWM | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.timeInserted || StorageMedia:StorageMedia.timeInserted || (null) | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.sortOrder || StorageMedia:StorageMedia.sortOrder || (null) | ||
|- | |- | ||
| StorageMedia.isRom || StorageMedia:StorageMedia.isRom || (null) | | StorageMedia.isRom || StorageMedia:StorageMedia.isRom || (null) | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.clusterSize || StorageMedia:StorageMedia.clusterSize || (null) | ||
|- | |- | ||
| StorageMedia.mridList || StorageMedia:StorageMedia.mridList || (null) | | StorageMedia.mridList || StorageMedia:StorageMedia.mridList || (null) | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.regionCode || StorageMedia:StorageMedia.regionCode || (null) | ||
|- | |||
| StorageMedia.capability || StorageMedia:StorageMedia.capability || (null) | |||
|- | |||
| StorageMedia.deviceName || StorageMedia:StorageMedia.deviceName || (null) | |||
|- | |||
| StorageMedia.autoFocus || StorageMedia:StorageMedia.autoFocus || (null) | |||
|- | |- | ||
| StorageMedia. | | StorageMedia.hybrid || StorageMedia:StorageMedia.hybrid || (null)<br/>HYBRID | ||
|- | |- | ||
| StorageMedia.promotedProfInfo || StorageMedia:StorageMedia.promotedProfInfo || (null) | | StorageMedia.promotedProfInfo || StorageMedia:StorageMedia.promotedProfInfo || (null) | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.optionalInfo || StorageMedia:StorageMedia.optionalInfo || (null) | ||
|- | |||
| StorageMedia.secureEnable || StorageMedia:StorageMedia.secureEnable || (null) | |||
|- | |- | ||
| StorageMedia.reserved20 || StorageMedia:StorageMedia.reserved20 || (null) | | StorageMedia.reserved20 || StorageMedia:StorageMedia.reserved20 || (null) | ||
Line 290: | Line 296: | ||
| StorageMedia.reserved29 || StorageMedia:StorageMedia.reserved29 || (null) | | StorageMedia.reserved29 || StorageMedia:StorageMedia.reserved29 || (null) | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.stat.key || StorageMedia:StorageMedia.stat.key || (null) | ||
|- | |- | ||
| StorageMedia.stat.firstPlay || StorageMedia:StorageMedia.stat.firstPlay || (null) | | StorageMedia.stat.firstPlay || StorageMedia:StorageMedia.stat.firstPlay || (null) | ||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.protectFlag || StorageMedia:StorageMedia.stat.protectFlag || (null) | ||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.protectResult || StorageMedia:StorageMedia.stat.protectResult || (null) | ||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.resumeFlag || StorageMedia:StorageMedia.stat.resumeFlag || (null) | ||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.writeFlag || StorageMedia:StorageMedia.stat.writeFlag || (null) | ||
|- | |- | ||
| StorageMedia.stat.mpProtectFlag || StorageMedia:StorageMedia.stat.mpProtectFlag || (null) | | StorageMedia.stat.mpProtectFlag || StorageMedia:StorageMedia.stat.mpProtectFlag || (null) | ||
Line 310: | Line 314: | ||
| StorageMedia.stat.nickname || StorageMedia:StorageMedia.stat.nickname || (null) | | StorageMedia.stat.nickname || StorageMedia:StorageMedia.stat.nickname || (null) | ||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.version || StorageMedia:StorageMedia.stat.version || (null) | ||
|- | |||
| StorageMedia.stat.id || StorageMedia:StorageMedia.stat.id || (null) | |||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.mediaStatus || StorageMedia:StorageMedia.stat.mediaStatus || (null)<br/>%xCB_MEDIA_INSERTED | ||
|- | |- | ||
| StorageMedia.stat. | | StorageMedia.stat.freeSpace || StorageMedia:StorageMedia.stat.freeSpace || (null) | ||
|- | |- | ||
| StorageMedia.stat.usedSpace || StorageMedia:StorageMedia.stat.usedSpace || (null) | | StorageMedia.stat.usedSpace || StorageMedia:StorageMedia.stat.usedSpace || (null) | ||
|- | |- | ||
| StorageMedia. | | StorageMedia.audio.channelType || StorageMedia:StorageMedia.audio.channelType || (null) | ||
|- | |- | ||
| StorageMedia.video.tvSystem || StorageMedia:StorageMedia.video.tvSystem || (null) | | StorageMedia.video.tvSystem || StorageMedia:StorageMedia.video.tvSystem || (null) | ||
|- | |- | ||
|} | |} | ||
== Video == | == Video == | ||
Line 1,158: | Line 1,150: | ||
| Game.ps3SystemVer || Game:Game.ps3SystemVer || (null) | | Game.ps3SystemVer || Game:Game.ps3SystemVer || (null) | ||
|- | |- | ||
| Game.category || Game:Game.category || (null)<br/>1P ''(Game - PS1 Game)''<br/>2P ''(Game - PS2 Game)''<br/>2D ''(Game - PS2 Emulator Data)''<br/>AM ''(Music, ex: Qriocity Music Unlimited)''<br/>AP ''(Photo, ex: Play Memories)''<br/>AT ''(TV, ex: QOOK TV, Now TV)''<br/>AV ''(Video, ex: Netflix, LoveFilm | | Game.category || Game:Game.category || (null)<br/>1P ''(Game - PS1 Game)''<br/>2P ''(Game - PS2 Game)''<br/>2D ''(Game - PS2 Emulator Data)''<br/>AM ''(Music, ex: Qriocity Music Unlimited)''<br/>AP ''(Photo, ex: Play Memories)''<br/>AT ''(TV, ex: QOOK TV, Now TV)''<br/>AV ''(Video, ex: Netflix, LoveFilm)''<br/>BV ''(Video, ??????)''<br/>CB ''(Network, ex: Life with Playstation, Folding@home)''<br/>GD ''(Game - Game Data)''<br/>HM ''(Music, ??????)''<br/>HG ''(Game - HDD Game)''<br/>MN? ''(Game - PSP Mini Game)''<br/>PP ''(Game - PSP Game?)''<br/>SD? ''(Game - Game Save Data)''<br/>VF ''(??????)''<br/>WT ''(??????)''<br/>XR ''(PS3_EXTRA)''<br/>IP ''(??????)''<br/>DP ''(??????)'' | ||
|- | |- | ||
| Game.gameCategory || Game:Game.gameCategory || (null) | | Game.gameCategory || Game:Game.gameCategory || (null) | ||
Line 2,479: | Line 2,471: | ||
|- | |- | ||
|} | |} | ||