Skip to content

a BepInEx plugin for Tokyo Chronos enhancing the mirror view of the game.

License

Notifications You must be signed in to change notification settings

Erinaaaaaaa/BetterTcMirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BetterTcMirror

A simple mod to provide a better mirror view for the VR visual novel Tokyo Chronos.

Using

Requirements

  • One of these Tokyo Chronos versions
    • Steam version 1.0.4
    • Demo version (SteamVR)
  • BepInEx 5.4.11

Screenshots

Before

Before the mod was installed. Field of view is narrow, the main menu is cut by the window border.

After (FOV: 69°)

After the mod was installed. Field of view is wide, the main menu is not cut in any way.

Installation

  1. Install BepInEx to Tokyo Chronos
  2. Move BetterTcMirror.dll to TOKYO CHRONOS\BepInEx\plugins\BetterTcMirror\BetterTcMirror.dll (Subfolders are not required but recommended.)
  3. Start the game!

Configuration

A configuration file will be created at TOKYO CHRONOS\BepInEx\config\com.aarcnoa.tc.bettermirror.cfg

Available options:

  • FieldOfView - vertical field of view of the mirror camera.

    • Type: float
    • Default value: 70°
    • Recommended range: 50-90°
  • CameraOffset - how much to offset the camera for better view of close objects

    • Type: Vector3
    • Default value: { "x": 0.0, "y": 0.0, "z": 0.0 }
    • Recommended: not changing from default, actually

Known issues

Recentering while looking around 90° to the side shows behind the dark fade

This is linked to the way I currently update the Canvases that handle the fades. The render mode MyDearest used is ScreenSpaceCamera, which is the right choice given that the canvas gets "stuck" to the camera. However, this has additional side effect of only being rendered to one camera, meaning that if I were to stick to one Canvas using ScreenSpaceCamera, either the VR player or the mirror would see the fades, but not both. This is also an issue while regularly moving the head around, but the canvas has been scaled up to compensate for regular head movement.

To work around this issue, I set the canvas to render in WorldSpace, then move the canvas in front of the camera on each Update. Unfortunately, it seems that there's a delay of one (1) singular frame in doing so, and therefore what's behind the fade screen becomes visible for a single frame.

Build

Requirements

  • Tokyo Chronos (Steam, v1.0.4) with BepInEx 5.4.11
  • .NET Framework SDK that can target 3.5
  • Build Tools for Visual Studio

Instructions

Next to BetterTcMirror\BetterTcMirror.csproj, create BetterTcMirror.csproj.user and paste this content:

<Project>
  <PropertyGroup>
    <TCDir>C:\Program Files (x86)\Steam\steamapps\common\TOKYO CHRONOS</TCDir>
  </PropertyGroup>
</Project>

Replace the path in with the path to your game installation.

License

The source code in this repository is provided under the MIT License. See details in LICENSE.

Additionally, this project reuses code from:

  • CameraPlus by xyonico, used under the MIT license

About

a BepInEx plugin for Tokyo Chronos enhancing the mirror view of the game.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages