Skip to content

thojmr/KK_VREnhancement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

All features are now integrated into KK_MainGameVR and KKS_VR, I recommend installing one those plugins for VR gameplay. I will leave this repo here for archival purposes.

KKS_VR

KK_MainGameVR





This repository contains the KK_VREnhancement plugin, that adds a few enhancements for VR in story mode. Requires MainGameVR OR KoikatuVR.

Probably not going to add any more features here, MainGameVR has fixed most of the TODO items I had on my list.

Features

  • Adds colliders to the VR controllers so you can use your hands for more than just menus. Go forth and Boop!

How to download

You can grab the first plugin release here, or build it yourself. Explained further below.

How to install

Almost all plugins are installed in the same way. If there are any extra steps needed they will be added to the plugin descriptions below.

  1. Make sure you have at least BepInEx 5.1 and latest BepisPlugins and KKAPI.
  2. Download the latest release of the plugin you want.
  3. Extract the archive into your game directory. The plugin .dll should end up inside your BepInEx\plugins directory.
  4. Check if there are no warnings on game startup, if the plugin has settings it should appear in plugin settings.

Compiling with Visual Studio 2019 (The official way)

Simply clone this repository to your drive and use the free version of Visual Studio 2019 for C# to compile it. Hit build and all necessary dependencies should be automatically downloaded. Check the following links for useful tutorials. If you are having trouble or want to try to make your own plugin/mod, feel free to ask for help in modding channels of either the Koikatsu or IllusionSoft Discord servers.

Compiling with Visual Studio Code (Not the suggested way, but my way)

Simply clone this repository to your drive and use Visual Studio Code.
Install the C# extension for VSCode. Make sure the following directory exists C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/msbuild.exe. If not you will need to install the VS2019 MS build tools (There may be other ways to build, but this is the one that eventually worked for me) Install nuget.exe and set the environment path to it. Then use nuget install -OutputDirectory ../packages to install the dependancies from the \KK_VREnhancement\ directory.
You also need a non nuget package VRGIN.dll that should already be in your /bepinex/ directory. Just copy it into ./packages/ Finally create a build script with tasks.json in VSCode. Example build task:

{
    "label": "build-KK_VREnhancement",
    "command": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/msbuild.exe",
    "type": "process",
    "args": [
        "${workspaceFolder}/KK_VREnhancement/KK_VREnhancement.csproj",
        "/property:GenerateFullPaths=true",
        "/consoleloggerparameters:NoSummary"
    ],
    "presentation": {
        "reveal": "silent"
    },
    "problemMatcher": "$msCompile",
},
{
    "label": "build-and-copy",
    "type": "shell",
    "command": "cp ./bin/KK_VREnhancement.dll '<KK_Install_DIR>/BepInEx/plugins/'",
    "dependsOn": "build-KK_VREnhancement",
    "group": {
        "kind": "build",
        "isDefault": true
    },
    "presentation": {
        "echo": true,
        "reveal": "silent",
        "focus": false,
        "panel": "shared",
        "showReuseMessage": true,
        "clear": false
    }
}

If sucessfull you should see a KK_VREnhancement.dll file in \bin\