Skip to content

Commit 8baff78

Browse files
committed
Update README
1 parent 4b87b5e commit 8baff78

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
```

0 commit comments

Comments
 (0)