Beruflich Dokumente
Kultur Dokumente
Bundle files :
Single file :
1) Start AssetsBundleExtractor, press File->Open and select the bundle file (Unity
4 and 5 are supported, 3 is not tested).
2) To extract a .assets file, select the file and press Export.
3) To import a .assets file, select the target file and press Import and then File-
>Save.
Batch of files :
1) Create a batch file. It is an UTF-8 encoded text file of which each line
specifies a file or directory to add or remove from the bundle file list.
Each line starts with + or -. Plus means that the directory or file should get
added to the list, minus means that it should get removed.
To specify if it is a file or directory, it is followed by FILE or DIR. The file or
directory path comes after a space character.
Each line can have a maximum of 510 bytes. If it is longer than that, the rest is
cut off.
An example file could look like this :
+DIR C:\Program Files (x86)\Steam\steamapps\common\7 Days to Die\Data\Bundles
-FILE C:\Program Files (x86)\Steam\steamapps\common\7 Days to
Die\Data\Bundles\TerrainTextures
First, all files in the Bundles folder are added to the list. After that, the
TerrainTextures file gets removed.
The resulting list of files is then used to perform the batch export or import.
-removetypetree removes the TypeTree of the exported .assets file so it can be used
with Grim's UAE Beta 3. If you don't want to do this, remove it from the
parameters.
This exports all .assets files in the bundle files. If the bundle file path is
"<directory>\<file name>.<extension>" or "<directory>\<file name>", the output file
path is "<directory>\<file name>_<assets name in the bundle>.assets". As an
example, the bundle file path could be "C:\folder\Bundle.unity3d" and the bundle
file could contain a file named "CAB-1234". The output file would be
"C:\folder\Bundle_CAB-1234.assets".
Assets files :
Mod installer :
Installers and installer packages can be generated from changes in bundles and
.assets files.
Do your modifications as usual and you can create a .exe installer or a package
file, for .assets in the list window's File menu and for bundles in the main
window. Enter the fields on the left side and select a base folder, which the user
will select inside the installer so it can find and modify the files.
Single changes can be removed and changes from other installer packages can be
imported, so you could for instance create an installer for bundles and .assets,
even though only one bundle can be opened at a time.
The state of an installer package can also be loaded into UABE in the Load Package
File menu option, where either one bundle file or any amount of .assets files can
be selected along with the base path.
The asset type databases are used for the tree view or dumps of assets outside of
bundle files. "classdata_0E.dat" is for Unity 5.0.Xf-releases and is mostly
compatible to newer versions. "classdata_09.dat" should be compatible with most
Unity 4.5+ releases.
Each type has fields that can contain other fields or have a value. To add a field
after the selection, press Add and leave the "Insert as child" checkbox unchecked.
To add a field as the first child of the selection, check the checkbox.
Each array field must have two child fields : int size and a data field of any
type.
A string contains an array that has char as its data type. The array always is
aligned.
"vector" is a type that contains an array.
All fields that are or contain an array have -1 as their size, which means that
they have a variable length.
Alignment means that additional bytes are read after a field to ensure the
following field's position inside the file is divisible by 4 for performance
reasons.
It is usually used if there are one or multiple 1-byte fields before a 4-byte field
(except if the length of all smaller fields is divisible by 4). The same applies to
2-byte fields.
PPtr<Type> fields (where Type can be any Object type) have a m_FileID (always int)
and a m_PathID (int for Unity 4, SInt64 for Unity 5). They point to another asset
(usually a Component type).