-
-
Notifications
You must be signed in to change notification settings - Fork 185
Expand file tree
/
Copy pathBundleFile.py
More file actions
26 lines (20 loc) · 617 Bytes
/
BundleFile.py
File metadata and controls
26 lines (20 loc) · 617 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from enum import IntFlag
class CompressionFlags(IntFlag):
NONE = 0
LZMA = 1
LZ4 = 2
LZ4HC = 3
LZHAM = 4
class ArchiveFlagsOld(IntFlag):
CompressionTypeMask = 0x3F
BlocksAndDirectoryInfoCombined = 0x40
BlocksInfoAtTheEnd = 0x80
OldWebPluginCompatibility = 0x100
UsesAssetBundleEncryption = 0x200
class ArchiveFlags(IntFlag):
CompressionTypeMask = 0x3F
BlocksAndDirectoryInfoCombined = 0x40
BlocksInfoAtTheEnd = 0x80
OldWebPluginCompatibility = 0x100
BlockInfoNeedPaddingAtStart = 0x200
UsesAssetBundleEncryption = 0x1400 # old: 0x400, new: 0x1000