added scripts folder to gitea
This commit is contained in:
Executable
+42
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Quest 2 wireless mirror to PC → 480i CRT
|
||||
# No crop to reduce flickering/black intermittents (common fix for Horizon OS 74+)
|
||||
|
||||
IP="10.0.0.30:5555"
|
||||
|
||||
echo "Enabling ADB over TCP..."
|
||||
adb tcpip 5555
|
||||
sleep 2
|
||||
|
||||
echo "Connecting to Quest..."
|
||||
adb connect "${IP}"
|
||||
|
||||
echo ""
|
||||
echo "ADB devices (should list your Quest):"
|
||||
adb devices
|
||||
|
||||
echo ""
|
||||
read -p "Disconnect USB now. Put on Quest fully, launch game/app FIRST, then press Enter..."
|
||||
|
||||
echo ""
|
||||
echo "Starting scrcpy... (fullscreen with F11; q/Ctrl+C to quit)"
|
||||
echo ""
|
||||
|
||||
scrcpy -s "${IP}" \
|
||||
--max-size=480 \
|
||||
--max-fps=15 \
|
||||
--video-bit-rate=400K \
|
||||
--no-audio \
|
||||
--no-control \
|
||||
--always-on-top \
|
||||
--window-width=640 \
|
||||
--window-height=480 \
|
||||
--window-borderless
|
||||
|
||||
echo ""
|
||||
echo "Troubleshooting:"
|
||||
echo " - Flicker gone? Re-add crop later (--crop=1440:1080:2017:420) and test if it returns"
|
||||
echo " - Still flickers? Try --encoder=OMX.google.h264.encoder or lower bitrate to 500K"
|
||||
echo " - Wider black bars now? Normal without crop — use OBS crop if needed"
|
||||
echo " - HDMI PC → composite adapter → CRT"
|
||||
Reference in New Issue
Block a user