-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
*.exe | ||
*.log | ||
*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
steamapps_path = ${HOME}/.steam/steam/steamapps | ||
appdata_path = ${steamapps_path}/compatdata/438100/pfx/drive_c/users/steamuser/AppData/LocalLow/VRChat/VRChat | ||
vrc_path = ${steamapps_path}/common/VRChat | ||
version = "v1.0.0" | ||
|
||
|
||
build: | ||
mcs src/main.cs | ||
mcs src/main.cs -out:yt-dlp.exe | ||
|
||
|
||
install: build | ||
install: yt-dlp.exe | ||
rm -f ${appdata_path}/Tools/yt-dlp.exe | ||
cp src/main.exe ${appdata_path}/Tools/yt-dlp.exe | ||
cp yt-dlp.exe ${appdata_path}/Tools/ | ||
chmod -w ${appdata_path}/Tools/yt-dlp.exe | ||
|
||
cp src/vrc-video-url-handler.sh ${vrc_path}/vrc-video-url-handler.sh | ||
chmod +x ${vrc_path}/vrc-video-url-handler.sh | ||
|
||
sudo cp src/vrc-mpv.py /usr/local/bin/vrc-mpv | ||
sudo chmod +x /usr/local/bin/vrc-mpv | ||
|
||
|
||
package: | ||
zip vrc-mpv-${version}.zip README.md Makefile src/vrc-mpv.py src/vrc-video-url-handler.sh yt-dlp.exe | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
# vrchat-linux-video-workaround | ||
Dumb workaround that allows you to play video player content from a vrchat world in mpv instead, since they don't work in proton yet. | ||
|
||
## setup | ||
requires `mpv yt-dlp python3 mono` | ||
The latest version can be found at https://github.com/CrispyPin/vrchat-linux-video-workaround | ||
|
||
build+install with `make install` | ||
run `vrc-mpv.py` to play videos with mpv when they are requested by vrchat | ||
## Installation | ||
requires `mpv yt-dlp python3` | ||
|
||
install with `make install` | ||
|
||
run `vrc-mpv` to play videos with mpv when they are requested by vrchat | ||
|
||
## building | ||
requires `mono` | ||
`make build && make install` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters