An open API service indexing awesome lists of open source software.

https://github.com/assetripper/assetripper.conversions.unitycrunch


https://github.com/assetripper/assetripper.conversions.unitycrunch

Last synced: 8 months ago
JSON representation

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
```