Unity Unity3d UnityFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 85: Line 85:




[[Category:Complete WIP|Unity Unity3d UnityFS]]
[[Category:Complete Complete|Unity Unity3d UnityFS]]
[[Category:Platform PC|Unity Unity3d UnityFS]]
[[Category:Platform PC|Unity Unity3d UnityFS]]
[[Category:Platform Android|Unity Unity3d UnityFS]]
[[Category:Platform Android|Unity Unity3d UnityFS]]

Revision as of 11:35, 25 July 2021

Back to index | Edit this page

Unity3d

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


Format Specifications

// Unity3d file format

// header
8 bytes (char) - signature + null // "UnityFS"
4 bytes (uint32) - version  // 6
6 bytes (char) - minimum player version + null  // e.g. "5.x.x."
12 bytes (char) - file engine version + null // e.g. "2018.4.24f1."
8 bytes (uint64) - archive size
4 bytes (uint32) - compressed "info block" data size
4 bytes (uint32) - uncompressed "info block" data size
4 bytes (uint32) - flags


// info block
// Note: this section may be compressed with LZ4
{
   // blocks info
   16 bytes - hash
   4 bytes (uint32) - number of blocks  
   num_of_blocks *
   {
      4 bytes (uint32) - uncompressed block size
      4 bytes (uint32) - compressed block size
      2 bytes (uint16) - flags
   }

   // paths info
   4 bytes (uint32) - number of paths
   num_of_paths *
   {
      8 bytes (uint64) - path location
      8 bytes (uint64) - size of the uncompressed data
      4 bytes (uint32) - flags  // 0x04 - serialized file
      37 bytes (char) - filepath  // e.g. "CAB-c0f952eacf35e09957047188fc534360"
   }
}

   
// data
num_of_files *
{
   x bytes - file data  // may be compressed with LZ4
}  

MultiEx BMS Script

Not written yet.

quickBMS Script

Notes and Comments

  • UnityFS is a new asset bundle format introduced in Unity 5 Engine.
  • Files inside archive may be compressed with LZ4 compression method.

Games

List of games using this file format:

  • Shadowverse (Android) (*.unity3d)

Compatible Programs

See Also