This cleans up Unity projects exported with AssetRipper in order to fix errors and make them usable for asset creation.
- This program is absolute spaghetti and i did not intend for anyone else to use it but it may help someone?
- This was written for lethal company modding
- Only tested on projects exported with AssetRipper 0.3.4.0
- Requires .net framework 8.0.0 installed
- Download the latest release from Releases
- Extract in any location
You will need go through both sections listed here.
- Install AssetRipper
- Run AssetRipper and select the following settings:
- Script Export Format: Hybrid
- Script Content Level: Level 1
- Click File -> Open Folder -> Select the "Lethal Company_Data" folder in your Game Folder.
- After it is done loading game content, click Export -> Export All Files, and select a location.
- Install Unity Hub
- Open Unity Hub, and click on the "Installs" tab
- If 2022.3.9f1 is already installed, skip to step 7
- Click the Install Editor button
- Go to the Archive tab, and click the "download archive" link
- Find Unity 2022.3.9 and click the Unity Hub button next to it.
- Go through the installation process.
- Switch to the "Projects" tab
- Click New Project, and select "3D (HDRP)"
- You can name your project anything and select any location.
- Then click Create Project
- After unity finishes loading, continue to the next section.
- Run LethalCompanyProjectCleaner.exe
- It will ask you to enter exported project folder
- This is the AssetRipper exported project, it will be
Path/To/ExportFolder/Lethal Company/ExportedProject
- This is the AssetRipper exported project, it will be
- After you press enter it will ask for your new Unity project.
- This is the path of the Unity HDRP project you created earlier.
- Once you press enter it will process and move the game scripts/assemblies to your new unity project, and set up required packages, along with layers/tags.
- You can now go back to your created unity project and use game components and such to make custom assets.