https://github.com/assetripper/assetripper.conversions.unitycrunch
https://github.com/assetripper/assetripper.conversions.unitycrunch
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/assetripper/assetripper.conversions.unitycrunch
- Owner: AssetRipper
- License: mit
- Created: 2025-09-13T07:11:41.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-17T03:23:05.000Z (9 months ago)
- Last Synced: 2025-09-17T04:10:01.204Z (9 months ago)
- Language: C#
- Homepage:
- Size: 144 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AssetRipper.Conversions.UnityCrunch
Translation of [Unity's modified crunch](https://github.com/Unity-Technologies/crunch/tree/unity) for use in C#.
## Generation
### LLVM IR
```
clang -S source.cpp -o source.ll -emit-llvm -w -g -fno-discard-value-names -fstandalone-debug
```
### C# Code
```
AssetRipper.Translation.LlvmIR.exe
source.ll
--namespace AssetRipper.Conversions.UnityCrunch
--module-name AssetRipper.Conversions.UnityCrunch
--class-name UnityCrunch
--decompile-directory
./AssetRipper.Conversions.UnityCrunch/Generated
```