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
Next revisionBoth sides next revision
cache_structure [2022/11/08 19:01] – [Table] johnsanccache_structure [2022/11/08 19:32] johnsanc
Line 86: Line 86:
 | 0x00000147                            | varies        | Game Attribute Value  | Length + attribute value                      | ''1A54686520434420 \\ 47616D6573205061 \\ 636B20284575726F \\ 706529''                            | 26 characters + "The CD Games Pack (Europe)"             | | 0x00000147                            | varies        | Game Attribute Value  | Length + attribute value                      | ''1A54686520434420 \\ 47616D6573205061 \\ 636B20284575726F \\ 706529''                            | 26 characters + "The CD Games Pack (Europe)"             |
 | 0x00000162                            | 4             | Child Count           | Number of children                            | ''25000000''                                                                                      | 37 children                                              | | 0x00000162                            | 4             | Child Count           | Number of children                            | ''25000000''                                                                                      | 37 children                                              |
-ToSort Directory                                                                                                                                                                                                                                                                        ^^^^^^ +^ File Type - File In ZIP                                                                                                                                                                                                                                                               |||||| 
-| 0x00000000                            | 1             | ???                                                                 | ''00''                                                                                            |                                                          | +0x00000166                            | 1             Child Type            | [[#Enums|Flag for file type]]                 | ''02''                                                                                            | File in ZIP                                              
-| 0x00000001                            | 1             File Type             | [[#Enums|Flag for file type]]                 | ''01''                                                                                            | Directory                                                | +0x00000167                            | 4             File Flags            Flags for tree and DAT structure              | ''0F000100''                                                                                      | Size, CRC, SHA1, MD5, HasDat                             
-|                                       | 4             | Cache Read Flags      |                                               | ''00400000''                                                                                      |                                                          | +0x0000016B                            | varies        | File Name             | Length + file name                            | ''125363616E732F64 \\ 736330303133392E \\ 6A7067''                                                18 characters + "Scans/dsc00139.jpg"                     
-|                                       | varies        | Path Name Length      | Number of characters in path                  | ''0A''                                                                                            | 10 characters                                            | +0x0000017E                            | varies        | Found File Name       Length + found file name                      | ''00''                                                                                            | Not applicable                                           
-|                                       | varies        | Path Name             | Path as displayed in RomVault UI              | ''583A5C546F536F72 \\ 7432''                                                                      | X:\ToSort2                                               | +0x0000017F                            | 8             File Modify Time      | Last modified time in ticks, little endian    | ''0000000000000000''                                                                              | Not applicable                                           
-^ File Record (Non-Archive File)                                                                                                                                                                                                                                                          |||||| +0x00000187                            | 4             | DAT Index             | Index number                                  | ''00000000''                                                                                      | Index 0                                                  | 
-0x00000000                            | 1             File Type             | [[#Enums|Flag for file type]]                 | ''04''                                                                                            | File                                                     +| 0x0000018B                            | 1             | DAT Status            | [[#Enums|Flag for DAT status]]                | ''05''                                                                                            | In DAT, MIA                                              
-0x00000020                            | 4             Cache Read Flags                                                    | ''0F000000''                                                                                      |                                                          +0x0000018C                            | 1             | Got Status            | [[#Enums|Flag for Got status]]                | ''00''                                                                                            | Not Got                                                  
-                                      | varies        | File Name Length      | Number of characters in filename              | ''0D''                                                                                            13 characters                                            +0x0000018D                            | 8             | Size                  | File size in bytes                            | ''0ECB470000000000''                                                                              | 4705038 bytes                                            
-                                      | varies        | File Name             File name without directory                   | ''544553545F46494C \\ 452E62696E''                                                                | TEST_FILE.bin                                            | +0x00000195                                        | CRC                   Bytes + CRC32  hash                           | ''04CD81D84C''                                                                                    "04"CRC32                                             
-|                                       | 1             | Case Alternate        | Flag for a case sensitive filename alternate  | ''00''                                                                                            |                                                          +0x0000019A                            21            | SHA1                  Bytes + SHA1 hash                             | ''207FF61CFF0659DE \\ E1F269C7E3A2E18B \\ 9567979F84''                                            | "21" + SHA1                                              | 
-                                      | 8             Modified Time         | Last modified time in ticks, little endian    | ''5E2442FB4DBFDA08''                                                                              | 638032638875149406 ticks                                 +0x000001AF                            | 16            | MD5                   Bytes + MD5 hash                              | ''16D491169D7CB4DA \\ 414208465B0027BD \\ 21''                                                    "16 + MD5                                                
-                                      | 1             | DAT Status            | [[#Enums|Flag for DAT status]]                | ''04''                                                                                            | In ToSort directory                                      +0x000001C0                            | 4             | File Status           | Flags for file status                         | ''1E000000''                                                                                      | SizeFromDAT, CRCFromDAT, SHA1FromDAT, MD5FromDAT                                                                                        |                                                          |
-                                      | 1             | Got Status            | [[#Enums|Flag for Got status]]                | ''01''                                                                                            | Got                                                      +
-                                      | 8             File Size             | File size in bytes, little endian             | ''C20B000000000000''                                                                              | 3010 bytes                                               +
-                                                  | CRC Bytes             | CRC32 length in bytes                         | ''04''                                                                                            | 4 bytes                                                  | +
-|                                       | 4             | CRC Hash              | CRC32 hash value                              | ''5591DB24''                                                                                      |                                                          +
-                                      1             | SHA1 Bytes            | SHA1 length in bytes                          | ''14''                                                                                            | 20 bytes                                                 | +
-|                                       | 20            | SHA1 Hash             | SHA1 hash value                               | ''470999CECB44DA4B \\ DAA37B634BA8E00B \\ A60DB123''                                              |                                                          +
-                                      | 1             | MD5 Bytes             | MD5 length in bytes                           | ''10''                                                                                            | 16 bytes                                                 | +
-|                                       | 16            | MD5 Hash              | MD5 hash value                                | ''6D791EFEA71E0A2A \\ 46F3C1672A34274B''                                                                                                                   +
-                                      | 1             | Header Found          | [[#Enums|Flag for type of header found]]      | ''00''                                                                                            | None                                                     | +
-|                                       | 4             | File Status           | Flags for file status                         | ''003C0000''                                                                                      |                                                          |+
 ^ Footer                                                                                                                                                                                                                                                                                  |||||| ^ Footer                                                                                                                                                                                                                                                                                  ||||||
 | 0x00000000                            | 11            | ???                                                                 | ''000000000000C000 \\ 000000''                                                                    |                                                          | | 0x00000000                            | 11            | ???                                                                 | ''000000000000C000 \\ 000000''                                                                    |                                                          |
Line 118: Line 108:
  
 ^ Enum            ^ Name             ^ Description                                      ^ Cache Value  ^ ^ Enum            ^ Name             ^ Description                                      ^ Cache Value  ^
-| TreeSelect      | Unselected       | The tree branch is selected                      | ''00''       | 
-| :::             | Selected         | The tree branch is unselected                    | ''01''       | 
-| :::             | Locked           | The tree branch is locked in read-only mode      | ''02''       | 
-| FileType        | Unknown          | ???                                              | ''00''       | 
-| :::             | Dir              | The item is a directory                          | ''01''       | 
-| :::             | Zip              | The item is a ZIP file                           | ''02''       | 
-| :::             | SevenZip         | The item is a 7z file                            | ''03''       | 
-| :::             | File             | The item is a file                               | ''04''       | 
-| :::             | ZipFile          | The item is a file within a ZIP archive          | ''05''       | 
-| :::             | SevenZipFile     | The item is a file within a 7z archive           | ''06''       | 
 | DatData         | DatName          | DAT header: ''<name>'' tag                       | ''01''       | | DatData         | DatName          | DAT header: ''<name>'' tag                       | ''01''       |
 | :::             | DatRootFullName  | Full DATRoot path with DAT filename              | ''02''       | | :::             | DatRootFullName  | Full DATRoot path with DAT filename              | ''02''       |
Line 151: Line 131:
 | :::             | InToSort         | The file is in a ToSort directory                | ''04''       | | :::             | InToSort         | The file is in a ToSort directory                | ''04''       |
 | :::             | InDatMIA         | The file is in the DAT but MIA                   | ''05''       | | :::             | InDatMIA         | The file is in the DAT but MIA                   | ''05''       |
 +| FileType        | Unknown          | ???                                              | ''00''       |
 +| :::             | Dir              | The item is a directory                          | ''01''       |
 +| :::             | Zip              | The item is a ZIP file                           | ''02''       |
 +| :::             | SevenZip         | The item is a 7z file                            | ''03''       |
 +| :::             | File             | The item is a file                               | ''04''       |
 +| :::             | ZipFile          | The item is a file within a ZIP archive          | ''05''       |
 +| :::             | SevenZipFile     | The item is a file within a 7z archive           | ''06''       |
 | GotStatus       | NotGot           | The file is missing                              | ''00''       | | GotStatus       | NotGot           | The file is missing                              | ''00''       |
 | :::             | Got              | The file is present                              | ''01''       | | :::             | Got              | The file is present                              | ''01''       |
Line 171: Line 158:
 | :::             | HeaderMask       | ???                                              |              | | :::             | HeaderMask       | ???                                              |              |
 | :::             | Required         | ???                                              |              | | :::             | Required         | ???                                              |              |
 +| TreeSelect      | Unselected       | The tree branch is selected                      | ''00''       |
 +| :::             | Selected         | The tree branch is unselected                    | ''01''       |
 +| :::             | Locked           | The tree branch is locked in read-only mode      | ''02''       |
 | ZipStatus       | None             | ???                                              | ''00''       | | ZipStatus       | None             | ???                                              | ''00''       |
 | :::             | TrrntZip         | TorrentZip or RV7Z                               | ''01''       | | :::             | TrrntZip         | TorrentZip or RV7Z                               | ''01''       |
cache_structure.txt · Last modified: 2022/11/24 14:30 by johnsanc