Parenting, Technology, Tutorial, Ubuntu

Making Roblox work on Ubuntu

Before you Begin – A Brief History

As sad as this is, and as many countless hours as I’ve wasted on this that I’ll never get back, I’ve resolved there is no way to make Roblox work in Ubuntu / linux – not even running in a VM on Ubuntu. If you want to read more about the vm journey, feel free over here, but the short version of the story is this:

  • The entire Roblox gaming enterprise runs in a browser (or so you would think…)
  • You can log into your account from any browser (ie. Firefox) and ‘almost play’
  • As soon as you want to play it forces a roblox.exe windows executable file
  • You can’t play without windows and this .exe file
  • If you try to run it in a virtualbox / vm environment, the Roblox developers have set up ‘anti-cheat’ algorithms (should be actually called ‘pro Microsoft and anti-freedom algorithms…) so that as soon as you start to play you get kicked out with an error saying you are demonstrating bad behaviour. Good behaviour, of course, is to use Microsoft because it’s so ethical and safe (super cynical dripping sarcasm)

As such, I officially disdain Roblox, its creators and the entire thing and I regret ever letting my kids play it. Here are a few summary points to review if you think you want to go down this road:

  • You cannot play it ‘normally’ in ubuntu / linux – just don’t even try
  • In the end, if you want to play Roblox, you will have to either:
    a) play it on a dedicated Windows machine or
    b) dual boot Windows

If you still haven’t heeded my advice or got stuck too far like I did, let’s move forward with the dual boot environment.

Dual-Booting Windows with Ubuntu to Play Robox

What I learned

First, if you have done lots of installation work with Ubuntu and different versions of Linux you would probably, like me, this process would be as simple as this:

  • Get any normal USB disk creation software
  • Insert into PC
  • Adjust BIOS to boot from USB
  • install the OS

It should be but sadly even this process is terrible. I learned that Windows does not make it easy for Ubuntu / Linux users to simply create a bootable drive. I don’t understand why, though. You would think that this is a great way to gain exposure for your OS like all the Linux distros do? After trying the usual suspects (Unetbootin, Etcher and even a dd command in the terminal. I tried probably all of these 5 times each and on various drives and literally nothing would work trying to create this bootable windows drive on my Ubuntu machine.

There is, however, a project called ‘WoeUSB‘ which was actually super promising, however, I couldn’t get it installed on Ubuntu 20 because of some dependency issues (I believe) and on Ubuntu 18.04 it installed but it kicked up some kind of error.

In the end I had to find a Windows machine and install software called Rufus to make it work. Just brutal.

I also learned that FAT format doesn’t work because it can’t move files over something like 4GB? I got stuck on several occasions because of that. I learned that it would be NTFS or nothing for this process.

With all that learning aside, let’s get to the how to…

How to do this

Here is the bullet point overview of the workflow followed by some notes:

Before you Begin:

  1. Back up all the data you care about on your Ubuntu installation
  2. Created and have in-hand an Ubuntu live install USB
  3. Find a windows machine, install Rufus (for creating the install USB), create the Windows install USB drive
    NOTE: be absolutely CERTAIN you choose ‘MBR’ not ‘GPT’ (rest is pretty easy)
  4. Make sure safe boot is off on the computer BIOS

Let’s Begin:

  1. While booting to your machine using live Ubuntu USB install drive, resize your Ubuntu hard drive disk to make room for Windows using Gparted.

This is a good guide but not a great guide. But he is not too lazy to do screenshots like me so this part is helpful :). The reason this guide is pretty bad is because he doesn’t clearly (or at all) explain that you have to be using a live USB drive to create a primary partition using Gparted… lost a lot of time on that! 🙁

Just make sure to give at least 50GB (I think – but do your research). I believe you can just leave this as unallocated space (no need to format it as the installer will do that)

I just entered 50000 mb into the ‘free space’ field, and Gparted automatically adjusts the ‘new size’ field. So don’t mess with the ‘new size’ field, I suggest, but just stick the desired amount into the ‘free space’ field.

  1. Shut down the computer, extract the Ubuntu install drive, when off, insert the Rufus-created Windows install drive
  2. Power on computer, run the install of windows by booting to USB (usual way) choosing the custom option of being able to choose the 50GB unallocated space you created with Gparted above.
  3. After install of Windows is complete, shut down again, and re-insert the Ubuntu live install USB and boot to it again
  4. Run the boot-repair package on live Ubuntu disk (thank goodness for whoever made this tool) – take all their recommendations (blog
  5. After all the boot-repair stuff is done and you have copied/pasted their commands in and completed, shut down the computer, remove the Ubuntu live drive, and power up again just with the computer itself. You ‘should’ now have ubuntu and Windows as bootable options from the black menu screen (grub) shortly after it turns on.

If you do not try repeating steps 4 and 5 again above – I had to repeat these steps once to make it work on one computer but the other one worked perfectly the first time.

I also had to do one reboot on one of the machines to get everything working on the first time I booted to Ubuntu, but after a restart everything was great.

I hope no one actually has to do this but if you do, there you go….

I hope that some or all of this helps one or more of you.

Tagged , , , , ,

11 thoughts on “Making Roblox work on Ubuntu

  1. This is ****NOT**** “running Roblox on Ubuntu”. This is running Roblox on MSWindows, on a machine that also happens to run Ubuntu. Not an answer at all. The intention is to GET RID of the dual-boot, and only run Linux, with Wine and QEMU/KVM for those MSWin applications.

    Roblox, at this point, WON’T even run in a QEMU/KVM/libvirt VM. It says it’s connecting to a server, then it CRASHES the VM. Seems to me like Roblox suffers from cronically incompetent programming.

    1. You are exactly correct which is why I started the blog by writing this (which I have now turned into bold font for you): I’ve resolved there is no way to make Roblox work in Ubuntu / linux – not even running in a VM on Ubuntu. The goal of the article was to catch people who *thought* they would succeed and save them many hours and then provide instructions on how to do a dual boot set up if they ‘have to’. I agree with you. And if you have success, blog it and put the link here 😉 have a nice day!

      1. Thanks for taking your time to figure out it doesn’t work.
        To bad my daughter and her frnds are hooked on Roblox but it’s sick that even in a VM it won’t run. How hard would it be for them to create a Native Linux version for Roblox. *Sad*

  2. This dude managed to make it work on Linux Ubuntu for 5 seconds…
    https://www.youtube.com/watch?v=WvDwlZ6qVVk
    You can notice it’s not laggy… Seems to work great, except by the error.

    I had a friend who managed to “play” it on Manjaro Linux, it doesn’t closes or shows you an error, just a black Windows after 5 seconds, and you can hear the sound of your footsteps and music, depending on the game.

    It seems to have different behaviors depending on the distro you test. It need to be tested with more effort. I think we’re close to get it working again.

  3. Thanks for this, I found it before wasting hours and hours. It’s bad enough that the game made my daughter cry yesterday when she was trading pets or something on “adopt me” and the trade went wrong and she lost her stuff. Roblox/Adopt me is totally annoying as a parent!

    1. You are very correct. I regret ever letting my kids start it but yeah… Adopt me addictions… sigh. I’m trying to re-route them to other things like pencil2D, Krita, Blender, etc… some very low level of success.

  4. After reading many articles like yours, also because my child loves playing Roblox, I went to Android. I trimmed down an old NVidia tablet and she’s now happy playing on that.

    But I also went down the Android emulator rabbit hole. Installing qemu-x86 with virtgl support and Android 7. Works rather good for many apps but alas, Roblox just immediately exits when started.

    For those who’d like to try:
    sudo apt install -y build-essential libepoxy-dev libdrm-dev libgbm-dev libx11-dev libvirglrenderer-dev libpulse-dev libsdl2-dev libgtk-3-dev qemu-utils
    mkdir ~/Android && cd ~/Android
    wget https://download.qemu.org/qemu-6.0.0-rc1.tar.xz && tar -xf qemu-6.0.0-rc1.tar.xz
    cd qemu-6.0.0-rc1/
    ./configure –enable-sdl –enable-opengl –enable-virglrenderer –enable-system –enable-modules –audio-drv-list=pa –target-list=x86_64-softmmu –enable-kvm –enable-gtk
    make
    qemu-img create -f qcow2 Android9.img 12G
    wget https://osdn.net/projects/android-x86/downloads/71931/android-x86-9.0-r2.iso
    IMG=”/home/dlarue/Projects/BootableLinux/ISOs/Android/android-x86_64-9.0-r2.iso”

    QEMU_DIR=qemu-6.0.0-rc1/build
    # Boot with CDROM for installation
    $QEMU_DIR/x86_64-softmmu/qemu-system-x86_64 -boot d -cdrom $IMG -enable-kvm -smp 2 -device virtio-vga,virgl=on -net nic -net user,hostfwd=tcp::5555-:22 -cpu host -soundhw es1370 -m 2048 -display sdl,gl=on -hda ../Android9.img

    # Run without CDROM after installation
    #$QEMU_DIR/x86_64-softmmu/qemu-system-x86_64 -boot d -enable-kvm -smp 2 -device virtio-vga,virgl=on -net nic -net user,hostfwd=tcp::5555-:22 -cpu host -device es1370 -m 2048 -display sdl,gl=on -hda ./Android9.img

  5. Have you tried the VMWare kernel feature for Windows? SomeOrdinaryGamers got Valorant (a Windows-only game with the Vanguard anticheat) to run in a VM with no issues. Video here: https://youtu.be/L1JCCdo1bG4

    Unfortunately, they patched Vanguard anticheat so that it detects even VMs with even those configs.

    There might be a SMALL chance that Roblox would work under the sort of config mentioned above.

Leave a Reply

Your email address will not be published. Required fields are marked *