Tutorial:Using Roblox on Linux

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:
 * 2) CD into the cloned repository:
 * 3) Download the wine-tkg-git patch:
 * 4) Apply the patch:
 * 5) CD into the directory with the   file:
 * 6) Start building:

If any message appears saying "becareful 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:
 * 2) CD into the cloned repository:
 * 3) Download the wine-tkg-git patch:
 * 4) Apply the patch:
 * 5) CD into the wine-tkg-git directory:
 * 6) Change the _nomakepkg_dep_resolution_distro line to
 * 7) Save and close customization.cfg
 * 8) On the terminal, run:
 * 9) Afterwards, run:
 * Now, you can start actually building wine-tkg, run this in your terminal:
 * 1) Once the build finishes, CD into non-makepkg-builds:
 * 2) Type "ls" in the terminal, and then cd into the directory it responds with
 * 3) Type "realpath" to get the path to the Wine program:
 * 4) Edit the file in "~/.config/brinkervii/grapejuice/user_settings.json" (make sure you have grapejuice installed)
 * 5) In the "wine_home" field below "name_on_disk" and "display_name", insert the path from Step 12, for example:
 * 6) Also add the same field below "name_on_disk" and "display_name" for Studio:
 * 7) Launch Grapejuice and Install Roblox
 * 8) Launch Roblox like how you would, through the website

If any message appears saying "becareful 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:
 * 2) CD into the cloned repository:
 * 3) Download the wine-tkg-git patch:
 * 4) Apply the patch:
 * 5) Edit the customization.cfg file with an editor of your choice
 * 6) Change the _nomakepkg_dep_resolution_distro line to
 * 7) Save and close customization.cfg
 * Now, you can start actually building wine-tkg, run this in your terminal:
 * 1) Once the build finishes, CD into non-makepkg-builds:
 * 2) Type "ls" in the terminal, and then cd into the directory it responds with
 * 3) Type "realpath" to get the path to the WINE program:
 * 4) Edit the file in "~/.config/brinkervii/grapejuice/user_settings.json" (make sure you have grapejuice installed)
 * 5) In the "wine_home" field below "name_on_disk" and "display_name", insert the path from Step 12, for example:
 * 6) Also add the same field below "name_on_disk" and "display_name" for Studio:
 * 7) Launch Grapejuice and Install Roblox
 * 8) 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.

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 )

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

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.

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 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 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.