Code Monkey home page Code Monkey logo

wine-lol's Introduction

IMPORTANT NOTICE

Riot plans to add Vanguard, a hightly intrusive always running kernel level anti cheat, to LoL within just a few patches. If you haven't started to play LoL by now, and you plan to play exclusively on Linux, then you shouldn't waste time into this game and better give Dota 2 a chance. Another option for the future may be SMITE 2 which will be in early alpha in Spring 2024. SMITE 2 will officially support the SteamDeck and so likely runs on any Linux system.

More info:

Wine-LoL

This repository contains build scripts to build wine-lol for Arch Linux (with sync to AUR). These PKGBUILDs build or repackage the LoL wine version created by GloriousEggroll. If you are no Arch user, please get the builds from GloriousEggroll directly.

All the PKGBUILDs do is help maintaining the LoL wine version on a central location. If you use it directly, you'll find the "wine executable" at the path /opt/wine-lol/bin/wine. But most users probably want to use a helper tool like leagueoflegends-git.

NOTE: Wine is a huge project. Depending on your system performance, you can expect up to one hour of build time or even longer. If you don't want to wait that long, please use the wine-lol-bin PKGBUILD which will just repackage the prebuilt version from GloriousEggroll and so is considerably faster!

WARNING: While in the past the Linux community received some help from Riot employees in cases where the in-game anti cheat caused the game to break on Linux with Wine, this is not guaranteed to keep this way. Especially as Riot plans to create some kernel driver based anti cheat which may land in LoL at some time. So far noone knows for sure if LoL will still work with Wine as soon as this happens. So if you are playing on Linux, it is strongly recommended to not spend any money on skins or other in-game items! Your money will be lost as soon as Wine support breaks.

Short overview about this repository:

  • wine-lol contains the PKGBUILD of wine-lol itself
  • wine-lol-bin contains a PKGBUILD which repackages GloriousEggroll's official binaries
  • pkg.sh Small helper I use for handling "git subtree" for AUR

Contributor notes about Wine version updates

I no longer choose, patch and test Wine versions. This repository is only building or repackaging the great work done by GloriousEggroll. So only releases he decides to be ready to ship will be handled by my PKGBUILDs. So check his Releases before flagging out of date or opening an Issue.

wine-lol's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wine-lol's Issues

glibc 2.32 breaks window positioning and resolution

After upgrading to glibc 2.32, whenever the client requests to position its window, it moves itself to the top of the screen. As well, only the lowest client resolution is available (1024x576).

I'm running i3 on Arch Linux, latest kernel, DXVK enabled. My system runs an R5 2600 w/ an RX 580.

I'm happy to debug this issue if it's not reproducible, but I'm not sure how a glibc update would break something related to X and nothing else.

error : glibc 2.32 not found

when i tried running wine-lol, i get this error every time.
I tried reinstalling wine-lol, wine-lol-glibc, glibc ,lib32-glibc.
wine: failed to initialize: /opt/wine-lol/lib32/libc.so.6: version `GLIBC_2.32' not found (required by /opt/wine-lol/lib32/wine/ntdll.dll.so)

Configure error aborts compilation

When building Wine-64:

configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...

config.log

Alt+F4 doesn't work.

Is there a way to fix alt+f4? Lutris lol have this functionality, but it requires you to set abi.vsyscalls.

Release package

I cannot compile wine with my computer (out of curiosity, it's a Manjaro OS). I'm trying to debug and solve this problem, but everytime I test a new setup, it takes a huge time to retry to compile, so I've been in this situation in the last days.

Do you think it's possible for you to submit under the Release page a pre-compiled version?

cannot launch the installer

I build it successfully but I cannot launch the installer with wine-lol.

000b:fixme:winediag:start_process Wine Staging 4.9 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: Unhandled page fault on read access to 0xffffffff at address 0x7b48ae49 (thread 0029), starting debugger...
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0x7b48ae49).
002d:fixme:dbghelp:elf_search_auxv can't find symbol in module
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b48ae49 ESP:00edfe70 EBP:00edfe9c EFLAGS:00010202(  R- --  I   - - - )
 EAX:00edfecc EBX:002924d8 ECX:ffffffff EDX:00000000
 ESI:0057c42c EDI:00edfec8
Stack dump:
0x00edfe70:  00000000 00000000 00000000 00000000
0x00edfe80:  00000000 00000000 00000000 00000000
0x00edfe90:  00000000 00000000 00000000 002924d8
0x00edfea0:  0057c474 00000002 00edfecc 00000000
0x00edfeb0:  ffffffff 00000000 00000000 00000000
0x00edfec0:  0000001f 00000000 00000000 0000009c
Backtrace:
=>0 0x7b48ae49 WaitForMultipleObjects+0x9() in kernel32 (0x00edfe9c)
  1 0x0057c474 in league of legends installer na. (+0x17c473) (0x002924d8)
0x7b48ae49 WaitForMultipleObjects+0x9 in kernel32:
Modules:
Module  Address                 Debug info      Name (87 modules)
PE        400000-  6be000       Export          league of legends installer na
ELF     7b400000-7b824000       Dwarf           kernel32<elf>
  \-PE  7b430000-7b824000       \               kernel32
ELF     7bc00000-7bd4f000       Deferred        ntdll<elf>
  \-PE  7bc40000-7bd4f000       \               ntdll
ELF     7c000000-7c005000       Deferred        <wine-loader>
ELF     7c4fe000-7c507000       Deferred        libffi.so.6
ELF     7c507000-7c592000       Deferred        libgmp.so.10
ELF     7c592000-7c5cd000       Deferred        libhogweed.so.4
ELF     7c5cd000-7c60b000       Deferred        libnettle.so.6
ELF     7c60b000-7c620000       Deferred        libtasn1.so.6
ELF     7c620000-7c762000       Deferred        libp11-kit.so.0
ELF     7c762000-7c96e000       Deferred        libgnutls.so.30
ELF     7c96e000-7c9ff000       Deferred        libcups.so.2
ELF     7ca3d000-7ca80000       Deferred        uxtheme<elf>
  \-PE  7ca50000-7ca80000       \               uxtheme
ELF     7cc05000-7cc41000       Deferred        libexpat.so.1
ELF     7cc41000-7cc8d000       Deferred        libfontconfig.so.1
ELF     7cc8d000-7cd06000       Deferred        libpcre.so.1
ELF     7cd06000-7ce42000       Deferred        libglib-2.0.so.0
ELF     7ce42000-7cf4a000       Deferred        libharfbuzz.so.0
ELF     7cf4a000-7d020000       Deferred        libfreetype.so.6
ELF     7d068000-7d075000       Deferred        libxcursor.so.1
ELF     7d075000-7d07f000       Deferred        libuuid.so.1
ELF     7d07f000-7d099000       Deferred        libz.so.1
ELF     7d099000-7d0d9000       Deferred        libpng16.so.16
ELF     7d0d9000-7d0eb000       Deferred        libbz2.so.1.0
ELF     7d0eb000-7d0ff000       Deferred        libxi.so.6
ELF     7d0ff000-7d104000       Deferred        libxcomposite.so.1
ELF     7d104000-7d113000       Deferred        libxrandr.so.2
ELF     7d113000-7d121000       Deferred        libxrender.so.1
ELF     7d121000-7d128000       Deferred        libxxf86vm.so.1
ELF     7d128000-7d12d000       Deferred        libxinerama.so.1
ELF     7d12d000-7d135000       Deferred        libxdmcp.so.6
ELF     7d135000-7d161000       Deferred        libxcb.so.1
ELF     7d161000-7d2ae000       Deferred        libx11.so.6
ELF     7d2ae000-7d2c4000       Deferred        libxext.so.6
ELF     7d2c4000-7d374000       Deferred        winex11<elf>
  \-PE  7d2f0000-7d374000       \               winex11
ELF     7d374000-7d3e4000       Deferred        libncursesw.so.6
ELF     7d3e5000-7d3ed000       Deferred        libxfixes.so.3
ELF     7d422000-7d45d000       Deferred        ws2_32<elf>
  \-PE  7d430000-7d45d000       \               ws2_32
ELF     7d45d000-7d58d000       Deferred        oleaut32<elf>
  \-PE  7d490000-7d58d000       \               oleaut32
ELF     7d58d000-7d658000       Deferred        msvcrt<elf>
  \-PE  7d5c0000-7d658000       \               msvcrt
ELF     7d658000-7d6a7000       Deferred        winspool<elf>
  \-PE  7d670000-7d6a7000       \               winspool
ELF     7d6a7000-7d6c4000       Deferred        aclui<elf>
  \-PE  7d6b0000-7d6c4000       \               aclui
ELF     7d6c4000-7d761000       Deferred        rpcrt4<elf>
  \-PE  7d6f0000-7d761000       \               rpcrt4
ELF     7d761000-7d8bd000       Deferred        ole32<elf>
  \-PE  7d7a0000-7d8bd000       \               ole32
ELF     7d8bd000-7d8f0000       Deferred        shcore<elf>
  \-PE  7d8d0000-7d8f0000       \               shcore
ELF     7d8f0000-7d971000       Deferred        shlwapi<elf>
  \-PE  7d910000-7d971000       \               shlwapi
ELF     7d971000-7e35b000       Deferred        shell32<elf>
  \-PE  7d9a0000-7e35b000       \               shell32
ELF     7e35b000-7e465000       Deferred        comdlg32<elf>
  \-PE  7e370000-7e465000       \               comdlg32
ELF     7e465000-7e489000       Deferred        imm32<elf>
  \-PE  7e470000-7e489000       \               imm32
ELF     7e489000-7e4e4000       Deferred        usp10<elf>
  \-PE  7e4a0000-7e4e4000       \               usp10
ELF     7e4e4000-7e50d000       Deferred        version<elf>
  \-PE  7e4f0000-7e50d000       \               version
ELF     7e50d000-7e665000       Deferred        gdi32<elf>
  \-PE  7e530000-7e665000       \               gdi32
ELF     7e665000-7e892000       Deferred        user32<elf>
  \-PE  7e6a0000-7e892000       \               user32
ELF     7e892000-7ea00000       Deferred        comctl32<elf>
  \-PE  7e8c0000-7ea00000       \               comctl32
ELF     7ea00000-7ea86000       Deferred        advapi32<elf>
  \-PE  7ea20000-7ea86000       \               advapi32
ELF     7ef00000-7ef16000       Deferred        wow64cpu<elf>
  \-PE  7ef10000-7ef16000       \               wow64cpu
ELF     7ef16000-7ef2a000       Deferred        libnss_files.so.2
ELF     7ef2a000-7eff6000       Deferred        libm.so.6
ELF     7eff6000-7f000000       Deferred        librt.so.1
ELF     f7b83000-f7b88000       Deferred        libxau.so.6
ELF     f7b8a000-f7b90000       Deferred        libdl.so.2
ELF     f7b90000-f7d6c000       Deferred        libc.so.6
ELF     f7d6c000-f7d8d000       Deferred        libpthread.so.0
ELF     f7f57000-f7f81000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\League of Legends installer NA.exe
        ["C:\League of Legends installer NA.exe"]
        0000002b    2 <==
        0000002a    2
        00000029    2
        00000009    0
0000000e services.exe
        [C:\windows\system32\services.exe]
        00000022    0
        0000001c    0
        00000015    0
        00000010    0
        0000000f    0
00000011 plugplay.exe
        [C:\windows\system32\plugplay.exe]
        00000019    0
        00000018    0
        00000012    0
00000013 explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        00000028    0
        00000027    0
        00000026    0
        00000014    0
0000001a winedevice.exe
        [C:\windows\system32\winedevice.exe]
        0000001f    0
        0000001e    0
        0000001d    0
        0000001b    0
00000020 winedevice.exe
        [C:\windows\system32\winedevice.exe]
        00000025    0
        00000024    0
        00000023    0
        00000021    0
0000002e explorer.exe
        [C:\windows\system32\explorer.exe /desktop]
        00000032    0
        00000031    0
        00000030    0
        0000002f    0
System information:
    Wine build: wine-4.9 (Staging)
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 5.1.15-arch1-1-ARCH

2019-06-26_23:15:20_current

error wine-lol version 4.17-1

freetype is installed, but still that error comes out
i'm using manjaro linux

checking for -lfreetype... not found
configure: error: FreeType 32-bit development files not found. Fonts will not be built.

Remove the mesa-libgl dependency

Some versions of mesa does not provide mesa-libgl, mesa-aco-git in my case, I removed the dependency manually and it builds and runs just fine (mesa is the only actual provider for mesa-libgl and is already a dependency anyway)

Unable to build due to Freetype

When building on Arch Linux I get the following error:

checking for -lfreetype... not found
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

Of course, both Freetype and Freetype 32-bit libraries are installed (it is a dependency of wine-lol, after all). What's happening?

Can you create a wine-lol with the fsync patch please (futex)?

Hi, I love your work there but with the actual wine-lol, I can't use the variable WINEFSYNC = 1. I already have the required kernel but I not the good wine. Can you please make a wine-lol-fsync? I don't know how to proceed (kindanoob :/) so I hope you can help me. Thanks

Can't build : ld error during a cross compilation

Hello,
As suggested by M-Reimer I move here a comment I made on the AUR.
I can't manage to build wine-lol. During something that appears to be a cross-compilation the mingw linker can't find -lgcc and -lgcc_eh. I already installed wine-lol-glibc but still have this error. What do I need to install to satisfy these dependencies ? I don't know exactly what lgcc(_eh) stands for.

Precisions :
-I use "standard" Archlinux
-I did not use any AUR helper

Thanks for help

FreeType error

I keep getting this error even with freetype2 and lib32-freetype2 being installed, not really sure what to do

configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. ==> ERROR: A failure occurred in build(). Aborting... :: Unable to build wine-lol - makepkg exited with code: 4
thanks for any help

Stuck on client startup

Hey, I'm currently trying to setup league with wine-lol and and i keep getting stuck on the client startup. I used the draft install script in the lutris page. I have also tried not using lutris but i ran into the same problem. I'm using Artix Linux x64 (basically identical to Arch). Help would be much appreciated, thanks for your time.

Lutris log

EDIT: I also used yay to build wine-lol and wine-lol-glibc without any problems.

Can't write chat messages

I cannot write in the game in my own language (Russian). When typing a message just nothing happens.

README.md or install instructions ?

Hey Guys,

How can i install this library. I did not have experience about that makepkg or another command.
I look at some issues and i try to this command but i am getting this error.
image
Please somebody give me install instructions ๐Ÿ˜ข

I am using Manjaro Stable (Linux halil-pc 4.19.49-1-MANJARO #1 SMP PREEMPT Sun Jun 9 20:24:20 UTC 2019 x86_64 GNU/Linux)
All updates are installed.

Wine 5.11 includes a bunch of League fixes

I know that this repository doesn't get updated simply because there's a new wine version, but 5.11 includes some fixes which may remove the need for some of the patches applied:

45571 League of Legends 8.12+ fails to start a game (anticheat engine, hooking of NtCreateThread/Ex)
45572 League of Legends 8.12+ fails to start a game (anticheat engine, hooking of NtContinue)
45667 League of Legends 8.15+ fails due to missing implementation of NtQueryVirtualMemory(MemoryWorkingSetExInformation)

The regressions from 5.7 seem to be fixed also.

An error occurred when building it

==> Making package: wine-lol-glibc 2.29-3 (Wed 26 Jun 2019 05:00:53 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found glibc-2.29.tar.xz
  -> Found bz20338.patch
  -> Found 0001-Revert-elf-Correct-absolute-SHN_ABS-symbol-run-time-.patch
  -> Found file-truncated-while-reading-soname-after-patchelf.patch
  -> Found wine-lol-poc1-glibc.diff
==> Validating source files with md5sums...
    glibc-2.29.tar.xz ... Passed
    bz20338.patch ... Passed
    0001-Revert-elf-Correct-absolute-SHN_ABS-symbol-run-time-.patch ... Passed
    file-truncated-while-reading-soname-after-patchelf.patch ... Passed
    wine-lol-poc1-glibc.diff ... Passed
==> Extracting sources...
  -> Extracting glibc-2.29.tar.xz with bsdtar
==> Starting prepare()...
ln: failed to create symbolic link 'glibc/glibc-2.29': File exists
==> ERROR: A failure occurred in prepare().
    Aborting...

How do I fix it?

Cannot compile. Failing on cross compiling check

Whether using makepkg or yay

  -> Building Wine-32...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/home/petrovich/.cache/yay/wine-lol/src/wine-lol-32-build':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

config.log

Can't build, 5 out of 5 hunks failed

I've installed wine-lol-glibc, and then I wanted to build wine-lol but I keep getting this error:

==> Starting prepare()...
~/wine-lol/wine-lol/src/wine-staging-5.6/patches ~/wine-lol/wine-lol/src 
Applying /home/agzo/wine-lol/wine-lol/src/wine-staging-5.6/patches/Compiler_Warnings/0001-windowscodecs-Avoid-implicit-cast-of-interface-point.patch
patching dlls/windowscodecs/info.c
5 out of 5 hunks FAILED -- saving rejects to file dlls/windowscodecs/info.c.rej
[PATCH] ERR: Textual patch did not apply, aborting.
ERROR: Failed to apply patch, aborting!
==> ERROR: A failure occurred in prepare().

And there is info.c.rej:

--- dlls/windowscodecs/info.c
+++ dlls/windowscodecs/info.c
@@ -222,7 +222,7 @@ typedef struct {
 
 static inline BitmapDecoderInfo *impl_from_IWICBitmapDecoderInfo(IWICBitmapDecoderInfo *iface)
 {
-    return CONTAINING_RECORD(iface, BitmapDecoderInfo, base.IWICComponentInfo_iface);
+    return CONTAINING_RECORD((IWICComponentInfo*)iface, BitmapDecoderInfo, base.IWICComponentInfo_iface);
 }
 
 static HRESULT WINAPI BitmapDecoderInfo_QueryInterface(IWICBitmapDecoderInfo *iface, REFIID iid,
@@ -713,7 +713,7 @@ typedef struct {
 
 static inline BitmapEncoderInfo *impl_from_IWICBitmapEncoderInfo(IWICBitmapEncoderInfo *iface)
 {
-    return CONTAINING_RECORD(iface, BitmapEncoderInfo, base.IWICComponentInfo_iface);
+    return CONTAINING_RECORD((IWICComponentInfo*)iface, BitmapEncoderInfo, base.IWICComponentInfo_iface);
 }
 
 static HRESULT WINAPI BitmapEncoderInfo_QueryInterface(IWICBitmapEncoderInfo *iface, REFIID iid,
@@ -1005,7 +1005,7 @@ typedef struct {
 
 static inline FormatConverterInfo *impl_from_IWICFormatConverterInfo(IWICFormatConverterInfo *iface)
 {
-    return CONTAINING_RECORD(iface, FormatConverterInfo, base.IWICComponentInfo_iface);
+    return CONTAINING_RECORD((IWICComponentInfo*)iface, FormatConverterInfo, base.IWICComponentInfo_iface);
 }
 
 static HRESULT WINAPI FormatConverterInfo_QueryInterface(IWICFormatConverterInfo *iface, REFIID iid,
@@ -1219,7 +1219,7 @@ typedef struct {
 
 static inline PixelFormatInfo *impl_from_IWICPixelFormatInfo2(IWICPixelFormatInfo2 *iface)
 {
-    return CONTAINING_RECORD(iface, PixelFormatInfo, base.IWICComponentInfo_iface);
+    return CONTAINING_RECORD((IWICComponentInfo*)iface, PixelFormatInfo, base.IWICComponentInfo_iface);
 }
 
 static HRESULT WINAPI PixelFormatInfo_QueryInterface(IWICPixelFormatInfo2 *iface, REFIID iid,
@@ -1531,7 +1531,7 @@ static struct metadata_container *get_metadata_container(MetadataReaderInfo *inf
 
 static inline MetadataReaderInfo *impl_from_IWICMetadataReaderInfo(IWICMetadataReaderInfo *iface)
 {
-    return CONTAINING_RECORD(iface, MetadataReaderInfo, base.IWICComponentInfo_iface);
+    return CONTAINING_RECORD((IWICComponentInfo*)iface, MetadataReaderInfo, base.IWICComponentInfo_iface);
 }
 
 static HRESULT WINAPI MetadataReaderInfo_QueryInterface(IWICMetadataReaderInfo *iface,

Slow client startup

Not a huge issue, but I want to leave this here in case others are having the same experience.

With the new client meant for their new catalog of games, things have gotten quite slow. After logging in, it takes almost 2 minutes for the actual League client to open. It seems that it's waiting for something that isn't working, unfortunately with a rather long timeout.

missing MSVCRT

Is there a way to add the libery MSVCRT?
With "WINEPREFIX=~/lol-wine/ winetricks" does not seems to do it...
I want to add this because it seems that it needs it to load the frinds list.

Plan on keeping up with wine?

Hello,

Do you plan on keeping this up to date along wine?
Wine is ""already"" at 4.11, but I don't know how tough
it is to follow the train

Cheers!

A failure occurred in build()

I'm trying to install it for the first time, but I get this error:

usr/bin/ld: config.o: direct GOT relocation R_386_GOT32X against `fwrite@@GLIBC_2.0' without base register can not be used when making a shared object
/usr/bin/ld: debug.o: direct GOT relocation R_386_GOT32X against `vfprintf@@GLIBC_2.0' without base register can not be used when making a shared object
/usr/bin/ld: ldt.o: direct GOT relocation R_386_GOT32X against `syscall@@GLIBC_2.0' without base register can not be used when making a shared object
/usr/bin/ld: loader.o: direct GOT relocation R_386_GOT32X against `sysconf@@GLIBC_2.0' without base register can not be used when making a shared object
/usr/bin/ld: mmap.o: direct GOT relocation R_386_GOT32X against `mmap64@@GLIBC_2.1' without base register can not be used when making a shared object
/usr/bin/ld: port.o: direct GOT relocation R_386_GOT32X against `strtolW' without base register can not be used when making a shared object
/usr/bin/ld: ../../libs/port/libwine_port.a(mbtowc.o): direct GOT relocation R_386_GOT32X against `__stack_chk_fail@@GLIBC_2.4' without base register can not be used when making a shared object
/usr/bin/ld: ../../libs/port/libwine_port.a(string.o): direct GOT relocation R_386_GOT32X against `__ctype_b_loc@@GLIBC_2.3' without base register can not be used when making a shared object
/usr/bin/ld: ../../libs/port/libwine_port.a(utf8.o): direct GOT relocation R_386_GOT32X against `__stack_chk_fail@@GLIBC_2.4' without base register can not be used when making a shared object
/usr/bin/ld: ../../libs/port/libwine_port.a(wctomb.o): direct GOT relocation R_386_GOT32X against `__stack_chk_fail@@GLIBC_2.4' without base register can not be used when making a shared object
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:301: libwine.so.1.0] Error 1
make[1]: Leaving directory '/home/***/.cache/yay/wine-lol/src/wine-lol-32-build/libs/wine'
make: *** [Makefile:8177: libs/wine] Error 2
make: *** Waiting for unfinished jobs....
gcc -m32 -c -o renderer.o ../../../wine-lol/dlls/strmbase/renderer.c -I. -I../../../wine-lol/dlls/strmbase \
  -I../../include -I../../../wine-lol/include -D__WINESRC__ -D_REENTRANT -fno-PIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
gcc -m32 -c -o seeking.o ../../../wine-lol/dlls/strmbase/seeking.c -I. -I../../../wine-lol/dlls/strmbase \
  -I../../include -I../../../wine-lol/include -D__WINESRC__ -D_REENTRANT -fno-PIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
gcc -m32 -c -o transform.o ../../../wine-lol/dlls/strmbase/transform.c -I. -I../../../wine-lol/dlls/strmbase \
  -I../../include -I../../../wine-lol/include -D__WINESRC__ -D_REENTRANT -fno-PIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
gcc -m32 -c -o video.o ../../../wine-lol/dlls/strmbase/video.c -I. -I../../../wine-lol/dlls/strmbase \
  -I../../include -I../../../wine-lol/include -D__WINESRC__ -D_REENTRANT -fno-PIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
gcc -m32 -c -o window.o ../../../wine-lol/dlls/strmbase/window.c -I. -I../../../wine-lol/dlls/strmbase \
  -I../../include -I../../../wine-lol/include -D__WINESRC__ -D_REENTRANT -fno-PIC -Wall -pipe \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
rm -f libstrmbase.a
ar rc libstrmbase.a audio.o dispatch.o dllfunc.o enumpins.o filter.o mediatype.o outputqueue.o pin.o pospass.o \
  qualitycontrol.o renderer.o seeking.o transform.o video.o window.o
ranlib libstrmbase.a
make[1]: Leaving directory '/home/***/.cache/yay/wine-lol/src/wine-lol-32-build/dlls/strmbase'
make[1]: Leaving directory '/home/***/.cache/yay/wine-lol/src/wine-lol-32-build/dlls/msvcrt'
==> ERROR: A failure occurred in build().
    Aborting...
Error making: wine-lol

How do I fix this?

Game Client crashes on 9.20

With the new patch of League 9.20 and the latest wine-lol 4.17x the launcher works somewhat fine although it seems quite slow to launch but the client crashes whenever a game is started.

Here are the 3 relevant log lines I get from wine whenever I start a game and it crashes :

00b5:fixme:ntdll:NtCreatePowerRequest (0x32e914, 0x32e918): stub
01c2:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
01c2:fixme:ntdll:NtQuerySystemInformation SystemExtendedProcessInformation, len 1048576, buffer 0x3530020, stub!

AUR: Invalid sha512 and failure to apply patch

First of all thanks for your work in favor of Linux gaming.

I just tried building wine-lol from the AUR and got a sha512 mismatch for the wine patch wine-lol-bug-47198-fix.patch. I've seen you recently did a rename so I updated the PKGBUILD. But then the second hunk of the patch failed to apply on wine 5.6:

patching file dlls/ntdll/thread.c
Hunk #1 succeeded at 206 with fuzz 2 (offset -20 lines).
Hunk #2 FAILED at 501.
1 out of 2 hunks FAILED -- saving rejects to file dlls/ntdll/thread.c.rej
==> ERROR: A failure occurred in prepare().

It seems indeed that the patch is invalid for this version of wine.

I'm running Arch with the latest updates, no AUR helper.

League starts fine, keyboard does not work...

The client and game are working fine. When I get in the game, my keyboard does not work for some reason.

Weird enough when I alt+tab back into the game, the keyboard is working but I cant navigate with the mouse....

Using syscall_check.sh (using Lutris) and ofcourse your wine-lol.

Can you tell me what logs do you want? So I can attach them.

Having an AMD RX570. Running Arch

When I checked D9VK it worked for some reason.

I will close the issue.

No gtk/gtk.h found: Cannot build

Sorry in advance because I'm very new to github and linux. I've been trying makepkg and I keep getting this error.

gcc -m32 -c -o gtk-button.o ../../../wine-lol/dlls/uxtheme/gtk-button.c -I. -I../../../wine-lol/dlls/uxtheme \ -I../../include -I../../../wine-lol/include -D__WINESRC__ -D_REENTRANT -fno-PIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \ -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \ -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -m32 -march=x86-64 -mtune=generic -O2 -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 In file included from ../../../wine-lol/dlls/uxtheme/gtk-button.c:25: ../../../wine-lol/dlls/uxtheme/uxthemegtk.h:28:10: fatal error: gtk/gtk.h: No such file or directory #include <gtk/gtk.h> ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:240: gtk-button.o] Error 1 make[1]: Leaving directory '/home/adhire/Programs/wine-lol/src/wine-lol-32-build/dlls/uxtheme' make: *** [Makefile:8879: dlls/uxtheme] Error 2 ==> ERROR: A failure occurred in build().

Am I missing something or is there something I'm doing wrong?

64bit version for Legends of Runeterra

Do you think you could have a 64bit version of wine-lol to use with Legends of Runeterra ?

The game displays the same difficulties that League of Legends does (critical error on game launch), so I tried using wine-lol with it, but it's a 64bit game, and wine-lol is 32bit only (if I'm not mistaking).

If it doesn't make sense to make a 64bit version as its not related to League of Legends, what would I need to change in a fork to make it 64bit ?

Thank you

wine-lol won't use my prefix

i created this shell script in ion:
#!/usr/local/bin/ion
let WINEARCH="win32"
let WINEPREFIX="/home/melton/Games/lol"
/opt/wine-lol/bin/wine $1 $2 $3
and bash
#!/bin/bash
WINEARCH="win32"
WINEPREFIX="/home/melton/Games/lol"
/opt/wine-lol/bin/wine $1 $2 $3

but wine-lol won't use my custom set wine prefix when I run this shell script

PKGBUILD failing now

Current PKGBUILD fails:

i686-w64-mingw32-gcc -c -o misc.cross.o ../../../wine-lol/dlls/setupapi/misc.c -I. -I../../../wine-lol/dlls/setupapi \
  -I../../include -I../../../wine-lol/include -I../../../wine-lol/include/msvcrt -D__WINESRC__ \
  -D_SETUPAPI_ -D_UCRT -DWINE_CROSS_PE -Wall -D_FORTIFY_SOURCE=2 -g -O2
/usr/lib/gcc/i686-w64-mingw32/10.2.0/../../../../i686-w64-mingw32/bin/ld: schrpc_c.cross.o:schrpc_c.c:(.bss+0x0): multiple definition of `rpc_handle'; atsvc_c.cross.o:atsvc_c.c:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/i686-w64-mingw32-gcc failed
make[1]: *** [Makefile:437: schedsvc_test-stripped.exe] Error 2
make[1]: Leaving directory '/home/matt/tmp/makepkg/wine-lol/src/wine-lol-32-build/dlls/schedsvc/tests'
make: *** [Makefile:9838: dlls/schedsvc/tests] Error 2
make: *** Waiting for unfinished jobs....

Manjaro Linux, GCC 2.32-4, wine-lol-gcc 2.32-2. I build other versions of wine daily (with mingw enabled), my mingw is fine.

How to install in non-Arch distributions?

There appears to be an AUR package for this, but there's no build instructions for non-Arch distros. I'm on OpenSUSE and would like to get back to playing. How do I build this fix?

Error in building from AUR

I get the following error when trying to build the package from the AUR using yay

gcc -m32 -c -o testlist.o testlist.c -I. -I../../../../wine-lol/dlls/schedsvc/tests -I../../../include \
  -I../../../../wine-lol/include -I../../../../wine-lol/include/msvcrt -D__WINESRC__ -D_REENTRANT \
  -fno-PIC -fno-builtin -fshort-wchar -Wall -pipe -fcf-protection=none -fno-stack-protector \
  -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers \
  -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
  -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
  -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -m32 -march=x86-64 -mtune=generic -O2 -pipe  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
../../../tools/winegcc/winegcc -o schedsvc_test-stripped.exe.so --wine-objdir ../../.. -m32 -fno-PIC \
  -fasynchronous-unwind-tables -s -Wb,-F,schedsvc_test.exe -mno-cygwin atsvcapi.o rpcapi.o atsvc_c.o \
  schrpc_c.o testlist.o -lrpcrt4 -lole32 -Wl,-O1,--sort-common,--as-needed,-z,relro,-rpath=/opt/wine-lol/lib32,-dynamic-linker=/opt/wine-lol/lib32/ld-linux.so.2
/usr/bin/ld: schrpc_c.o:(.bss+0x0): multiple definition of `rpc_handle'; atsvc_c.o:(.bss+0x0): first defined here
winebuild: /usr/bin/ld failed with status 1
winegcc: ../../../tools/winebuild/winebuild failed
make[1]: *** [Makefile:457: schedsvc_test-stripped.exe.so] Error 2
make[1]: Leaving directory '/home/piyoko/.cache/yay/wine-lol/src/wine-lol-32-build/dlls/schedsvc/tests'
make: *** [Makefile:9241: dlls/schedsvc/tests] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: wine-lol

Any guide, or plans to make a wiki?

Sorry for this question, but I already compiled and built everything ,but don't know what to do next, and I don't find any guide.

Any suggestion?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.