vinegarhq / wine-builds

Wine staging builds with patches specialized for running Roblox.
8 stars 4 forks source link

Roblox Studio on Android via wine + mobox + vinegar patches + termux x11 + hardware acceleration #7

Open EDLLT opened 2 weeks ago

EDLLT commented 2 weeks ago

This is something that I've been thinking for a while and I really want to get it working so any help would be appreciated I have already created a discord thread over here

Introduction

Terminology(If you're new to running linux on Android, then I'd highly recommend reading this) https://github.com/LinuxDroidMaster/Termux-Desktops/blob/main/Documentation/terminology.md

This is mobox https://github.com/olegos2/mobox

This is Termux X11 https://github.com/termux/termux-x11

Guide on setting up Termux, termux x11 and mobox https://github.com/LinuxDroidMaster/Termux-Desktops/tree/main

Simply put, Termux:X11 is an app for android that allows you to have an X11 based desktop environment which is 1000x(very accurate) better than VNC

Then there's hardware acceleration which is quite easy if you have an Android device with an Adreno GPU(snapdragon cpus have it using Turnip(Compatible only with Adreno 610 and above with exceptions like 710, 642L, etc)

Problem

I ran mobox then attempted to open studio through there but it presented me with the following error image wine_logs.txt

I was told by bon_v2 that patching wine with the mobox patches and childwindow patches might fix the issue; However, he's not sure that this is what caused the above. I am willing to attempt to compile and patch wine to get this to work, if anyone understands the issue above please let me know

How I think I should tackle this

Here's my thought process so correct me if I'm wrong please

Download wine's source code from https://gitlab.winehq.org/wine/wine (this is vanilla wine right?) Apply patches from https://github.com/olegos2/mobox/tree/main/patches Test whether if this even works before proceeding

Then try applying patches from vinegar https://github.com/vinegarhq/wine-builds (The vinegar patches might fail since they were for proton so I will probably have to edit them)

Finally, replace the mobox wine package inside the glibc directory with my custom patched wine then attempt to run roblox studio

Questions

Is the original error caused by needing a custom patched wine or is it something else?

EDLLT commented 2 weeks ago

I've made some progress, I found this project which contains wine specifically patched for termux's glibc https://github.com/airidosas252/Wine-Builds