Add branch and mod files and basic structure of .venus directory. Added fields to object files and upgraded version in object file.
This commit is contained in:
parent
1bfa1d5e4e
commit
c6ca503ed2
4 changed files with 83 additions and 5 deletions
12
OBJECTS.md
12
OBJECTS.md
|
@ -4,13 +4,18 @@ Objects are stored for each mod. Each object consists of a custom binary diff-st
|
|||
|
||||
```
|
||||
0x0B7D1FF0: Magic number
|
||||
0x00000000: 32-bit version. By convention, unofficial object formats should have the left-most(commonly referred to as the 31st bit) set.
|
||||
0x00000001: 32-bit version. By convention, unofficial object formats should have the left-most(commonly referred to as the 31st bit) set.
|
||||
0x0000000000000007: 64-bit number of entries
|
||||
0x0000000067D9F179: 64-bit unix timestamp of the mod's creation in seconds
|
||||
0x182E06194DB125D7: 64-bit unix timestamp(in nanoseconds) of the object's creation
|
||||
0x0000000000000000: 64-bit unix timestamp(in nanoseconds) of the previous object's creation or 0 if no there is no previous object
|
||||
|
||||
0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000: Padding
|
||||
0x000000000000000000000000000000000000000000000000: Padding
|
||||
|
||||
0xCF83E1357EEFB8BDF1542850D66D8007D620E4050B5715DC83F4A921D36CE9CE47D0D13C5D85F2B0FF8318D2877EEC2F63B931BD47417A81A538327AF927DA3E: SHA512 hash of object with hash replaced with this hash(the SHA512 hash of an empty string)
|
||||
|
||||
0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000: Same as hash above but of previous object, or 0 if no previous object.
|
||||
|
||||
(entries)
|
||||
```
|
||||
|
||||
|
@ -40,4 +45,5 @@ Known versions:
|
|||
|
||||
|32-bit value|Name|
|
||||
|-----|-----|
|
||||
|0x00000000|Official venus version 0.1(this doc)|
|
||||
|0x00000000|Version from before version 0.1|
|
||||
|0x00000001|Official venus version 0.1(this doc)|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue