User:Karimrir/Using

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 a weaker CPU, I'd recommend scrolling down to use the prebuilt binaries.

Note: you'll need to set your wine-tkg staging version to v6.11 if you wanna use Studio (some report that v6.12 has issues), and v6.9 if you want to use Studio without much hassle.

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) Open the customization.cfg file with an editor of your choice
 * 4) Find _community_patches="" and change it to _community_patches="roblox_mouse_fix.mypatch"
 * 5) Run makepkg:
 * 6) Launch Grapejuice and Install Roblox
 * 7) 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 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) Open the customization.cfg file with an editor of your choice
 * 4) Find _community_patches="" and change it to _community_patches="roblox_mouse_fix.mypatch"
 * 5) Change the _nomakepkg_dep_resolution_distro line to
 * 6) Save and close customization.cfg
 * 7) On the terminal, run:
 * 8) Afterwards, run:
 * 9) Now, you can start actually building wine-tkg, run this in your terminal:
 * 10) Once the build finishes, CD into non-makepkg-builds:
 * 11) Type "ls" in the terminal, and then cd into the directory it responds with
 * 12) Type "realpath bin/wine" to get the path to the Wine program:
 * 13) Edit the file in "~/.config/brinkervii/grapejuice/user_settings.json" (make sure you have grapejuice installed)
 * 14) In the "wine_binary" field, insert the path from Step 16, for example:
 * 15) Launch Grapejuice and Install Roblox
 * 16) 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) Edit the customization.cfg file with an editor of your choice
 * 4) Change the _nomakepkg_dep_resolution_distro line to
 * 5) Change the _community_patches line to
 * 6) Save and close customization.cfg
 * 7) Now, you can start actually building wine-tkg, run this in your terminal:
 * 8) Once the build finishes, CD into non-makepkg-builds:
 * 9) Type "ls" in the terminal, and then cd into the directory it responds with
 * 10) Type "realpath bin/wine" to get the path to the WINE program:
 * 11) Edit the file in "~/.config/brinkervii/grapejuice/user_settings.json" (make sure you have grapejuice installed)
 * 12) In the "wine_binary" field, insert the path from Step 12, for example:
 * 13) Launch Grapejuice and Install Roblox
 * 14) 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 higher framerates. Requires Grapejuice.


 * 1) Download the Roblox FPS unlocker at https://github.com/axstin/rbxfpsunlocker/releases/latest
 * 2) Extract the file
 * 3) Open Grapejuice
 * 4) Go to the "Wine" section on Grapejuice, and open the Wine Explorer
 * 5) Go to the directory of the extracted folder (Linux drive in Wine is usually Z:\)
 * 6) Find the .exe file, open it through the Wine Explorer. It should minimize to tray
 * 7) Open Roblox through the website
 * 8) Click/Right-click on the tray icon and set FPS cap. (To check FPS use )

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

Arch Linux and Arch-based distributions
The pre-compiled patched version of wine is available here.


 * 1) Open the terminal and type the terminal command "cd ~/Downloads", This will take you to the downloads folder where you will most likely find the file
 * 2) Run the terminal command "sudo pacman -U fileName.pkg.tar.zst", This may ask you to uninstall wine to avoid any package conflicts.

Other distributions
These instructions use a portable build of Wine that can be used on most distributions, including Arch Linux (which you may want to do if you would like to keep Arch Linux's official Wine builds and only use the patched build for Roblox). Some distributions may not work if their glibc version is too low.

The installation is quite different than the Arch Linux one, due to using a portable build rather than installing with a package manager.


 * 1) Open your file manager and go to the downloads directory and extract the compressed file.
 * 2) Open the ~/.config/brinkervii/grapejuice/user_settings.json file with a text editor and put in the "wine_binary" field the full path to the wine binary that is in the extracted folder, It will be most likely at /home/username/Downloads/wine-tkg-staging-fsync-git-6.11.r0.g432c0b5a/bin/wine

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 3.4.1 or above.


 * 1) Open Grapejuice
 * 2) Open the "Roblox FFlag editor" (If the FFlag editor won't open, try running Roblox Studio once, and then it should work.)
 * 3) If a warning shows up, click "Open editor"
 * 4) To use D3D9, search up "d3d9" and enable FFlagDebugGraphicsPreferD3D9 (This is scraping the barrel for performance, use it if all else fails)
 * 5) To use Vulkan, search "vulkan" and enable FFlagDebugGraphicsPreferVulkan (GPU must support Vulkan, otherwise use Direct3D11)
 * 6) To use OpenGL, search "opengl", and enable FFlagDebugGraphicsPreferOpenGL
 * 7) Click save on the top left corner

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) Go to DXVK's github page and download the latest version.
 * 2) Go to your downloads folder and extract the DXVK zip.
 * 3) Open the terminal, cd into the DXVK folder, and type "WINEPREFIX=~/.local/share/grapejuice/wineprefix ./setup_dxvk.sh install", This will only work if you are using the grapejuice wrapper.
 * 4) Steps 5 and 6 are not usually necessary since Roblox defaults to DirectX. You can likely skip them.
 * 5) Open the Grapejuice application, and click on "Roblox FFlag Editor", if it does not launch then install studio, Note: it may display a warning, just ignore that warning, and if Roblox studio opens then close it.
 * 6) Type in "FFlagDebugGraphicsPrefer" and find "FFlagDebugGraphicsPreferD3D11", then enable it and click on the save button.
 * 7) (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
 * Intense lag for some users
 * Roblox Player maxing out all CPU cores at 100% usage for some people
 * 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
 * Login authentication errors
 * Shadows flickering when using DirectX 11, unless EagerBulkExecution is turned on in the Studio settings
 * Anti-aliasing doesn't work on graphics 8 and above when using DirectX 11
 * 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
 * Studio crashes on startup when using Vulkan

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.