Closed WasteOfO2 closed 2 years ago
Try using this below, I've modified the Garena script on lutris site, changing the wine version to lutris-ge-lol-6.16-2-x86_64
and change to win64 prefix. Install using
lutris -i garena.json
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 18124,
"game_id": 25042,
"game_slug": "garena",
"name": "Garena",
"year": 2017,
"user": "jccultima123",
"runner": "wine",
"slug": "garena-20",
"version": "2.0",
"description": "Garena for all",
"notes": "Don't use VN/SG/PH executables",
"created_at": "2020-01-29T14:07:47.501000Z",
"updated_at": "2021-09-16T09:32:28.266781Z",
"draft": false,
"published": true,
"published_by": 55808,
"rating": "",
"steamid": null,
"gogid": null,
"gogslug": "",
"humbleid": "",
"humblestoreid": "",
"humblestoreid_real": "",
"script": {
"files": [
{
"lol_installer": "http://cdn.gxx.garenanow.com/gxx/pc/installer/Garena-v2.0.exe"
},
{
"script1": "https://lutris.nyc3.digitaloceanspaces.com/games/league-of-legend/launchhelper.sh"
},
{
"script2": "https://lutris.nyc3.digitaloceanspaces.com/games/league-of-legend/syscall_check.sh"
}
],
"game": {
"exe": "$GAMEDIR/drive_c/Program Files (x86)/Garena/Garena/Garena.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "$lol_installer",
"description": "Do not log in during installation, just close the installation client once it will finish downloading 2.1 Go.",
"executable": "$GAMEDIR/drive_c/windows/explorer.exe",
"include_processes": "explorer.exe",
"name": "wineexec"
}
},
{
"task": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"key": "GrabFullScreen",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
"prefix": "$GAMEDIR",
"value": "Y"
}
},
{
"task": {
"key": "UseXVidMode",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
"prefix": "$GAMEDIR",
"value": "N"
}
},
{
"chmodx": "script1"
},
{
"chmodx": "script2"
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "script1"
}
},
{
"copy": {
"dst": "$GAMEDIR",
"src": "script2"
}
},
{
"task": {
"key": "background",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
"prefix": "$GAMEDIR",
"type": "REG_SZ",
"value": "40 40 40"
}
}
],
"require-binaries": "zenity, openssl",
"system": {
"disable_compositor": false,
"env": {
"DXVK_LOG_LEVEL": "none",
"DXVK_STATE_CACHE_PATH": "$GAMEDIR",
"STAGING_SHARED_MEMORY": 1,
"WINE_LARGE_ADDRESS_AWARE": 1,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
"__GL_THREADED_OPTIMIZATIONS": 1
},
"prelaunch_command": "$GAMEDIR/launchhelper.sh"
},
"wine": {
"MouseWarpOverride": "enable",
"dxvk": false,
"version": "lutris-ge-lol-6.16-2-x86_64"
}
}
}
]
}
Garena will show black screen with dxvk on, so please set everything up, and enable dxvk for better performance in LOL. It will be a black screen but I think you already know where the big Play button is :smile:
Thx a lot.
What I am saying is that there is a version of garena that does work with dxvk properly, without any bugs like the big black screen.
I would suggest having a look at that Vietnamese unpublished version, it seems to genuinely work well
fairly weird issue
i tried to download league externally and then move the files to garena and spoof it to think i alr have the game installed
this is a weird issue cuz i obv have 100s of GBs of storage on my pc left
Try copy anyway, I'm not sure what's the problem here
The unpublished installer works pretty good, it's still kinda slow, but that's the problem with Riot Games :disappointed:
Try copy anyway, I'm not sure what's the problem here
doesnt work, it just spews out error saying no more space left and gives up
i have a hunch that the wine prefixes arent done properly
Did you copy it from an ntfs partition ?
ok, so now i am running the Riot LoL client and this is interesting
000000.005| ALWAYS| Found associated Riot Client install (C:/Riot Games/Riot Client/RiotClientServices.exe)
000000.116| OKAY| Launched Riot Client with process 268
000000.116| ALWAYS| Riot Client started. Exiting with the expectation of being restarted (ExitForDirectLaunch).
000005.004| OKAY| EventCollector: 1 events remaining after thread join
000006.040| OKAY| Shut down EventCollector in 1037 milliseconds
Initial process has exited (return code: 0)
LeagueClientUx pid: 9812
Waiting for port 38121
It could be a port configuration issue, which i have no idea why it may have occurred, will check my firewall on this
Edit: as soon as i commented, the Ux loaded in
Maybe firewall have something to do with this as well, I personally don't have any firewall installed, so cannot be sure
ok, so it works perfectly
now i am almost 100% convinced this is a garena issue
Garena don't even care about LOL at this point. If it works, it works, although a bit slow, we can try and wait for some improvement from wine upstream
i am still very confused.
idk whats the issue here, the wine config or garena.
i mostly doubt the wine config here, i am gonna disable firewalls entirely and reboot
if it works, it works
if it doesnt, fuck you garena eat shit and choke
also, is there a way to manually generate the garena tokens?
I wish we knew how, the Garena client is closed source and there's no way of knowing how it works
nah in the sense that the garena script currently used aka lol.py
generates tokens right?
i just want it to work so that maybe i can just copy paste the token in the Arguements
field in Runner Options
and see if it works
In that sense you can copy it in the Arguments
, the lol.py
script just automatically does that for you, you can just comment out the lutris start part and copy the token
i didnt understand, can u possibly attach one for me?
In the lol.py
, comment out from line 65 to 108, and use it like normal, it'll print the generated garena token in the terminal
gotchu, thx
ah, it doesnt print out the token for garena
Can you describe how you do the process ?
python3 lol.py
The script will wait for a RiotClientServices.exe process to show up to get it's token. So go to the Garena client and press Play
Garena token got from RiotClientServices.exe: --rso-auth.platform=EUW1 --region=EUW --locale=en_GB --priority-launch-pid=252 --priority-launch-path=C:\Riot Games\League of Legends\LeagueClient.exe --upgrade-install-path=C:\Riot Games\League of Legends --upgrade-product=league_of_legends --upgrade-patchline=live
did just as u said, commented out the lines u mentioned
Wait, is that the EU LOL version, not Garena LOL ?
as i said, i wanted to switch and see if i can trick the client into thinking that i was garena
clearly didnt work out :p
cuz tbh, i have given up on garena lol at this point
Do you have Discord or something, I can guide you through, I started the game just fine
ye i got discord
What's your discord id so I can add friend you ?
uhh [Redacted]
a fix has been found, the wiki will be updated
in reference to this issue
interestingly, i tried one of the unverified installers, and it actually had dxvk with the ge-lol-6.16 runner work together check it out here it is the unverified installer btw
i am still just stuck on that issue i mentioned which is this
i have tried everything, from reinstalling lutris, reinstalling wine.
Also, the current installer apparently ships with
arch: win32
in everything, so i think that can be a potential issue in the installer scripti am on withdrawal symptoms from league ;-;