mirror of
https://github.com/Project-Babble/Baballonia.git
synced 2026-11-20 00:51:30 -08:00
Move _internal.zip to separate server
This commit is contained in:
1 parent
8ff9901890
commit
7b2e51cd82
5 files changed
+75
-6
No files matched your search
@@ -1 +0,0 @@
|
||||
src/Baballonia.Desktop/_internal.zip filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -404,3 +404,4 @@ FodyWeavers.xsd
|
||||
|
||||
# macOS files
|
||||
.DS_Store
|
||||
src/Baballonia.Desktop/_internal.zip
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
**Baballonia** is a cross-platform, hardware-agnostic VR eye and face tracking application.
|
||||
|
||||
---
|
||||
|
||||
## Installation
|
||||
|
||||
### Windows
|
||||
@@ -18,6 +20,8 @@ Baballonia does not currently have an installer for MacOS or Linux. You will nee
|
||||
|
||||
You can run Baballonia with just ``nix run github:Project-Babble/Baballonia``
|
||||
|
||||
---
|
||||
|
||||
## Use
|
||||
|
||||
### VRChat
|
||||
@@ -52,10 +56,52 @@ Baballonia supports many kinds of hardware for eye and face tracking:
|
||||
| HP Reverb G2 Omnicept | ✅ | :x: | Requires [BrokenEye](https://github.com/ghostiam/BrokenEye) |
|
||||
| Pimax Crystal | ✅ | :x: | Requires [BrokenEye](https://github.com/ghostiam/BrokenEye) |
|
||||
|
||||
---
|
||||
|
||||
## Build Instructions
|
||||
|
||||
If you want to build from source, clone this repo and open the `.sln`/`.csproj` files in an editor of your choice. I have only tested and built this on Visual Studio 2022 and Rider, but it should work with other IDEs. Load and build the Baballonia and Baballonia.Desktop solutions.
|
||||
If you want to build from source, clone this repo, its submodules and open the `.sln`/`.csproj` files in an editor of your choice. This has been tested and built on Visual Studio 2022 and Rider, but it should work with other IDEs.
|
||||
|
||||
### Special instructions for Linux
|
||||
### The Desktop App
|
||||
|
||||
To build the desktop app, you'll want to build and load the following projects:
|
||||
|
||||
- `Baballonia.OpenCVCapture`
|
||||
- `Baballonia.SerialCameraCapture`
|
||||
- `HyperText.Avalonia`
|
||||
- `Baballonia`
|
||||
- `Baballonia.SDK`
|
||||
- `Baballonia.Desktop`
|
||||
- Optionally, `Baballonia.Tests`
|
||||
|
||||
#### Trainer instructions
|
||||
|
||||
In order to use the trainer, you must first a) download its dependencies or b) build them yourself. You can accomplish this by:
|
||||
- a) Run the `fetch_internal.ps1` script once after a clone. This will download and place the `_internal.zip` file into your `Baballonia.Desktop` project
|
||||
- b) Run `pyinstaller` on the `trainermin.py` file, zip up its `internal` directory contents into an archive called `_internal.zip` and place it in the `Baballonia.Desktop` project
|
||||
|
||||
#### Linux notes
|
||||
|
||||
`libtesseract 4` is deprecated in newer repositories, but is needed to build.
|
||||
|
||||
### The Mobile App
|
||||
|
||||
- `Baballonia.OpenCVCapture`
|
||||
- `Baballonia.IPCameraCapture`
|
||||
- `HyperText.Avalonia`
|
||||
- `Baballonia`
|
||||
- `Baballonia.SDK`
|
||||
- `Baballonia.Android` OR `Baballonia.iOS`
|
||||
- Optionally, `Baballonia.Tests`
|
||||
|
||||
To build the mobile app(s), you'll want to build and load the following projects:
|
||||
|
||||
|
||||
### The VRCFaceTrackingModule
|
||||
|
||||
To build the VRCFaceTracking module, you'll want to build and load the following projects:
|
||||
|
||||
- `VRCFaceTracking.Core`
|
||||
- `VRCFaceTracking.SDK`
|
||||
- `VRCFaceTracking.Baballonia`
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02695fe8e209ca2534bdd3285c0cf15cf9e55f84c4f6142b8c33336e430ecc31
|
||||
size 156896036
|
||||
@@ -0,0 +1,26 @@
|
||||
param(
|
||||
[string]$Url = "http://217.154.52.44:7771/builds/trainer/1.0.0.0.zip",
|
||||
[string]$Output = "_internal.zip",
|
||||
[string]$ExpectedHash = "02695FE8E209CA2534BDD3285C0CF15CF9E55F84C4F6142B8C33336E430ECC31"
|
||||
)
|
||||
|
||||
Write-Host "Downloading file from $Url ..."
|
||||
|
||||
# Download using Invoke-WebRequest (built-in)
|
||||
Invoke-WebRequest -Uri $Url -OutFile $Output -UseBasicParsing
|
||||
|
||||
Write-Host "Download complete. Verifying SHA256..."
|
||||
|
||||
# Compute SHA256
|
||||
$FileHash = (Get-FileHash -Path $Output -Algorithm SHA256).Hash.ToLower()
|
||||
|
||||
if ($FileHash -eq $ExpectedHash.ToLower()) {
|
||||
Write-Host "✅ File verified. SHA256 matches."
|
||||
exit 0
|
||||
} else {
|
||||
Write-Host "❌ SHA256 mismatch!"
|
||||
Write-Host "Expected: $ExpectedHash"
|
||||
Write-Host "Actual: $FileHash"
|
||||
Remove-Item -Path $Output -Force
|
||||
exit 1
|
||||
}
|
||||
Reference in new issue
Block a user