Roblox Wiki
Roblox Wiki
IiSkii (talk | contribs)
No edit summary
Tag: Visual edit
IiSkii (talk | contribs)
mNo edit summary
Tag: Visual edit
Line 20: Line 20:
 
5:1. If you're on Debian or other distros, use <code>./non-makepkg-build.sh</code>
 
5:1. If you're on Debian or other distros, use <code>./non-makepkg-build.sh</code>
   
6. Install a wrapper. I recommend [https://devforum.roblox.com/t/grapejuice-easily-run-roblox-studio-on-linux/262949 Grapejuice] as it is convenient and easy to use.
+
6. Install a wrapper. I recommend [https://devforum.roblox.com/t/grapejuice-easily-run-roblox-studio-on-linux/262949 Grapejuice] as it is convenient and easy to use. You can also use [https://github.com/roblox-linux-wrapper/roblox-linux-wrapper Roblox Linux Wrapper]
   
 
Using community-made solutions like [https://devforum.roblox.com/t/grapejuice-easily-run-roblox-studio-on-linux/262949 Grapejuice], you can launch the [https://roblox.fandom.com/wiki/Roblox_Player Roblox Player] and [https://roblox.fandom.com/wiki/Roblox_Studio Roblox Studio] like how you would normally on the website using a patched Wine. Roblox Studio has a gold rating in winedb.<ref>https://appdb.winehq.org/objectManager.php?sClass=version&iId=26443</ref>
 
Using community-made solutions like [https://devforum.roblox.com/t/grapejuice-easily-run-roblox-studio-on-linux/262949 Grapejuice], you can launch the [https://roblox.fandom.com/wiki/Roblox_Player Roblox Player] and [https://roblox.fandom.com/wiki/Roblox_Studio Roblox Studio] like how you would normally on the website using a patched Wine. Roblox Studio has a gold rating in winedb.<ref>https://appdb.winehq.org/objectManager.php?sClass=version&iId=26443</ref>

Revision as of 07:37, 13 June 2021

File:Roblox running on Linux in June 13th of 2021.png

Roblox Player working on Arch Linux under Wine in June 13th, 2021

Roblox on Linux (sometimes referred to as ROL) refers to playing Roblox games for the Linux operating system, involving a Linux kernel-based operating system.

Roblox Player once worked under Ubuntu, Fedora, and many other GNU/Linux Distributions and the BSD Distributions including FreeBSD using Wine, a compatibility layer that allows other operating systems to run some Windows programs. Several years ago, however, the Roblox anti-cheat started detecting Wine and would force the game to quit. As such, for years it has not been possible to run Roblox Player on Linux. But recently, a Wine patch by the user "Slappy826" (Slappy826#0001 on Discord), has got Roblox working under Wine again. The patch was shared among the Grapejuice Discord server, which contains a prebuild by Brinker for arch-based distributions. On most other distributions, there's a prebuild by Slappy826 which you could use, but it's not recommended, scroll down and build it with wine-tkg instead. The patch has been added to wine-tkg, but you must forcefully add it to the desired patches under the customization.cfg file. As of now, the patch hasn't made its way to wine-devel or the mainline Wine, but it is on the mailing list.[1]

To compile it with wine-tkg, follow the steps below:

1. You're gonna want to clone it with the command git clone https://github.com/Frogging-Family/wine-tkg-git.git

2. You wanna cd into the git repository you have just cloned with cd wine-tkg-git/wine-tkg-git

3. You'll wanna type nano ./customization.cfg

3:1. In the customization.cfg file for non-arch users, look for a line that contains the following: _nomakepkg_dep_resolution_distro="distroname_here" Replace distroname_here with one of the selections (eg. for ubuntu/debian-based stuff use debuntu, not ubuntu or debian.)

4. Scroll down to a line with _community_patches=“” , and add “roblox_fix.mypatch” inbetween the quotes (Do not copy&paste!)

5. You should be able to use the command makepkg -si on Arch Linux and other pacman/makepkg distros.

5:1. If you're on Debian or other distros, use ./non-makepkg-build.sh

6. Install a wrapper. I recommend Grapejuice as it is convenient and easy to use. You can also use Roblox Linux Wrapper

Using community-made solutions like Grapejuice, you can launch the Roblox Player and Roblox Studio like how you would normally on the website using a patched Wine. Roblox Studio has a gold rating in winedb.[2]

Bugs

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

  • Any form of moving the ingame camera via the mouse (eg. Right-clicking, shift lock, and first person), will freeze the mouse in place after scrolling out in first person, toggling off the shift lock by pressing shift, and right-clicking. Right-clicking has a scuffy-ish patch made by the maintainer of Grapejuice, Brinker. It's downloadable on Arch Linux at the Grapejuice Discord.
  • 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 maxxing out all your cores at 100% usage for some people


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.

History

On July 28th, 2012, John Shedletsky confirmed that progress on Roblox on Linux was 95% complete. Shedletsky claimed that the problem with Linux is the poor driver support. Another blog post (since deleted) by Shedletsky claimed that they could spend months on Linux or they could work on a highly requested feature.

"We’re probably 95% of the way to a Linux port, now that we’ve all the work necessary to port Roblox to MacOS – which, as you probably know, is based on the UNIX kernel. I think the problem that we would likely run into on Linux is poor video driver support. I’ve heard horror stories from other developers. However, as Linux becomes more popular, I expect this hurdle to disappear. ― John Shedletsky, Responding to User Feedback v6

We could spend six months porting ROBLOX to Linux, or we could deliver other highly requested features. If we’re going to be porting ROBLOX to another platform, Android is definitely next in line. Consoles are a close second–maybe that would involve a Linux port, particularly if the Steam OS takes off. We’ll see. ― John Shedletsky, Feedback Loop: BLOXcast Edition"

Roblox has been tested multiple times, with success until 2015. On May 15, 2015, Roblox received a "Gold" rating in the Wine App Database[3]. As of July 22, 2015, Roblox games shut down after loading the place. According to the Roblox Linux Wrapper GitHub Issue Tracker page, Wine seemed to have networking issues, others speculated that Roblox was detecting Wine as cheating software, and others were saying that an OS lock is in place, preventing Wine from running Roblox.[4] Presumably, it was said that Roblox's anti-cheat was treating Wine as if it was an exploit.[5]

However, in June 11th, 2021, a user by the name of ImSlappy826 (Slappy826#0001 on Discord) has found a patch which was one singular line. The patch implements the ZwFilterToken function, which was supposed to be implemented along NtFilterToken, into ntdll. It allowed the Roblox Player to work using Wine again. As of the time of this edit (June 13th, 2021), it's still working.





Currently, Roblox has not been officially been released for Linux, and during the RDC 2020 Q&A session, it was confirmed that there were currently no plans to bring Roblox to Linux due to its small desktop market share. Although, Arseny Kapoulkine has said that there will be plans if "Linux becomes the platform of choice for gamers".[6][7]

References