User Tools

Site Tools


cache_structure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cache_structure [2022/11/08 19:36] – [Table] johnsanccache_structure [2022/11/24 14:30] (current) johnsanc
Line 2: Line 2:
 RomVault stores all information about scanned and datted files in the RomVault Cache. This cache file is essentially a highly optimized database that includes filenames, sizes, hashes, modified timestamps, and pertinent flags to track various ROM statuses. RomVault stores all information about scanned and datted files in the RomVault Cache. This cache file is essentially a highly optimized database that includes filenames, sizes, hashes, modified timestamps, and pertinent flags to track various ROM statuses.
  
-|**ⓘ NOTE:** \\ This page is under construction and should not be considered comprehensive or entirely accurate.|+<WRAP info>This page is for low level debugging reference only. You should never need to look at the cache contents in a hex editor, but if you do the tables below help to explain the cache structure. This page is under construction and should not be considered comprehensive.</WRAP>
  
 ===== RomVault 3.5.x Cache =====  ===== RomVault 3.5.x Cache ===== 
Line 58: Line 58:
 | 0x000000B2                            | varies        | DAT Attribute Value   | Length + attribute value                     | ''084461745661756C \\ 74''                                                                        | 8 characters + "DatVault"                                | | 0x000000B2                            | varies        | DAT Attribute Value   | Length + attribute value                     | ''084461745661756C \\ 74''                                                                        | 8 characters + "DatVault"                                |
 | 0x000000BB                            | 1             | DAT Attribute ID      | [[#Enums|Flag for Dat attribute]]            | ''0B''                                                                                            | URL                                                      | | 0x000000BB                            | 1             | DAT Attribute ID      | [[#Enums|Flag for Dat attribute]]            | ''0B''                                                                                            | URL                                                      |
-| 0x000000BC                            | varies        | DAT Attribute Value   | Length + attribute value                     | ''107777772E646174 \\ 7661756C742E636F \\ 6D''                                                    | 10 characters + "www.datvault.com"                       |+| 0x000000BC                            | varies        | DAT Attribute Value   | Length + attribute value                     | ''107777772E646174 \\ 7661756C742E636F \\ 6D''                                                    | 16 characters + "www.datvault.com"                       |
 | 0x000000CD                            | 4             | Child Count                                                        | ''4E000000''                                                                                      | 78 children                                              | | 0x000000CD                            | 4             | Child Count                                                        | ''4E000000''                                                                                      | 78 children                                              |
 | ... (end of group)                    | 4             | File Status           | Status of the file / group                   | ''00000000''                                                                                      |                                                          | | ... (end of group)                    | 4             | File Status           | Status of the file / group                   | ''00000000''                                                                                      |                                                          |
Line 100: Line 100:
 | 0x0000018D                            | 8             | Size                  | File size in bytes                           | ''0ECB470000000000''                                                                              | 4705038 bytes                                            | | 0x0000018D                            | 8             | Size                  | File size in bytes                           | ''0ECB470000000000''                                                                              | 4705038 bytes                                            |
 | 0x00000195                            | 5             | CRC                   | Bytes + CRC32  hash                          | ''04CD81D84C''                                                                                    | "04" + CRC32                                             | | 0x00000195                            | 5             | CRC                   | Bytes + CRC32  hash                          | ''04CD81D84C''                                                                                    | "04" + CRC32                                             |
-| 0x0000019A                            | 21            | SHA1                  | Bytes + SHA1 hash                            | ''207FF61CFF0659DE \\ E1F269C7E3A2E18B \\ 9567979F84''                                            | "21" + SHA1                                              | +| 0x0000019A                            | 21            | SHA1                  | Bytes + SHA1 hash                            | ''207FF61CFF0659DE \\ E1F269C7E3A2E18B \\ 9567979F84''                                            | "20" + SHA1                                              | 
-| 0x000001AF                            | 16            | MD5                   | Bytes + MD5 hash                             | ''16D491169D7CB4DA \\ 414208465B0027BD \\ 21''                                                    | "16 + MD5                                                |+| 0x000001AF                            | 16            | MD5                   | Bytes + MD5 hash                             | ''16D491169D7CB4DA \\ 414208465B0027BD \\ 21''                                                    | "16+ MD5                                                |
 | 0x000001C0                            | 4             | File Status           | Flags for file status                        | ''1E000000''                                                                                      | SizeFromDAT, CRCFromDAT, SHA1FromDAT, MD5FromDAT         | | 0x000001C0                            | 4             | File Status           | Flags for file status                        | ''1E000000''                                                                                      | SizeFromDAT, CRCFromDAT, SHA1FromDAT, MD5FromDAT         |
 | ... (end of group)                    | 4             | File Status           | Status of the file / group                   | ''00000000''                                                                                      |                                                          | | ... (end of group)                    | 4             | File Status           | Status of the file / group                   | ''00000000''                                                                                      |                                                          |
cache_structure.1667964974.txt.gz · Last modified: 2022/11/08 19:36 by johnsanc