Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/K0lb3/UnityPy
/ functions
Functions
516 in github.com/K0lb3/UnityPy
⨍
Functions
516
◇
Types & classes
962
↓ 46 callers
Method
read_int
(self)
UnityPy/streams/EndianBinaryReader.py:105
↓ 40 callers
Method
read
(self)
UnityPy/classes/PPtr.py:36
↓ 34 callers
Method
write_int
(self, value: int)
UnityPy/streams/EndianBinaryWriter.py:60
↓ 32 callers
Method
write_u_int
(self, value: int)
UnityPy/streams/EndianBinaryWriter.py:69
↓ 28 callers
Method
read_bytes
(self, num: int)
UnityPy/streams/EndianBinaryReader.py:99
↓ 27 callers
Method
read_u_int
(self)
UnityPy/streams/EndianBinaryReader.py:114
↓ 25 callers
Method
get
(self, key, default=None)
UnityPy/files/File.py:127
↓ 22 callers
Method
as_tuple
(self)
UnityPy/helpers/UnityVersion.py:109
↓ 22 callers
Method
values
(self)
UnityPy/files/File.py:136
↓ 22 callers
Method
write
(self, header, writer: EndianBinaryWriter, data_writer: EndianBinaryWriter)
UnityPy/files/ObjectReader.py:132
↓ 21 callers
Method
read_string_to_null
(self, max_length: int = 32767)
UnityPy/streams/EndianBinaryReader.py:136
↓ 20 callers
Method
write
(self, *args)
UnityPy/streams/EndianBinaryWriter.py:41
↓ 19 callers
Method
parse_as_object
(self, node: Optional[NodeInput] = None, check_read: bool = True)
UnityPy/files/ObjectReader.py:307
↓ 19 callers
Method
read
(self, size: Optional[int] = -1, /)
UnityPy/streams/EndianBinaryReader.py:89
↓ 17 callers
Method
items
(self)
UnityPy/files/File.py:133
↓ 16 callers
Method
align_stream
(self, alignment=4)
UnityPy/streams/EndianBinaryReader.py:155
↓ 16 callers
Method
write_string_to_null
(self, value: str)
UnityPy/streams/EndianBinaryWriter.py:84
↓ 13 callers
Method
deref_parse_as_object
(self, assetsfile: Optional[SerializedFile] = None)
UnityPy/classes/PPtr.py:92
↓ 13 callers
Method
read_long
(self)
UnityPy/streams/EndianBinaryReader.py:108
↓ 12 callers
Method
load
Loads all files into the Environment.
UnityPy/environment.py:81
↓ 12 callers
Method
write_bytes
(self, value: builtins.bytes)
UnityPy/streams/EndianBinaryWriter.py:54
↓ 11 callers
Function
read_value
( node: TypeTreeNode, reader: EndianBinaryReader, config: TypeTreeConfig, )
UnityPy/helpers/TypeTreeHelper.py:182
↓ 11 callers
Method
write_long
(self, value: int)
UnityPy/streams/EndianBinaryWriter.py:63
↓ 10 callers
Method
read_array_struct
(self, param: str, length: Optional[int] = None)
UnityPy/streams/EndianBinaryReader.py:164
↓ 9 callers
Method
from_str
(cls, version: str)
UnityPy/helpers/UnityVersion.py:63
↓ 8 callers
Method
load_file
( self, file: FileSourceType, parent: Optional[Union["Environment", File]] = None,
UnityPy/environment.py:98
↓ 8 callers
Function
metaflag_is_aligned
(meta_flag: int | None)
UnityPy/helpers/TypeTreeHelper.py:364
↓ 8 callers
Method
save
( self, files: Optional[dict] = None, packer: str = "none", signature: str = "
UnityPy/files/WebFile.py:58
↓ 8 callers
Method
seek
(self, offset: int, whence: int = 0)
UnityPy/streams/EndianBinaryReader.py:213
↓ 8 callers
Function
unpack_floats
( packed: "PackedBitVector", start: int = 0, count: Optional[int] = None, shape: Optional[Tupl
UnityPy/helpers/PackedBitVector.py:68
↓ 7 callers
Method
from_list
(cls, nodes: Union[List[Dict[str, Union[str, int]]], List[TypeTreeNode]])
UnityPy/helpers/TypeTreeNode.py:157
↓ 7 callers
Method
parse_as_dict
(self, node: Optional[NodeInput] = None, check_read: bool = True)
UnityPy/files/ObjectReader.py:310
↓ 7 callers
Function
set_none_if_null_n_incref
UnityPyBoost/TypeTreeHelper.cpp:924
↓ 7 callers
Method
tell
(self)
UnityPy/streams/EndianBinaryReader.py:227
↓ 7 callers
Function
unpack_ints
( packed: "PackedBitVector", start: int = 0, count: Optional[int] = None, shape: Optional[Tupl
UnityPy/helpers/PackedBitVector.py:20
↓ 6 callers
Function
_GameObject_GetComponent
(self, type: ClassIDType)
UnityPy/classes/legacy_patch/GameObject.py:18
↓ 6 callers
Function
ceil_divide
(a: int, b: int)
UnityPy/helpers/TextureSwizzler.py:13
↓ 6 callers
Method
keys
(self)
UnityPy/files/File.py:130
↓ 6 callers
Function
read_string
(stream: BytesIO)
UnityPy/helpers/Tpk.py:434
↓ 6 callers
Method
save_fs
(self, writer: EndianBinaryWriter, data_flag: int, block_info_flag: int)
UnityPy/files/BundleFile.py:238
↓ 6 callers
Method
write_array
( self, command: Callable[[T], None], value: Sequence[T], write_length: bool =
UnityPy/streams/EndianBinaryWriter.py:99
↓ 5 callers
Function
ConvertSerializedSubPrograms
( m_SubPrograms: List[SerializedSubProgram], platforms: List[int], shaderPrograms: List[ShaderProg
UnityPy/export/ShaderConverter.py:184
↓ 5 callers
Function
decrypt_byte
UnityPyBoost/ArchiveStorageDecryptor.cpp:6
↓ 5 callers
Method
decrypt_byte
(self, view: Union[bytearray, memoryview], offset: int, index: int)
UnityPy/helpers/ArchiveStorageManager.py:109
↓ 5 callers
Method
deref
(self, assetsfile: Optional[SerializedFile] = None)
UnityPy/classes/PPtr.py:43
↓ 5 callers
Function
is_null_none_or_type
UnityPyBoost/TypeTreeHelper.cpp:933
↓ 5 callers
Function
swap_any_inplace
UnityPyBoost/swap.hpp:54
↓ 5 callers
Function
vector_list_to_tuples
( data: Union[List[Vector2f], List[Vector3f], List[Vector4f]], )
UnityPy/helpers/MeshHelper.py:38
↓ 5 callers
Method
write
(self, header: SerializedFileHeader, writer: EndianBinaryWriter)
UnityPy/files/SerializedFile.py:86
↓ 5 callers
Method
write_boolean
(self, value: bool)
UnityPy/streams/EndianBinaryWriter.py:81
↓ 4 callers
Method
_get_typetree_node
( self, node: Optional[NodeInput] = None, )
UnityPy/files/ObjectReader.py:282
↓ 4 callers
Function
_test_read_typetree
(node: TypeTreeNode, data: bytes, as_dict: bool)
tests/test_typetree.py:127
↓ 4 callers
Function
generate_dummy_node
(typ: str, name: str = "")
tests/test_typetree.py:45
↓ 4 callers
Function
get_resource_data
(res_path: str, assets_file: "SerializedFile", offset: int, size: int)
UnityPy/helpers/ResourceReader.py:10
↓ 4 callers
Function
lists_to_tuples
(data: List[list])
UnityPy/helpers/MeshHelper.py:55
↓ 4 callers
Method
name
(self)
UnityPy/files/SerializedFile.py:72
↓ 4 callers
Method
read_boolean
(self)
UnityPy/streams/EndianBinaryReader.py:126
↓ 4 callers
Method
read_typetree
( self, nodes: Optional[NodeInput] = None, wrap: bool = False, check_read: boo
UnityPy/files/ObjectReader.py:241
↓ 4 callers
Function
simplify_name
Simplifies a name by: - removing the extension - removing the path - converting to lowercase
UnityPy/environment.py:344
↓ 4 callers
Function
write_typetree
Writes the typetree of the object contained in the reader via the node list. Parameters ---------- value: dict | objects.Object T
UnityPy/helpers/TypeTreeHelper.py:161
↓ 4 callers
Function
zeros
(m: int, n: int)
UnityPy/helpers/MeshHelper.py:59
↓ 3 callers
Method
__eq__
(self, other: Union[int, UnityVersion, Tuple[int, ...]])
UnityPy/helpers/UnityVersion.py:112
↓ 3 callers
Method
__init__
(self, item, endian: Endianess = ">", offset: int = 0)
UnityPy/streams/EndianBinaryReader.py:65
↓ 3 callers
Method
_load_split_file
(self, basename: str)
UnityPy/environment.py:87
↓ 3 callers
Function
align4
UnityPyBoost/TypeTreeHelper.cpp:67
↓ 3 callers
Method
align_stream
(self, alignment: int = 4)
UnityPy/streams/EndianBinaryWriter.py:94
↓ 3 callers
Function
clt
(color)
UnityPy/export/MeshRendererExporter.py:109
↓ 3 callers
Method
copy
(self)
UnityPy/helpers/TypeTreeHelper.py:84
↓ 3 callers
Function
decrypt_key
(key: bytes, data: bytes, keybytes: bytes)
UnityPy/helpers/ArchiveStorageManager.py:33
↓ 3 callers
Function
export_obj
Exports the given object to the given filepath. Args: obj (Object, PPtr): A valid Unity object or a reference to one. fp (Path):
UnityPy/tools/extractor.py:25
↓ 3 callers
Function
get_annotation_keys
(clz)
UnityPy/helpers/TypeTreeHelper.py:115
↓ 3 callers
Method
get_cab
Returns the cab file with the given name. Parameters ---------- name : str The name of the cab file.
UnityPy/environment.py:253
↓ 3 callers
Method
get_channel_component_size
(self, m_Channel: ChannelInfo)
UnityPy/helpers/MeshHelper.py:464
↓ 3 callers
Function
get_entry
(array: Union[List[T], List[List[T]]], index: int)
UnityPy/export/ShaderConverter.py:64
↓ 3 callers
Function
get_image_from_texture2d
Converts the given Texture2D object to PIL Image.
UnityPy/export/Texture2DConverter.py:237
↓ 3 callers
Method
get_raw_data
(self)
UnityPy/files/ObjectReader.py:275
↓ 3 callers
Function
get_ref_type_node
(ref_object: dict, assetfile: SerializedFile)
UnityPy/helpers/TypeTreeHelper.py:88
↓ 3 callers
Method
get_triangles
(self)
UnityPy/helpers/MeshHelper.py:630
↓ 3 callers
Function
get_typetree_node
(class_id: int, version: UnityVersion)
UnityPy/helpers/Tpk.py:31
↓ 3 callers
Method
items
(self)
UnityPy/helpers/ContainerHelper.py:27
↓ 3 callers
Method
keys
(self)
UnityPy/helpers/ContainerHelper.py:30
↓ 3 callers
Function
properties_to_dict
(properties)
UnityPy/export/MeshRendererExporter.py:112
↓ 3 callers
Method
read_aligned_string
(self)
UnityPy/streams/EndianBinaryReader.py:146
↓ 3 callers
Method
read_u_short
(self)
UnityPy/streams/EndianBinaryReader.py:111
↓ 3 callers
Method
reset
(self)
UnityPy/files/ObjectReader.py:211
↓ 3 callers
Method
to_dict
(self)
UnityPy/helpers/TypeTreeNode.py:290
↓ 3 callers
Method
write_u_short
(self, value: int)
UnityPy/streams/EndianBinaryWriter.py:66
↓ 2 callers
Function
ConvertSerializedTagMap
(m_Tags: SerializedTagMap, intent: int)
UnityPy/export/ShaderConverter.py:301
↓ 2 callers
Method
Export
(self, shader: str)
UnityPy/export/ShaderConverter.py:561
↓ 2 callers
Method
ToBlob
(self, stream)
UnityPy/helpers/Tpk.py:102
↓ 2 callers
Method
__init__
(self, message, nodes)
UnityPy/exceptions.py:2
↓ 2 callers
Function
_get_blob_node_struct
(endian: str, version: int)
UnityPy/helpers/TypeTreeNode.py:331
↓ 2 callers
Function
check_file_type
( input_: FileSourceType, )
UnityPy/helpers/ImportHelper.py:44
↓ 2 callers
Function
clean_name
(name: str)
UnityPy/helpers/TypeTreeNode.py:350
↓ 2 callers
Method
decompress_data
Parameters ---------- compressed_data : bytes The compressed data. uncompressed_size : int Th
UnityPy/files/BundleFile.py:489
↓ 2 callers
Function
decompress_lzma
decompresses lzma-compressed data :param data: compressed data :type data: ByteString :raises _lzma.LZMAError: Compressed data ended befo
UnityPy/helpers/CompressionHelper.py:17
↓ 2 callers
Function
defaulted_export_index
(type: ClassIDType)
UnityPy/tools/extractor.py:111
↓ 2 callers
Method
deref_parse_as_dict
(self, assetsfile: Optional[SerializedFile] = None)
UnityPy/classes/PPtr.py:95
↓ 2 callers
Method
dispose
(self)
UnityPy/streams/EndianBinaryWriter.py:38
↓ 2 callers
Function
export_mesh_obj
(mesh: Mesh, material_names: Optional[List[str]] = None)
UnityPy/export/MeshExporter.py:17
next →
1–100 of 516, ranked by callers