File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ pip install UnityPyTypetreeCodegen
1717### Generating code
1818- You can generate code from a TypeTree JSON dump generated with https://github.com/K0lb3/TypeTreeGenerator
1919``` bash
20- UnityPyTypetreeCodegen --json " path_to_typetree_json_dump" --output " generated_moudle_path "
20+ UnityPyTypetreeCodegen --json " path_to_typetree_json_dump" --output " generated_module_path "
2121```
22- - Or dump the TypeTree using https://github.com/UnityPy-Org/TypeTreeGeneratorAPI automatically (WIP )
22+ - Or dump the TypeTree from ourselves from Unity assemblies (mono dlls )
2323``` bash
24- UnityPyTypetreeCodegen --files " path_to_Assembly-CSharp_and_other_mono_dlls" --output " generated_moudle_path"
24+ UnityPyTypetreeCodegen --asm-dir " path/to/Managed/DLLs" --output " generated_module_path"
25+ # or with IL2CPP
26+ UnityPyTypetreeCodegen --il2cpp " path/to/il2cpp.so" --metadata " path/to/global-metadata.dat" --output " generated_module_path"
2527```
2628- The emitted module will be structured like this
2729```
You can’t perform that action at this time.
0 commit comments