1
0
mirror of https://github.com/xiaopeng12138/MaiDXR.git synced 2024-11-28 04:50:48 +01:00
MaiDXR/README.md

89 lines
3.3 KiB
Markdown
Raw Normal View History

2022-01-05 19:32:56 +01:00
# MaiDXR
2022-01-09 03:43:57 +01:00
Open Source VR Arcade Simulator
2022-01-05 20:09:02 +01:00
2022-02-01 18:26:02 +01:00
## About this project
- This project is an update of https://github.com/xiaopeng12138/MaiMai-VR.
2022-03-08 01:00:38 +01:00
- Support DX version or above
- The model is almost 1:1 to DX cabinet/framework
- Native touch input and light outupt
- 90hz or 120hz capture (Bitblt) (Thanks Thalesalex for the recommendation)
- Customizable haptic feedback
- 3rd person camera and smooth camera
- 4 customizable buttons (+ 1 select button)
- only 1 player
2022-01-05 20:09:02 +01:00
## Inspired by
2022-01-05 20:43:34 +01:00
- https://github.com/derole1/MaiMai-VR
- https://github.com/HelloKS/MaiMai-VR
2022-01-05 20:09:02 +01:00
## Used repository
2022-01-05 20:43:34 +01:00
- https://github.com/HelloKS/MaiMai-VR
- https://github.com/hecomi/uWindowCapture
- https://github.com/Sucareto/Mai2Touch
2022-01-05 20:09:02 +01:00
2022-02-26 21:39:20 +01:00
## Requirements
2022-02-27 14:08:13 +01:00
- https://www.nuget.org/packages/InputSimulator
- https://github.com/hecomi/uWindowCapture
2022-02-26 21:39:20 +01:00
2022-02-01 18:26:02 +01:00
## Supported platform
2022-01-25 00:13:28 +01:00
- All SteamVR device
- All Oculus device
2022-03-04 21:34:27 +01:00
- Tested on Quest 2 through Oculus link (Native and via SteamVR) and ALVR (via SteamVR). The Hand Balls position is by default adjusted for the Quest 2 controller.
2022-01-05 20:09:02 +01:00
## Declaimer
2022-01-05 20:44:58 +01:00
- This project is non-profit and some resources came from Internet!
2022-01-29 18:30:21 +01:00
- Although this is under the MIT license, do not use this in commercial/profitable scenarios!
2022-01-05 20:44:58 +01:00
- Please support your local arcade if you can!
2022-01-05 20:09:02 +01:00
2022-01-19 23:48:58 +01:00
## Changelog
2022-01-05 20:09:02 +01:00
Please see Changes.md
2022-01-19 23:48:58 +01:00
## How to use
2022-01-05 20:09:02 +01:00
- Download [latest version of MaiDXR](https://github.com/xiaopeng12138/MaiDXR/releases)
- Download and install [com0com](https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/powersdr-iq/setup_com0com_W7_x64_signed.exe)
2022-02-01 18:26:02 +01:00
- Configure com0com to bind COM3 and COM5 (it must be these two ports), COM4 and COM6 is optional (bind them will make your startup process faster).
- Disable somehow DummyTouchPanel.
2022-02-27 14:04:51 +01:00
- If you need button light, pls bind COM21 to COM51 (it must be these two ports)(Do not disable DummyLED!).
2022-03-04 21:38:18 +01:00
- Run the game in window mode and make sure there is no black bar. Recommend setting for 1080p display: "xxxxxx.exe -screen-fullscreen 0 -screen-width 1170 -screen-height 1050"
2022-02-01 18:26:02 +01:00
- Start MaiDXR.
2022-01-05 20:09:02 +01:00
- Enable somehow Test mod then exit Test mode.
2022-01-26 00:17:26 +01:00
## Configuration
2022-02-01 18:26:02 +01:00
In MaiDXR window press "M" on the keyboard to toggle local motion on-off.
Edit Settings.json file under the root directory. Press F5 in the MaiDXR window or defocus then focus window again to update settings.
2022-01-26 00:17:26 +01:00
2022-01-26 00:17:51 +01:00
HandSize, HandPosition, PlayerHigh: in CM
2022-01-26 00:17:26 +01:00
CaptureFrameRate, TouchRefreshRate: in FPS
CameraSmooth: 0.0 - 1.0, 1.0 = no smoothing
2022-02-01 18:26:02 +01:00
CameraFOV: in degree
2022-03-04 21:28:25 +01:00
CameraPosition: in M
To enable 3rd person mod: set CameraSmooth to 0 then move your headset to where your camera wants to be. Then focus/select MaiDXR window to lock position. You can show your head by enabling the setting below.
ShowHeadCube: true or false
2022-01-26 00:17:26 +01:00
HapticDuration: in second
HapticAmplitude: 0.0 - 1.0, 1.0 = max vibration
2022-03-04 21:48:37 +01:00
SelectButton and Button(1-4: top to bottom): Pls see [VK Code](https://docs.microsoft.com/windows/win32/inputdev/virtual-key-codes). Some keys do not require "VK_" at the beginning.
2022-02-17 00:35:29 +01:00
2022-01-26 20:25:08 +01:00
## Preview
![Image Capture](https://github.com/xiaopeng12138/MaiDXR/blob/main/PreviewImage/MaiDXR_PreviewImage.png?raw=true)
2022-02-01 18:26:02 +01:00
## ToDo
2022-01-26 00:28:06 +01:00
- √ Add user-adjustable settings (controller position etc.)
2022-01-19 15:05:10 +01:00
- √ Add non-VR window and camera smooth
2022-02-17 00:35:29 +01:00
- √ Add button light
2022-02-04 15:50:57 +01:00
- √ Add button vibration
2022-03-04 21:28:25 +01:00
- √ Add 3rd person camera
2022-02-04 15:50:57 +01:00
- Add 2p
2022-02-17 00:35:29 +01:00
- √ Add custom button
2022-01-05 20:09:02 +01:00
2022-02-04 15:50:57 +01:00
Huge thanks to HelloKS and derole1