Larian Studios DV2: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(21 intermediate revisions by the same user not shown)
Line 15: Line 15:


// header
// header
4 bytes (uint32) - unknown // 5
4 bytes (uint32) - unknown (optional field) // 5
4 bytes (uint32) - unknown // 1
4 bytes (uint32) - unknown (optional field) // 1
4 bytes (uint32) - version  // 4
4 bytes (uint32) - version  // 4
1 byte (uint8) - align
1 byte (uint8) - align
Line 25: Line 25:


// name list
// name list
number_of_entries *
number_of_files *
{
{
   x bytes (char) - file name
   x bytes (char) - file name
Line 31: Line 31:
}
}


// directory (12 bytes per entry)
4 bytes (uint32) - number of files
number_of_files *
{
  4 bytes (uint32) - file offset (relative)
  4 bytes (uint32) - file compressed size
  4 bytes (uint32) - file uncompressed size  // can be 0
}
// data
number_of_files *
{
  x bytes - file data
}
</pre>
</pre>
</div>
</div>
Line 37: Line 54:


* This file format occurs in games made by '''Larian Studios'''.
* This file format occurs in games made by '''Larian Studios'''.
* Files can be compressed with '''ZLIB'''.


=== Games ===  
=== Games ===  
Line 55: Line 73:




[[Category:Complete WIP|Larian Studios DV2]]
[[Category:Complete Almost Done|Larian Studios DV2]]
[[Category:Platform PC|Larian Studios DV2]]
[[Category:Platform PC|Larian Studios DV2]]
[[Category:CE None|Larian Studios DV2]]
[[Category:CE Compressed|Larian Studios DV2]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_dv2 | Extension: dv2]]
[[Category:Extension_dv2 | Extension: dv2]]
[[Category:ZLIB compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 13:56, 6 November 2022

Back to index | Edit this page

DV2

  • Format Type : Archive
  • Endian Order : Little Endian / Big Endian
  • Signature : None


Format Specifications

// DV2 file format


// header
4 bytes (uint32) - unknown (optional field) // 5
4 bytes (uint32) - unknown (optional field) // 1
4 bytes (uint32) - version  // 4
1 byte (uint8) - align
1 byte (uint8) - zip
4 bytes (uint32) - data offset
4 bytes (uint32) - name list size


// name list
number_of_files *
{
   x bytes (char) - file name
   1 byte (uint8) - null terminator
}


// directory (12 bytes per entry)
4 bytes (uint32) - number of files
number_of_files *
{
   4 bytes (uint32) - file offset (relative)
   4 bytes (uint32) - file compressed size
   4 bytes (uint32) - file uncompressed size  // can be 0

}


// data
number_of_files *
{
   x bytes - file data
}

Notes and Comments

  • This file format occurs in games made by Larian Studios.
  • Files can be compressed with ZLIB.

Games

List of games using this file format:

  • Divine Divinity 2 (*.DV2)
  • Divinity 2: Dragon Knight Saga (*.DV2)
  • Divinity II - Ego Draconis (*.DV2)

QuickBMS Scripts

Compatible Programs