{"id":15442916,"url":"https://github.com/jrobinson3k1/typetree_unity","last_synced_at":"2025-04-19T20:13:33.854Z","repository":{"id":45193083,"uuid":"441360204","full_name":"jrobinson3k1/typetree_unity","owner":"jrobinson3k1","description":"Type tree generator for Unity assemblies","archived":false,"fork":false,"pushed_at":"2022-01-03T08:15:08.000Z","size":1396,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T13:16:51.459Z","etag":null,"topics":["data-mining","python","python-3","pythonnet","unity"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrobinson3k1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-24T03:56:56.000Z","updated_at":"2022-10-11T08:27:41.000Z","dependencies_parsed_at":"2022-08-30T08:31:00.101Z","dependency_job_id":null,"html_url":"https://github.com/jrobinson3k1/typetree_unity","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobinson3k1%2Ftypetree_unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobinson3k1%2Ftypetree_unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobinson3k1%2Ftypetree_unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobinson3k1%2Ftypetree_unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrobinson3k1","download_url":"https://codeload.github.com/jrobinson3k1/typetree_unity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249788906,"owners_count":21325773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-mining","python","python-3","pythonnet","unity"],"created_at":"2024-10-01T19:31:34.078Z","updated_at":"2025-04-19T20:13:33.822Z","avatar_url":"https://github.com/jrobinson3k1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# typetree_unity\n[![PyPI](https://img.shields.io/pypi/v/typetree-unity)](https://pypi.org/project/typetree-unity/)\n[![Lint](https://github.com/jrobinson3k1/typetree_unity/actions/workflows/lint.yml/badge.svg)](https://github.com/jrobinson3k1/typetree_unity/actions/workflows/lint.yml)\n[![MIT](https://img.shields.io/pypi/l/UnityPy.svg)](https://github.com/jrobinson3k1/typetree_unity/blob/master/LICENSE)\n\nA standalone type tree generator for Unity assemblies.\n\nBetter README coming in the future. Still in early development. Things will be changing rapidly.\n\nUltimate goal of this project is to provide lighter weight and more easily accessible options for data mining Unity games, and provide outputs in easily transportable formats.\n\nThere are two required parameters to generate a type tree:\n- Unity build version\n- Game assembly files built with Mono\n\n### Unity build version\nThe quickest way to determine which version of Unity a game is built against is to open one of the `.assets` files in the game's directory (typically located at `[game_root]/[game]_Data/`) in Notepad (pick a small assets file, any will work). One of the first ASCII text will be the version (ex. 2019.4.23f1). For a scripted approach, see [UnityVersionFinderPy](https://github.com/jrobinson3k1/UnityVersionFinderPy).\n\n### Game assembly files built with Mono\nTo determine if a game is already built with Mono, look in the game directory for a `Assembly-CSharp.dll` file (typically located at `[game_root]/[game]_Data/Managed`). If it does, then the game's assembly files were built with Mono.\n\nIf that's not the case, the game was likely built with il2cpp (will instead have a `GameAssembly.dll` file). To convert from il2cpp to Mono format, see [Il2CppDumper](https://github.com/Perfare/Il2CppDumper).\n\n## Install:\n`pip install typtree_unity`\n\n## CLI Usage:\n```\nusage: python -m typetree_unity [-h] [-c [...]] [-d] [-n] [-o] [-v] assembly_folder unity_version\n\nGenerates type trees from Unity assemblies and outputs in JSON format.\n\npositional arguments:\n  assembly_folder       folder containing assemblies (game's DLL files)\n  unity_version         Unity build version\n\noptions:\n  -h, --help            show this help message and exit\n  -c [ ...], --classes [ ...]\n                        classes to dump for the type tree (all if unspecified). Automatically dumps class dependencies.\n  -d, --debug           enable debug output\n  -n, --namesonly       only output class names (will output as classnames.json if output is not specified)\n  -o, --output         type tree output file (default: [script_directory]\\output\\typetree.json). Supports relative paths.\n  -v, --version         version of this package\n```\n\n## Library Usage:\nSee `typetree_unity/__main__.py` for example usage of the `typetree_unity` module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrobinson3k1%2Ftypetree_unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrobinson3k1%2Ftypetree_unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrobinson3k1%2Ftypetree_unity/lists"}