Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save westurner/b1ed13655c787adb46b52656180bccb7 to your computer and use it in GitHub Desktop.
Save westurner/b1ed13655c787adb46b52656180bccb7 to your computer and use it in GitHub Desktop.
install_roblox_studio__with_vinegar_flatpak_for_linux.sh
#!/bin/sh
echo "### Install Roblox Studio on Linux with the Vinegar flatpak"
echo "## Vinegar"
echo "- https://vinegarhq.org/"
echo "- https://vinegarhq.org/Installation/index.html"
echo "- https://vinegarhq.org/Configuration/index.html"
type -a flatpak || echo "ERROR: Flatpak not found. You must install flatpak to install Vinegar" && exit 2
flatpak --user install -y org.vinegarhq.Vinegar
flatpak run org.vinegarhq.Vinegar &
printf '## Instructions\n'
cat << EOF
0. Open 'Vinegar' (`flatpak run org.vinegarhq.Vinegar`)
1. Click "Install Studio"
and wait for Vinegar to install Roblox Studio within WINE
(in the wineprefix path)
2. If the fonts are too small,
edit the Wine configuration:
- Click "Configure Wine"
- Graphics > drag the font DPI slider until the font size looks good
(and check by exiting and "Run Studio"-ing Roblox Studio)
3. If the screen is flickering or the graphics are slow,
edit the Vinegar config:
- Click the "Settings" gear at the top left of the Vinegar window, and
enter this text (without the leading spaces):
dxvk=true
- Press <Ctrl-S> to save
- If your machine has multiple GPUs
(Integrated (usually Intel), and Discrete (Nvidia, AMD))
then add one of these to the Vinegar config file and Save.
gpu=""
gpu="prime-discrete"
gpu="integrated"
- Press <Ctrl-S> to save
- Restart Roblox Studio (X at the top right, Alt-F4)
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment