bloxstraplabs / bloxstrap

An alternative bootstrapper for Roblox with a bunch of extra features.
https://bloxstraplabs.com
MIT License
1.77k stars 299 forks source link

Linux instructions to be added to wiki #1285

Closed user1126s closed 8 months ago

user1126s commented 8 months ago

Kindly add this to the wiki in its new section "bloxstrap on linux", just copy and paste (pics and videos coming soon.) (Please take care of the text size) (submit queries in replies) (will test other methods) (Name the submenu "Method 1:") 👇

Using Bloxstrap on Linux

While Bloxstrap only officially supports Windows, it's possible to get it to working to some extent on Linux with Wine.

[!WARNING] We don't officially recommend doing this. We don't guarantee any stability, or that we will be able to help you with any issues you may encounter.

You'll be fairly limited in what you can do as you won't be able to launch Roblox from your web browser, only through the desktop app, and that only partially works. We suggest that you use something native like Vinegar instead.

Nonetheless, if you want to try and get Bloxstrap working on Linux, then this is for you.

This guide will be making use of Bottles, a wrapper for Wine. Install it if you don't yet have it.

1. Create and configure the Bottle

Open Bottles, create a new Bottle, and choose the 'Gaming' enviornment, Name it 'Bloxstrap' as this bottle will be specific to Bloxstrap, and create it.

After it's created, go to your Bottles, select the one you just created for Bloxstrap, and install dependencies for dotnetcoredesktop6 and webview2. Do not install the urlmon dependency.

After you've installed the dependencies, download the Bloxstrap executable and add it as a shortcut. When browsing for the executable, you may need to change the filter in the bottom right of the file picker window to 'All Files'.

2. Running and installing Bloxstrap

Run the shortcut after you've added it. Bloxstrap should open, and you should be greeted with the familiar menu.

image

It'll typically default to displaying in light theme. Dark theme makes the text much more readable, which you can enable in the Appearance tab.

From here, you just configure and install it as you normally would.

3. Using Roblox

For the most part, Roblox should work normally. However, Roblox uses WebView2 for displaying browser pages, which is incredibly broken under Wine.

When logging into your Roblox account, you should opt to login through another device instead of using username/password.

This also means you should be wary of using the Desktop app, as WebView2 windows will be used for things like showing server lists, etc.

Other than that, Roblox should work mostly fine.

image

4. Creating the other shortcuts

You'll now need to create the other shortcuts for Bloxstrap's other functions. We'll create three: one for starting Roblox, one for opening the menu, and one for uninstalling it.

Rename the shortcut you originally created to 'Play Roblox', and then add two new shortcuts for the Bloxstrap executable.

image

Special thanks

This guide was created initially by @user1126s.

user1126s commented 8 months ago

Completed!

GoingCrazyDude commented 8 months ago

Whats with the weird style choices image

user1126s commented 8 months ago

Whats with the weird style choices image

i just posted the instructions, the style will be changed according to pizzaboxer's liking

user1126s commented 8 months ago

everything is fixed now!

user1126s commented 8 months ago

@pizzaboxer all good to go

user1126s commented 8 months ago

@pizzaboxer some pictures (don't mind the desktop layout, i use it because i contributed to it lol)

Screenshot_12-Feb_13-31-31_4042 Screenshot_12-Feb_13-32-01_30294 Screenshot_12-Feb_13-34-34_22271

user1126s commented 8 months ago

text in codeblocks for direct copy and paste:

# Bloxstrap On Linux (Method 1)
## Getting Bloxstrap to Work On Linux

To Use Bloxstrap On Linux, You have to do some additional steps.
if you face any issue, I or someone with the knowledge will help you. Do note that it could take upto 24 hours to respond, so be patient.
### Step 1 -
To Make Bloxstrap Work On Linux, We Have To Use A Program Called Bottles.
There Are two ways to install bottles,
**If You are using fedora or any of its remixes**: (projects based on fedora like nobara linux), Type Sudo Dnf Install Bottles.
**Debian and others**: the community has maintained some versions in their repos, but we don't know if they are up to date.
**Flatpak**: this is the most recommended method, it works on all distributions with flatpak installed (guide on their website). Just go to flathub, search bottles and copy the command and paste it in terminal
**Snap**: kinda slow but the above method.

### Step 2: 
Run Bottles, click on plus and select the gaming enviornment option, if you are on nobara, you will have performance boost because it is patched with F-Sync and patches. It will take a while. Name it Bloxstrap for better identification. Do note that this prefix will be sandboxed (the data is not stored on the wine prefix. It makes a new one.
After it is done, click the '>' arrow which is located right next to the prefix name.

### Step 3:
In The Prefix Menu, click dependencies, click the search button and type Dotnetcoredesktop6 and click it. after it is done, search for and click on webview2. 
**### WARNING:** Do not under any circumstances select the urlmon dependency, it is there by default but selecting it breaks your prefix. you may select any other fonts or dependencies as required.

### Step 4: 
Go back and click add shortcuts, download the exe and add it as shortcut.
Click on play button, the Gui will be a bit glitchy but just scroll a bit to fix it. The roblox will work normally.

### Step 5:
After you have customized to your needs and installed it, close roblox and click add shortcut again. Then press any key to enter the manual mode,  
Then press backspace, then,
if you downloaded from package then type .local/share/bottles/(the name you gave it)/drive_c/users/(your username)/appdata/local/Bloxstrap and select Bloxstrap .exe

For flatpak go to: .var/apps/com.usebottles.bottles/data/bottles/(the name you gave it)/drive_c/users/(your username)/appdata/local/Bloxstrap and select Bloxstrap .exe

Click the 3 dots, click rename, rename it to play roblox! 

### Step 6: 
Again go to the location and select Bloxstrap.exe
Click the 3 dots and select arguments or launch arguments and type -menu.
Rename it to Bloxstrap Menu.
To launch roblox, open bottles, click the arrow next to your prefix, and select play roblox for player or Bloxstrap menu for the menu.

### Step 7: 
In case roblox does not launch, clicking the installer shortcut will reinstall it.

# Very Important:
Following this step, you have to login with another device as webview is buggy, (in my case).
Also note that browser integration does not work for now.

# Other Notable Projects
1. Vinegar by Vinegarhq, a fast bootstraper for linux (Bloxstrap like gui coming soon) (webview issues but supports browser) 
2. Grapejuice, a bootstraper with GUI, just a lot slower because it is based on python.
The above projects have similar functions like Bloxstrap, just some things missing.
# Helpful People
1. Wael from Vinegarhq discord
2.  User1126s for testing on nobara linux and writing everything you have read so far
3. Pizzaboxer for solving my doubts.

# Showcase:
![Screenshot_12-Feb_13-34-34_22271](https://github.com/pizzaboxer/bloxstrap/assets/114283670/39b361c8-e5b0-451e-9a49-af141c162032)
![Screenshot_12-Feb_13-32-01_30294](https://github.com/pizzaboxer/bloxstrap/assets/114283670/96250e42-9a6d-4f01-a88c-f254f49e0c5a)
![Screenshot_12-Feb_13-31-31_4042](https://github.com/pizzaboxer/bloxstrap/assets/114283670/0edc6105-f915-4683-bc2a-fd8a17094f04)
pizzaboxer commented 8 months ago

I'll edit your submission a bit later so it looks better. I'll ask you for feedback whenever I made changes.

Before I make any changes, I'll confirm the instructions myself to ensure that they're valid and see if I can perhaps make anything more concise.

pizzaboxer commented 8 months ago

@user1126s I've edited your original post to reflect my edits. Let me know how it is, in case you want me to include extra information or word something a bit differently.

user1126s commented 8 months ago

It's all nice and fine, you should add that to the wiki.

EDLLT commented 8 months ago

The real question is whether if this one actually allows multiple instances of roblox to actually launch because afaik, vinegar and grapejuice aren't able to do so atm

user1126s commented 8 months ago

Yes

pizzaboxer commented 8 months ago

Alright, I've added it to the Wiki. If you want to request any changes on it, then just reply back to this issue.