vinegarhq / vinegar

An open-source, minimal, configurable, fast bootstrapper for running Roblox on Linux.
https://vinegarhq.org
GNU General Public License v3.0
375 stars 34 forks source link

"wine not supported" #407

Closed wuvxy2 closed 4 months ago

wuvxy2 commented 4 months ago

Acknowledgement of preliminary instructions

What problem did you encounter?

Player-2024-03-07T17:28:55-06:00.log

System information

No response

lunarlettuce commented 4 months ago

397

sulincix commented 1 month ago
strings RobloxPlayerLauncher.exe | grep -i wine
 WinErr: 
WINE32
wine_get_version

Roblox Player check wine_get_version function. if we replace may works.

sed -i "s/wine_get_version/none_get_version/g" RobloxPlayerLauncher.exe
sulincix commented 1 month ago
#include <windows.h>
#include <stdio.h>
int main(void)
{
    static const char *(CDECL *pwine_get_version)(void);
    HMODULE hntdll = GetModuleHandle("ntdll.dll");
    if(!hntdll)
    {
        puts("Not running on NT.");
        return 1;
    }

    pwine_get_version = (void *)GetProcAddress(hntdll, "wine_get_version");
    if(pwine_get_version)
    {
        printf("Running on Wine... %s\n",pwine_get_version());
    }
    else
    {
        puts("did not detect Wine.");
    }

    return 0;
}

image

apprehensions commented 1 month ago

Well, how did it go?

lunarlettuce commented 1 month ago

ahh...if only it was this easy :)

sulincix commented 1 month ago

image

  1. patch binary with sed command
  2. run installer and install.
  3. go installed files and patch again
  4. remove installer file and replace with empty file
  5. replace ntdll.dll file from windows
  6. set wine version as 7
  7. run :D
sulincix commented 1 month ago

I think this patch required : https://github.com/wine-staging/wine-staging/blob/master/patches/ntdll-Hide_Wine_Exports/0001-ntdll-Add-support-for-hiding-wine-version-informatio.patch

lunarlettuce commented 1 month ago

duuuuuuude undetected bypass 2024 legit working free

tristann21 commented 1 month ago

image

1. patch binary with sed command

2. run installer and install.

3. go installed files and patch again

4. remove installer file and replace with empty file

5. replace ntdll.dll file from windows

6. set wine version as 7

7. run :D

Doesn't Hyperion just bork?

TeknosQuet commented 1 month ago

roblox hyperion (10 mil invested) VS replace 1 dll file and run on linux (0 dollar invested)

km9l commented 1 month ago
7. run :D
  1. see the smoke come out