kafeijao / Astro_CVR_Mods

Collection of mods for ChilloutVR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Astro's ChilloutVR Mods

A collection of small, random mods made by AstroDoge.


ScrollZoom

A rather simple mod to control zoom level on desktop using the scroll wheel!

Additional options include switching from 'hold' to 'toggle' for zooming, the maximum zoom distance and amount of zoom per wheel turn. Current zoom level is passed to CVR's parameter stream as Zoom Factor - so could be used to drive animations via Motion Time!


TurnKeys

A super niche mod to turn using the keyboard in desktop mode.

You can now turn using Q/E without needing to touch the mouse and... that's all!


Building

In order to build this project follow the instructions (thanks @Daky & @kafeijao!):

  • (1) Install NStrip.exe from https://github.com/BepInEx/NStrip into this directory (or into your PATH). This tools converts all assembly symbols to public ones! If you don't strip the dlls, you won't be able to compile some mods.
  • (2) Follow the instructions below to Set CVR Folder Environment Variable
  • (3) Run copy_and_nstrip_dll.ps1 on the Power Shell. This will copy the required CVR, MelonLoader, and Mod DLLs into this project's /ManagedLibs. Note if some of the required mods are not found, it will display the url from the CVR Modding Group API so you can download.

Set CVR Folder Environment Variable

To build the project you need CVRPATH to be set to your ChilloutVR Folder, so we get the path to grab the libraries we need to compile. By running the copy_and_nstrip_dll.ps1 script that env variable is set automatically, but only works if the ChilloutVR folder is at the location D:\SteamLibrary\steamapps\common\ChilloutVR.

Otherwise you need to set the CVRPATH env variable yourself, you can do that by either updating the default path in the copy_and_nstrip_dll.ps1 and then run it, or manually set it via the windows menus.

Setup via editing copy_and_nstrip_dll.ps1

Edit copy_and_nstrip_dll.ps1 and look the line bellow, and then replace the Path with your actual path.

$cvrDefaultPath = "D:\SteamLibrary\steamapps\common\ChilloutVR"

Now you're all set and you can go to the step (3) of the Building instructions!

Setup via Windows menus

In Windows Start Menu, search for Edit environment variables for your account, and click New on the top panel. Now you input CVRPATH for the Variable name, and the location of your ChilloutVR folder as the Variable value

By default this value would be C:\Program Files (x86)\Steam\steamapps\common\ChilloutVR. Make sure it points to the folder where your ChilloutVR.exe is located.

Now you're all set and you can go to the step (3) of the Building instructions! If you already had a power shell window opened, you need to close and open again, so it refreshes the Environment Variables.


Disclosure


⚠️ Notice!

This mod's developer(s) and the mods themselves, along with the respective mod loaders, have no affiliation with ABI!


About

Collection of mods for ChilloutVR

License:GNU General Public License v3.0


Languages

Language:C# 62.4%Language:PowerShell 37.6%