Unity Unity3d UnityFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
(No difference)

Revision as of 10:42, 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 "blocks info" data size
4 bytes (uint32) - uncompressed "blocks info" data size
4 bytes (uint32) - flags


// info block (optional)
// 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
}  

MultiEx BMS Script

Not written yet.

Notes and Comments

  • UnityFS is a new asset bundle format introduced in Unity 5 Engine.

Games

List of games using this file format:

  • Shadowverse (Android) (*.unity3d)

Compatible Programs