Logo: by @otama_jacksy
v2.0.4
- Author: Baxter
- 2022/Apr/29
The VRM avatar application without any special device.
- Features
- Download
- Contact
- (For Developers) Build
- Third-Party License
- About Localization Contribution
- Load your VRM and show bust up
- Show the keyboard and mouse operation in realtime.
- Change chromakey for your casting application.
The biggest feature is NO NEED for VR devices like HTC Vive, Oculus Rift, Leap motion.
It will be helpful in the following situations.
- Casting with almost no preparation
- Tech presentation with live coding
- Desktop mascot
Run on Windows 10.
Please see Manual for the detail.
note: Contact in English or Japanese is very helpful for the author.
Put the repository on your local folder. folder path should not include space character.
Open Unity project with Unity 2020.3.x, and open WPF project with Visual Studio 2022.
Maintainer's environment is as following.
- Unity 2020.3.8f1 Personal
- Visual Studio Community 2022 17.0.0
- Component ".NET Desktop Development" is required.
- Also Component "C++ Desktop Development" is required, for Unity Burst compiler.
- FinalIK
- Dlib FaceLandmark Detector
- OpenCV for Unity
- OVRLipSync v1.28.0
- VRMLoaderUI v0.3
- Zenject (from Asset Store)
- SharpDX.DirectInput 4.2.0
- RawInput.Sharp 0.0.3
- uWindowCapture v1.0.2
- DOTween (from Asset Store)
- Fly,Baby. ver1.2
- LaserLightShader
- VMagicMirror_MotionExporter
- NuGetForUnity
Should be noted that FinalIK
, Dlib FaceLandmark Detector
, and OpenCV for Unity
are paid assets.
NuGetForUnity is necessary to import NAudio.
"Fly,Baby." and "LaserLightShader" are available on BOOTH, and they are optional. If you do not introduce them, some of typing effects will not work correctly.
Dlib FaceLandmark Detector requires dataset file to be moved into StreamingAssets
folder. Please check the file is in correct location by running Dlib FaceLandmark Detector example scenes like WebCamTexture Example
.
Install SharpDX by following steps.
- From 2 URLs get
.nupkg
file byDownload package
, and expand them as zip file. - In the expanded zip, see
lib/netstandard1.3/
to get fileSharpDX.dll
andSharpDX.DirectInput.dll
. Put these file in anywhere on the Unity project.
RawInput.Sharp can be installed with almost same work flow.
- Get
.nupkg
from NuGet gallery and expand as zip to getlib/netstandard1.1/RawInput.Sharp.dll
- Create
RawInputSharp
folder in Unity project's Assets folder, and put dll into the folder.
For OpenCVforUnity, edit DisposableOpenCVObject.cs
:
abstract public class DisposableOpenCVObject : DisposableObject
{
// internal IntPtr nativeObj;
//Change to public member
public IntPtr nativeObj;
Also there are some UPM based dependencies.
You will get compile errors for the first time. To solve this, confirm NuGetForUnity
is installed, and open NAudioLipSyncContext.cs
to uncomment #define
line at the start of the script. This will solve compile errors and NuGet download will start. After download completed, comment out the line to enable actual lipsync implementation.
//uncomment this line once, and comment out after NAudio is downloaded
#define TEMP_SUPPRESS_ERROR
Build operation is available by .cmd
files in Batches
folder.
Please see what args are supported in each files.
For Unity build, you have to prepare required assets beforehand, and note that Unity Editor version is strictly specified in build_unity.cmd
.
If you have some reason to use different version of editor, you need to modify build_unity.cmd
.
Note that, create_installer.cmd
requires Inno Setup to be installed.
# Build WPF project
build_wpf.cmd standard dev
# Build Unity project
build_unity.cmd standard dev
# Call after building WPF and Unity project to make installer
create_installer.cmd standard dev v1.2.3
# Build and create installer, with version name written in "version.txt"
job_release_instraller.cmd
Prepare output folder like Bin
. Following instruction expects the folder name is Bin
, but of course you can specify other name.
- In Unity,
- Specify
Bin
folder for the output.
- Specify
- To build WPF project, right click
VMagicMirrorConfig
project on the solution explorer and selectpublish
.- Use following profile setting as
Folder Profile
.- Configuration:
Release | x86
- Target Framework:
netcoreapp3.0
- Deployment Mode:
Self Contained
- Target Runtime:
win10-x86
- Target Location: choose somewhere on your PC folder
- Configuration:
- By the publish you will get the files at target location folder. Then, copy the files to
Bin/ConfigApp/
folder.
- Use following profile setting as
When you want to check right folder structure, please see the distributed app.
OSS license is listed in control panel GUI, and the resource text is this file.
This page is similar, but it also refers to the libraries which are used in past versions.
https://malaybaku.github.io/VMagicMirror/credit_license
Gamepad.fbx
in this repository is introduced in #616 , and the model is under Attribution 4.0 International (CC BY 4.0).
Author: Negyek
VMagicMirror applies material for visual consistency, and allow texture replacement to support visual customize.
Please check about_localization.md, when you plan to contribute by localization activity.