FileStructure BIN CrypticS: Difference between revisions

From OuroDev
No edit summary
No edit summary
Line 19: Line 19:
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Integer/UInteger
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Integer/UInteger
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | 4
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | 4
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | CheckSum
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Adler32 CheckSum
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |  
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |  
|-
|-
Line 39: Line 39:
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | *
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | *
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | *
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | *
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | String Table
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | File Table
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |  
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |  
|}
|}
{| class="wikitable" style="width:50%"
{| class="wikitable" style="width:50%"
|+BIN File Structure (String Table)
|+BIN File Structure (File Table)
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | DataType
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | DataType
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:10%;" | Size
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:10%;" | Size
Line 81: Line 81:
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Integer/UInteger
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Integer/UInteger
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | 4
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | 4
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | CheckSum, or Offset...Not Sure Yet
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | FileTime TimeT
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |  
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |  
|-
|-

Revision as of 17:19, 13 May 2019

BIN FILE STRUCTURE - CrypticS

(WORK IN PROGRESS)
I have realized my approach was slightly wrong on this, the contents appear to be handled like a large string and broken apart....so I will revise this as I work out how to better resolve the string & control chars, with the byte alignements etc... DragonSire

BIN FILE STRUCTURE - CrypticS

BIN File Structure (Header)
DataType Size Description Notes
String 8 Bytes Identifier Should be CrypticS
Integer/UInteger 4 Adler32 CheckSum
Short/UShort 2 Bytes String Length
String * Parse Type Used Expected Parse6 (Current)
Short/UShort 2 Bytes FileNumber File1
* * File Table
BIN File Structure (File Table)
DataType Size Description Notes
Integer/UInteger 4 NumberBytes
Integer/UInteger 4 Number String Entries
* LOOP String Entries
Short/UShort 2 Length of String
VAR String String from Length
* CHECK Skip Alignment Check ((4 - (PositionInBuffer And 3)) And 3)
Skip Number Bytes Believe All Zero though could be control character changes
Integer/UInteger 4 FileTime TimeT
* END LOOP

Specific CrypticS File Examples (Work in Progress)

Categories File (Work in Progress)
DataType Size Description Notes
* LOOP
Integer/UInteger 4 Unsure....
String VAR FileName Cryptic String Format, Using Alignment Scheme
String VAR Name Cryptic String Format, Using Alignment Scheme
String VAR PSTRING Cryptic String Format, Using Alignment Scheme
Integer 4 Unknown Expected Zero
Integer 4 Unknown Expected Zero Seems to Indicate a List Follows???
Integer 4 Number of Strings that Follow # PowerSets
* LOOP
String VAR PowerSet Name Cryptic String Format, Using Alignment Scheme
* END LOOP
Integer 4 Unknown Expected Zero
* END LOOP