Roblox Wiki
Advertisement
Roblox Wiki

Roblox can be installed on Linux with Wine 6.11 or a more recent version.

The Grapejuice wrapper, though not necessary to run Roblox on Linux, fixes some issues. For help installing Roblox on Linux, the Grapejuice Discord server can be consulted. Users with some knowledge of the terminal and software compilation should not have much trouble with the install process.

Using Roblox on Linux

To build Roblox with the mouse patch on Linux, simply follow the guide below, if you have low end hardware, then it is recommended to scroll down to the "Fixing the mouse with prebuilt binaries" section.

Wine-tkg build process on pacman/makepkg distros (Arch-based distros)

To get started on building wine-tkg, simply read the guide below;

  1. Clone the git repository: git clone --depth=1 https://github.com/Frogging-Family/wine-tkg-git.git
  2. CD into the cloned repository: cd wine-tkg-git
  3. Download the wine-tkg-git patch: curl https://raw.githubusercontent.com/e666666/robloxWineBuildGuide/main/roblox-wine-staging-v2.3.patch --output roblox-wine-staging-v2.3.patch
  4. Apply the patch: git apply roblox-wine-staging-v2.3.patch
  5. CD into the directory with the PKGBUILD file: cd wine-tkg-git
  6. Start building: makepkg -si

If any message appears saying "be careful with that", simply respond with "y".

Wine-tkg build process on dpkg distros (Debian-based distros)

This will differ from the pacman build process due to a variety of reasons, but it's mostly the same, let's get started:

  1. Clone the git repository: git clone --depth=1 https://github.com/Frogging-Family/wine-tkg-git.git
  2. CD into the cloned repository: cd wine-tkg-git
  3. Download the wine-tkg-git patch: curl https://raw.githubusercontent.com/e666666/robloxWineBuildGuide/main/roblox-wine-staging-v2.3.patch --output roblox-wine-staging-v2.3.patch
  4. Apply the patch: git apply roblox-wine-staging-v2.3.patch
  5. CD into the wine-tkg-git directory: cd wine-tkg-git
  6. Change the _nomakepkg_dep_resolution_distro line to _nomakepkg_dep_resolution_distro="debuntu"
  7. Save and close customization.cfg
  8. On the terminal, run: sudo dpkg --add-architecture i386
  9. Afterwards, run: sudo apt update
  10. Now, you can start actually building wine-tkg, run this in your terminal: ./non-makepkg-build.sh
  11. Once the build finishes, CD into non-makepkg-builds: cd non-makepkg-builds
  12. Type "ls" in the terminal, and then cd into the directory it responds with
  13. Type "realpath" to get the path to the Wine program:
    /home/youruser/wine-tkg-git/wine-tkg-git/non-makepkg-builds/wine-tkg-git-whatever-blah
    
  14. Edit the file in "~/.config/brinkervii/grapejuice/user_settings.json" (make sure you have grapejuice installed)
  15. In the "wine_home" field below "name_on_disk" and "display_name", insert the path from Step 12, for example:
    "name_on_disk": "player",
    "display_name": "Player",
    "wine_home": "/home/youruser/wine-tkg-git/wine-tkg-git/non-makepkg-builds/wine-tkg-git-whatever-blah",
    
  16. Also add the same field below "name_on_disk" and "display_name" for Studio:
    "name_on_disk": "studio",
    "display_name": "Studio",
    "wine_home": "/home/youruser/wine-tkg-git/wine-tkg-git/non-makepkg-builds/wine-tkg-git-whatever-blah",
    
  17. Launch Grapejuice and Install Roblox
  18. Launch Roblox like how you would, through the website

If any message appears saying "be careful with that", simply respond with "y".

Wine-tkg build process on Fedora

This is mostly similar to the dpkg guide, but some steps are gonna differ. This has a high probability of not working on other DNF-based distros:

  1. Clone the git repository: git clone --depth=1 https://github.com/Frogging-Family/wine-tkg-git.git
  2. CD into the cloned repository: cd wine-tkg-git
  3. Download the wine-tkg-git patch: curl https://raw.githubusercontent.com/e666666/robloxWineBuildGuide/main/roblox-wine-staging-v2.3.patch --output roblox-wine-staging-v2.3.patch
  4. Apply the patch: git apply roblox-wine-staging-v2.3.patch
  5. Edit the customization.cfg file with an editor of your choice
  6. Change the _nomakepkg_dep_resolution_distro line to _nomakepkg_dep_resolution_distro="fedora"
  7. Save and close customization.cfg
  8. Now, you can start actually building wine-tkg, run this in your terminal: ./non-makepkg-build.sh
  9. Once the build finishes, CD into non-makepkg-builds: cd non-makepkg-builds
  10. Type "ls" in the terminal, and then cd into the directory it responds with
  11. Type "realpath" to get the path to the WINE program:
    /home/youruser/wine-tkg-git/wine-tkg-git/non-makepkg-builds/wine-tkg-git-whatever-blah
    
  12. Edit the file in "~/.config/brinkervii/grapejuice/user_settings.json" (make sure you have grapejuice installed)
  13. In the "wine_home" field below "name_on_disk" and "display_name", insert the path from Step 12, for example:
    "name_on_disk": "player",
    "display_name": "Player",
    "wine_home": "/home/youruser/wine-tkg-git/wine-tkg-git/non-makepkg-builds/wine-tkg-git-whatever-blah",
    
  14. Also add the same field below "name_on_disk" and "display_name" for Studio:
    "name_on_disk": "studio",
    "display_name": "Studio",
    "wine_home": "/home/youruser/wine-tkg-git/wine-tkg-git/non-makepkg-builds/wine-tkg-git-whatever-blah",
    
  15. Launch Grapejuice and Install Roblox
  16. Launch Roblox like how you would, through the website

Roblox Player and Roblox Studio can be launched like normal if the correct version is used. Roblox Studio has a gold rating in winedb.[1]

Setting up a FPS unlocker

The Roblox FPS Unlocker is also compatible and can be used to reach framerates above the 60 FPS limit, for use with high refresh rate monitors. Requires Grapejuice.

  1. Open Grapejuice
  2. Click either Player or Studio
  3. Find Third party application integrations
  4. Toggle on for "Use Roblox FPS Unlocker"
  5. (Suggested), Click/Right-click on the tray icon and set FPS cap to your monitors refresh rate. (To check FPS in game use ⇧ Shift + F5)

This will not ban your account, as it doesn't inject anything into Roblox.[2]

Fixing the mouse with prebuilt binaries

There is an official python script that automatically installs a patched version of wine, and configures Grapejuice to use that wine version.

To get started, Run these two commands.

wget https://pastebin.com/raw/5SeVb005 -O /tmp/grapejuice-wine-tkg.py

python3 /tmp/grapejuice-wine-tkg.py

Note: This installs a wine version pre-compiled by other internet people, which may or may not contain malware. If you are unsure about the script then you can look at the [1]source here, The script is made by Grapejuice's creator (BrinkerVII). If you are unsure about the wine version then feel free to check the compilation guide above. Note that compiling wine is not recommended on low-end hardware as it'll take a long time to do so.

Changing the graphical engine on the Roblox Player and Roblox Studio

Before starting the guide, make sure you can run the terminal command "vkcube", and make sure you have all Vulkan and OpenGL drivers. Requires Grapejuice version 4.0.0 or above.

  1. Open Grapejuice
  2. Select either Player or Studio by clicking on it
  3. Find Graphics Settings
  4. Click Roblox Renderer
  5. Change your options from there

To verify the Graphics engine being used, press ⇧ Shift + F2 in game. Text will appear on screen, look for the line starting with "GPU:" and at the end of the line will be the name of the graphics engine being used (Ex. D3D11 for DirectX 11, and OpenGL for OpenGL)

Using DXVK

Some report that DXVK runs better than OpenGL or Vulkan (it will generally run noticeably better than Wine's built in DirectX implementation). Installing DXVK:

  1. Open Grapejuice
  2. Select either Player or Studio by clicking on it
  3. Find Third Party application integrations
  4. Toggle on for "Use DXVK D3D implementation"
  5. (Optional), but if you want to make sure that DXVK is running you can enable the DXVK HUD. Go to ~/.config/brinkervii/grapejuice/user_settings.json, and edit the env line to "env": {"DXVK_HUD": "1"}

Bugs

Running Roblox Player using Wine is not perfect, as it has some reported issues:

  • Using your distro's default wine build may not have the mouse patch, Which may lead to the mouse getting stuck after doing any sort of clicking.
  • Recording with F12 cannot be stopped, or the frame's stuck.
  • Graphical errors on maximum settings on some GPUs (citation needed)
  • Intense lag for some users (citation needed)
  • Roblox Player maxing out all CPU cores at 100% usage for some people (citation needed)
  • Roblox Player might not have working sound (this may be fixed by installing 32-bit audio packages, e.g. lib32-alsa-plugins, lib32-libpulse, lib32-openal on Arch)
  • Using Vulkan/OpenGL might tell you the drivers are outdated, this is fixable by installing your Vulkan or OpenGL drivers.
  • Sometimes, on Chromium and some other Chromium-based browsers, playing Roblox from the website might open a new Chromium instance, this won't happen on Firefox

Running Roblox Studio using Wine is also not perfect, and you can encounter the following bugs:

  • Various Unicode characters (such as emojis, for example) cause Roblox Studio to crash (citation needed)
  • Login authentication errors (citation needed)
  • Anti-aliasing doesn't work on graphics 8 and above when using DirectX 11 (citation needed)
  • Flickering occurs on plugin GUIs and recently updated UI elements (such as Toolbox, Game Settings and Publish to Roblox screen for example) when using OpenGL (citation needed)
  • Studio crashes on startup when using Vulkan, Can be fixed by having the childwindow patch.

When Roblox worked using Wine pre-2015, there were bugs present, including the following:

  • The Shift or Caps Lock keys do not work when using the chat window.
  • Sometimes after joining, you may get a lag spike and can only move in one direction.
  • Roblox Studio crashes when loading a game.
  • The sound may be unbearably glitchy on a few games.
  • When moving your camera while the player is moving, your mouse will be stuck moving the camera (this can be fixed by right-clicking a few times quickly)
  • Sometimes you can see a window saying "RobloxPlayerBeta.exe has encountered a serious error and must close!" message.

See also

References

  1. Roblox Studio. WineHQ AppDB. Archived from the original on January 20, 2021. Retrieved on June 14, 2021.
  2. axstin/rbxfpsunlocker README.md. GitHub. Retrieved on Januarary 3, 2022.
Advertisement