https://github.com/std-microblock/cvruimodloader
A tempory loader for UI Mods of ChilloutVR
https://github.com/std-microblock/cvruimodloader
Last synced: 10 months ago
JSON representation
A tempory loader for UI Mods of ChilloutVR
- Host: GitHub
- URL: https://github.com/std-microblock/cvruimodloader
- Owner: std-microblock
- License: gpl-3.0
- Created: 2022-07-31T09:15:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-04T05:52:19.000Z (over 3 years ago)
- Last Synced: 2025-03-23T00:31:55.901Z (10 months ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CVRUIModLoader
A tempory loader for UI Mods of ChilloutVR
ChilloutVR UI Mods 的加载器
[Mod List | Mod列表](https://github.com/MicroCBer/CVRUIMods)


# Usage
First, install [MelonLoader](https://melonwiki.xyz/)
You can either use [CVRMelonAssistant](https://github.com/knah/CVRMelonAssistant/releases/latest/download/CVRMelonAssistant.exe) to install it or use ways mentioned in [MelonLoader Wiki](https://melonwiki.xyz/#/?id=automated-installation)
Then, download the .dll file of CVRUIModLoader, put it in the `ChilloutVR\Mods` folder
Put the ui mods you want to install to the `ChilloutVR\UIMods` folder:

Restart the game and enjoy!
# Develop
> Tip: You can open the tiny debugger of CVRUIModLoader by clicking rapidly for several times
Every mod is a folder in `ChilloutVR\ChilloutVR_Data\StreamingAssets\Cohtml\UIResources\UIMods`
To create a mod, you need to create a folder there and add the name of your folder to `ChilloutVR\ChilloutVR_Data\StreamingAssets\Cohtml\UIResources\UIMods\mods.json`
The next step is to create `mod.json` inside the folder.
The main file of a UI Mod is the json, here's an example of it.
```json
{
"name":"CyanTheme",
"version":"0.1.0",
"author":"MicroBlock",
"injects":{
"MainMenu":{
"files":["mainmenu.css","mainmenu.js"],
"liveReload":false
}
}
}
```
It defines the version, name, author and injects of the mod.
The key of `injects` defines where to inject the files.(Now supported: `MainMenu`)
The value of `injects` defines the files to inject and whether live reload or not.
The method to inject depends on the suffix of the file.(Now supported `.js`,`.css`)