From e77a6cf3c66c2a9fe2997bf2453be1ddb677dac9 Mon Sep 17 00:00:00 2001 From: Amelia Violetta Date: Fri, 23 May 2025 16:55:26 +0100 Subject: [PATCH] Update README.md to mention dependencies and motivation behind project. Create launch.sh, a way to detect and launch the latest Roblox Studio install. --- README.md | 16 ++++++++++++++++ launch.sh | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100755 launch.sh diff --git a/README.md b/README.md index f966119..2205a69 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # roblox-studio-linux A collection of Bash scripts to manage the Roblox Studio installation on Linux + +If looking for a GUI app, consider [Vinegar by Vinegar HQ](https://vinegarhq.org/Sober/Home/index.html). + +## Dependencies + +- [Wine](https://wiki.archlinux.org/title/Wine): a a compatibility layer allowing UNIX users to run Windows applications. Tested versions: `^wine-10.2`->`wine-10.2` + +- (optional) [X11 Desktop Session](https://www.x.org/wiki/): From my experience, Roblox Studio's camera does not behave as expected when using Wayland. + + ## Motivation + +A minimal dependency way, run-once-and-forget solution to installing Roblox Studio on Linux. + +You should only need to run `install.sh` once, since that Roblox Studio auto-updates, and the `.desktop` created and placed under `~/.local/share/applications ` supports Roblox Studio schemes. + +`launch.sh` is used to launch the latest Roblox Studio install. diff --git a/launch.sh b/launch.sh new file mode 100755 index 0000000..bf557c9 --- /dev/null +++ b/launch.sh @@ -0,0 +1,11 @@ +source config.sh + +versions_dir="$prefix/drive_c/users/$(whoami)/AppData/Local/Roblox/Versions/*/" + +latest=$(ls -dt --time=birth $versions_dir | head -n 1) + +export WINEPREFIX=$(realpath $prefix) + +windows_path=$(winepath --windows $latest) + +wine $windows_path/RobloxStudioBeta.exe