Editing XRegistry.sys

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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


=Rebuild, regenerate, restore processes=
=Rebuild, regenerate, restore processes=
The PS3 system always tries to keep a record of everything that was made before (like the number of users that was created by storing their number in a cumulative counter that never decreases). For this reason when new info from another xRegistry.sys needs to be added to the local xRegistry.sys the system does a selective "merging" of their values
The PS3 system always tryes to keep a record of everything that was made before (like the number of users that was created by storing his number in a cumulative counter that never decreases). For this reason when new info from another xregistry.sys needs to be added to the local xRegistry.sys the system does a selective "merging" of his values


This processes changes the values inside xRegistry.sys, but also can involve a whole rebuild of xRegistry.sys when new entries are added (like when going from 1.00 firmware to 4.66 firmware)
This processes changes the values inside xRegistry.sys, but also can involve a whole rebuild of xRegistry.sys when new entries are added (like when going from 1.00 firmware to 4.66 firmware)
Line 18: Line 18:


==Restore default settings==
==Restore default settings==
Some settings of xRegistry.sys (the ones that appears in XMB {{icon category settings}} column) can be restored to their default values by rebooting the PS3 in [[Recovery Menu]] and using the option 2: ''Restore Default Settings''
Some settings of xRegistry.sys (the ones that appears in XMB {{icon category settings}} column) can de restored to his default values by rebooting the PS3 in [[Recovery Menu]] and using the option 2: ''Restore Default Settings''


==Backup and Restore from a HDD backup==
==Backup and Restore from a HDD backup==
Line 30: Line 30:
**For NAND flash. xRegistry.sys is stored in real FLASH... unknown kill method <!--i dont have a NAND, never tryed, and im not going to suggest to erase it manually, if someone knows please explain the method here-->
**For NAND flash. xRegistry.sys is stored in real FLASH... unknown kill method <!--i dont have a NAND, never tryed, and im not going to suggest to erase it manually, if someone knows please explain the method here-->


= xRegistry.sys access from GameOS =
=xRegistry.sys access from gameOS=
*[[Talk:VSH#xRegistry_Access]]
*http://www.psdevwiki.com/ps3/Talk:VSH#xRegistry_Access
*https://github.com/Estwald/irismanager-4-x/blob/master/source/sysregistry.c
*https://github.com/Estwald/irismanager-4-x/blob/master/source/sysregistry.c
*https://github.com/Zarh/ManaGunZ/blob/master/MGZ/source/xreg.h https://github.com/Zarh/ManaGunZ/blob/master/MGZ/source/xreg.c
*https://github.com/Zarh/ManaGunZ/blob/master/MGZ/source/xreg.h https://github.com/Zarh/ManaGunZ/blob/master/MGZ/source/xreg.c
Line 61: Line 61:
| 0x0 || 0x4 || '''header_mark''' || BC AD AD BC ||  
| 0x0 || 0x4 || '''header_mark''' || BC AD AD BC ||  
|-
|-
| 0x4 || 0x4 || {{cellcolors|#ff6666}} ''unk_header_1'' || 00 00 00 90 || binary flags ? (144 in decimal... and... 10010000 in binary)
| 0x4 || 0x4 || {{cellcolors|#ff6666}} ''unk_header_1'' || 00 00 00 90 || ? (144 in decimal)
|-
|-
| 0x8 || 0x4 || {{cellcolors|#ff6666}} ''unk_header_2'' || 00 00 00 02 || fileformat revision ?
| 0x8 || 0x4 || {{cellcolors|#ff6666}} ''unk_header_2'' || 00 00 00 02 || fileformat revision ?
Line 109: Line 109:
! Offset !! Length !! Name !! Example || Notes
! Offset !! Length !! Name !! Example || Notes
|-
|-
| 0x0 || 0x2 || {{cellcolors|#ff6666}} ''unk_value_1'' || 00 00 || <strike>Flags</strike>, or parent-child hierarchy info, or timestamps ?. Usually zeroes
| 0x0 || 0x2 || {{cellcolors|#ff6666}} ''unk_value_1'' || 00 00 || <strike>Flags</strike> ?. Usually zeroes
|-
|-
| 0x2 || 0x2 || '''key_offset''' || 00 86 || Indicates the owner of this '''value'''<br>+ 0x10 of the static header = absolute offset
| 0x2 || 0x2 || '''key_offset''' || 00 86 || Indicates the owner of this data entry<br>+ 0x10 of the static header = absolute offset
|-
|-
| 0x4 || 0x2 || {{cellcolors|#ff6666}} ''unk_value_2'' || 81 2D || <strike>Entry ID</strike> or 16 bits checksum ? (candidates are [https://en.wikipedia.org/wiki/BSD_checksum BSD16] and CRC16)
| 0x4 || 0x2 || {{cellcolors|#ff6666}} ''unk_value_2'' || 81 2D || <strike>Entry ID</strike> ?
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| colspan="5" |  
| colspan="5" |  
Line 842: Line 842:
| /setting/browser/ifilter  
| /setting/browser/ifilter  
| ?
| ?
| 0, 1
| 0
|-
|-
| /setting/browser/ifilterAddress  
| /setting/browser/ifilterAddress  
Line 866: Line 866:
| /setting/browser/trendEula  
| /setting/browser/trendEula  
| Determine whether or not TrendMicro EULA was accepted  
| Determine whether or not TrendMicro EULA was accepted  
| 0, 1
| 0
|-
|-
| /setting/browser/trendEnable  
| /setting/browser/trendEnable  
| Enable or disable TrendMicro internet filter  
| Enable or disable TrendMicro internet filter  
| 0, 1
| 0
|-
|-
| /setting/dlna/dlnaFlag  
| /setting/dlna/dlnaFlag  
Line 1,538: Line 1,538:
| /setting/browser/trendTtl  
| /setting/browser/trendTtl  
| ?
| ?
| 0, 1
| 0
|-
|-
| /setting/browser/trendRegistered  
| /setting/browser/trendRegistered  
| ?
| ?
| 0, 1
| 0
|-
|-
| /setting/browser/debugMenu  
| /setting/browser/debugMenu  
| {{icon category settings}} ⇨ '''[Debug Settings]''' ⇨ '''[Internet Browser Debug]'''<br>Web Browser Debug Menu. See [[Web Browser]]
| {{icon category settings}} ⇨ '''[Debug Settings]''' ⇨ '''[Internet Browser Debug]''' ?<br>Web Browser Debug Menu. See [[Web Browser]]
| 0 = disabled, 1 = enabled
| 0 = disabled, 1 = enabled
|-
|-
Line 1,673: Line 1,673:
|-
|-
| /setting/browser/browserType  
| /setting/browser/browserType  
| Allows to choose the web browser by clicking {{padtriangle}} over {{icon category network}} ⇨ '''[Engine]''' ?
| ?
| 0=Webkit, 1=Silk
| 0
|-
|-
| /setting/xmb/yconExplained  
| /setting/xmb/yconExplained  
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)