1
0
mirror of synced 2024-11-12 01:00:52 +01:00
WACVR/README.md

101 lines
5.1 KiB
Markdown
Raw Permalink Normal View History

2022-10-09 05:15:32 +02:00
<div align="center">
<br/>
<p>
<img src="https://github.com/xiaopeng12138/WACVR/blob/main/PreviewImages/WACVR-LOGO.png?raw=true" width="546" />
</p>
<br/>
<p>
<h2><i>
an open source vr arcade simulator
</i></h2>
</p>
<p>
<a href="https://discord.gg/4aFV5QJWN5"><img src="https://img.shields.io/discord/1028269444780261436?color=5865F2&logo=discord&logoColor=white" alt="Discord server"/></a>
<a href="https://github.com/xiaopeng12138/WACVR/actions"><img src="https://github.com/xiaopeng12138/WACVR/actions/workflows/build.yml/badge.svg" alt="Build status"/></a>
</div>
## Preview
<img src="https://github.com/xiaopeng12138/WACVR/blob/main/PreviewImages/Preview.png?raw=true" width="350" />
## About this project
- Model is almost 1:1 to physical cabinet
2022-10-08 00:05:47 +02:00
- Supports every game version
- Supports native touch input via serial (com0com required)
- Supports lights/LEDs (via hook)
2022-10-07 19:08:19 +02:00
- Customizable haptic feedback
- 4 customizable buttons
2022-10-09 05:15:32 +02:00
- 3rd person and smoothed 1st person cameras
- LIV avatars/mixed reality
2022-03-08 01:17:33 +01:00
2022-10-09 05:15:32 +02:00
## Supported platforms
2022-10-09 05:18:22 +02:00
- All SteamVR devices (Index, HTC, Oculus, etc.)
2022-10-07 19:08:19 +02:00
- All Oculus devices (Oculus Desktop App)
2022-10-09 05:18:22 +02:00
> Tested on: Quest 2 through Oculus Link (Native and via SteamVR), ALVR and Virtual Desktop (via SteamVR).
2022-10-09 05:15:32 +02:00
## Repositories used
2022-10-12 17:49:00 +02:00
- [Brokenithm-iOS](https://github.com/esterTion/Brokenithm-iOS)
- [IL2cppStartProcess](https://github.com/josh4364/IL2cppStartProcess)
2022-10-07 19:37:08 +02:00
- [MaiDXR](https://github.com/xiaopeng12138/MaiDXR)
2023-03-06 21:07:02 +01:00
- [PrefabLightmapping](https://github.com/Ayfel/PrefabLightmapping)
- [uWindowCapture](https://github.com/hecomi/uWindowCapture)
2022-10-07 19:08:19 +02:00
2022-10-09 05:15:32 +02:00
## Disclaimers
- This project is not-for-profit and some resources came from the Internet!
2022-10-21 23:57:32 +02:00
- Although this repository is under the GPL-3.0 license, do not use any content of this repo in commercial/profitable scenarios without permission!
2022-10-07 19:08:19 +02:00
- Please support your local arcade if you can!
2022-10-09 05:15:32 +02:00
## How to use
2022-11-16 04:10:57 +01:00
- Get the game somehow and make sure it's clean. (DO NOT ASK ANYTHING THAT IS DIRECTLY RELATED TO THE GAME ITSELF)
- You have 2 ways to setup the game, Automated (recommended) or Manual.
### Automated (recommended)
Automated setup configures the game and downloads WACVR, xxxxtools, and other files for you.
Thank you to Glub Glub for releasing this!
- Download [Glub Glub setup environment](https://github.com/ArcadeGlubGlub/GameSetup/raw/master/WACCAReverse-GlubGlub.7z) and extract it to a folder.
2022-11-16 08:28:40 +01:00
- Then, follow the `README.txt` file inside to add and setup your game.
2022-11-19 06:28:17 +01:00
- Add a server in `Game\app\bin\xxxxtools.ini` to connect to.
- Once done, run `Launch` shortcut to start both WACVR and the game.
2022-11-16 04:10:57 +01:00
---
### Manual
- Make sure the game properly and uses latest xxxxtools.
2023-03-16 19:35:17 +01:00
- Download [the latest release version](https://github.com/xiaopeng12138/WACVR/releases) or [the nightly version of WACVR](https://nightly.link/xiaopeng12138/WACVR/workflows/build/main/artifact.zip).
2022-11-16 04:10:57 +01:00
- You have 2 ways to connect touch to the game. Please only choose one of them:
2022-10-07 19:08:19 +02:00
2022-11-16 04:10:57 +01:00
#### mercuryio
2024-01-21 00:03:17 +01:00
- You can find the ``mercuryio.dll`` inside the release file or you can download it [here](https://wacvr.xpengs.com/mercuryio.dll).
2022-10-09 05:15:32 +02:00
- Put ``mercuryio.dll`` into ``bin`` folder.
2022-11-08 17:32:42 +01:00
- Add ``[touch] enable=1`` to .ini file
2022-10-09 05:15:32 +02:00
- Add ``[mercuryio] path=mercuryio.dll`` to .ini file.
- Start the game and WACVR.
2022-10-07 19:08:19 +02:00
2022-11-16 04:10:57 +01:00
#### Serial (not recommended)
2022-10-07 19:08:19 +02:00
- Download and install [com0com](https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/powersdr-iq/setup_com0com_W7_x64_signed.exe).
- Configure com0com to bind COM3 and COM5, COM4 and COM6.
2022-10-09 05:15:32 +02:00
- Enable the ``enable buffer overrun`` option in com0com on both ports of all pairs. Otherwise, your WACVR will crash after the logo.
- Add ``[touch] enable=0`` to .ini file
2022-10-07 19:08:19 +02:00
- Start WACVR first then start the game.
2022-10-09 05:15:32 +02:00
- If your touch is not working, try to somehow go to Test mode then exit Test mode.
2022-10-07 19:08:19 +02:00
2022-10-21 23:57:32 +02:00
- The lighting requires ``mercuryio.dll``. You must set it up to get the lights from the game. If you don't have the lights, please check if you are using the latest xxxxtools and if your LED hook works.
2022-05-17 21:45:04 +02:00
2022-10-09 05:15:32 +02:00
## Configuration
A ``config.json`` file is automatically created in WACVR's root directory on startup.
2022-10-09 05:15:32 +02:00
- You can change this file via the in-game config panel. Please take a step back: the controller pointer will automatically be disabled when the controller is too close to the cabinet.
- You can change ``batFileLocation`` in ``config.json`` to the location of your start.bat file. The start.bat will automatically run when you start WACVR.
2022-10-09 05:15:32 +02:00
- Some options in ``config.json`` are only the index of the dropdown in the panel.
- You can use the pointer to point the 3rd-person camera and move it to the position you want it to be.
2022-10-09 05:15:32 +02:00
## Building guide
2022-11-05 02:45:50 +01:00
- Current Unity version: 2021.3.12f1
2022-10-07 19:08:19 +02:00
- for mercuryio, just replace files in mercuryio folder with files in this repo.
2022-10-09 05:15:32 +02:00
## Known issues
- Display white screen issue
2022-10-09 05:16:59 +02:00
- **Solution:** Set game priority in the task manager to real-time may solve this issue. But the best way is just by capturing the entire screen.
2022-10-03 02:04:54 +02:00
Huge thanks to everyone that helped with this project!
2022-11-08 17:34:09 +01:00
If you want to add any features or change anything, please commit a pull request. I will accept it as soon as possible!