Installation
This document was translated from Chinese by an LLM.
This section describes how to install this project.
- We use uv for Python project management, so before installing this decompiler, please follow the uv official guide to install uv
-
Install this project as a tool
uv tool install git+https://github.com/paran3xus/udon-decompiler.gituv tool install git+https://github.com/paran3xus/udon-decompiler.git
More specifically, to make decompilation work, you also need UdonModuleInfo.jsonUdonModuleInfo.json. It contains information about all C# functions that Udon programs can call. Due to the VRChat SDK 许可证 restrictions, we cannot distribute this file in the repository.
You can get this file from other sources, but since later steps reuse the project created here, we recommend generating it yourself with the following steps.
- Follow the VRChat creator documentation guide to create a Unity project with both VRChat Base SDK and VRChat World SDK installed
- Use VCC to ensure both SDK packages above are upgraded to the latest versions
- Create an
Assets/EditorAssets/Editordirectory in that project and copy all editor scripts from this project here into that directory - In Unity’s top menu bar, click
Tools/Extract Udon Module InfoTools/Extract Udon Module Info -
The console should show logs like (numbers may differ)
Registry lookup built with 34756 entries.Module info saved to: Assets/UdonModuleInfo.jsonTotal modules extracted: 772Registry lookup built with 34756 entries.Module info saved to: Assets/UdonModuleInfo.jsonTotal modules extracted: 772Then you can find
UdonModuleInfo.jsonUdonModuleInfo.jsonin the shown directory