The forum

No Resident Evil 5 patched wine version available

Author Replies
Jump to the page: 1 - 2
amherrmann Monday 4 August 2014 at 15:29
amherrmannAnonymous

Hi there,

from time to time I try to install RE5. Installation works, but when starting it'll complain about GFWL. Even installing related gfwl components doesn't make it work in POL

Relating to winehq page, there is the advice to compile a wine version from here:

https://github.com/tizbac/wine/tree/tronevolutionworking

 

Is there any possibility to get this RE5 wine-version into the wine-install section of POL? I would do it on my own if someone refers me to some guide which preconditions are needed to bring a specific wine version to POL and where to place the compiled version so that POL can benfit from it.

Cheers,

André


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Monday 4 August 2014 at 19:09
Quentin PÂRISAnonymous

We need a diff file to patch wine. Do you have one?

amherrmann Tuesday 5 August 2014 at 22:41
amherrmannAnonymous

Yesterday I tried to compile the suggested version, but it failed on my machine (Kubuntu 14.04). The problem seems to be the installed version of bison parser:

make[1]: Betrete Verzeichnis '/home/andre/Programme/wine/wine-tronevolutionworking/tools/wrc'
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -DINCLUDEDIR="\"/usr/local/include/wine\""   -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o parser.tab.o parser.tab.c
parser.y: In function ‘rsrcid_to_token’:
parser.y:2841:15: error: ‘YYLEX’ undeclared (first use in this function)
   lookahead = YYLEX;
               ^
parser.y:2841:15: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [parser.tab.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/andre/Programme/wine/wine-tronevolutionworking/tools/wrc'
make: *** [tools/wrc] Fehler 2

Compilation failed, aborting install.
andre@Buerorechner:~/Programme/wine/wine-tronevolutionworking$

 

However, the wine-tronevolution source seems to be branched from wine-1.5.10 as far as I can see. I created a diff against unpacked source direcories an put this on my dropbox:

https://www.dropbox.com/s/h8g3g4o19hn3296/diff_source_tronevolution_1.5.10.tar.gz

To make it short it's obviously quite a lot!

==============================

I also tried to install the game via POLs offered standard methods. I made it manage to install by creating a new wineprefix with wine 1.6.0 and dotnet20, core_fonts, d3dx9 installed as extra components. This is the state which I vaulted and this is the debug result:

[08/05/14 22:09:23] - Running wine-1.6 RE5DX9.EXE (Working directory : /home/andre/.PlayOnLinux/wineprefix/ResidentEvil5/drive_c/Program Files/CAPCOM/RESIDENT EVIL 5)
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e644 0x94e63c
err:module:import_dll Library MSASN1.dll (which is needed by L"C:\\windows\\system32\\xlive.dll") not found
err:module:import_dll Library xlive.dll (which is needed by L"C:\\Program Files\\CAPCOM\\RESIDENT EVIL 5\\RE5DX9.EXE") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\CAPCOM\\RESIDENT EVIL 5\\RE5DX9.EXE" failed, status c0000135

As we can see: GFWL. A pain in the ass again.

I also tried to use differen wine versions which are marked with xliveless (1.5.4-xliveless-rawinput3) and setting xlive.dll to Builtin which leads to display an "Errorcode: 80070057" (windows message box).

Trying to use wine 1.7.23 without overwriting xlive.dll leads to the same error.

Getting back to 1.6.0 I also get the debug from above. Installing component msasn1 (which the program seemed to miss too) again lead to "Errorcode: 80070057". Installing the gfwl component (force reinstall) leads me, you might guess it, to "Errorcode: 80070057"

This time I even did not get an error message in the POL-Debug console:

[08/05/14 22:26:09] - Running wine-1.6 RE5DX9.EXE (Working directory : /home/andre/.PlayOnLinux/wineprefix/ResidentEvil5/drive_c/Program Files/CAPCOM/RESIDENT EVIL 5)
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e644 0x94e63c
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e640 0x94e638
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e640 0x94e638
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e684 0x94e67c
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e644 0x94e63c
fixme:wtsapi:WTSQuerySessionInformationW Stub (nil) 0xffffffff 4 0x94e640 0x94e638

I feel like running in circles currently and would be very happy if someone has tipps how to handle the *!?#;-damn GFWL.

As far as I see the game should be able to run as seen on winehq and youtube

https://appdb.winehq.org/objectManager.php?sClass=version&iId=21023

http://www.youtube.com/watch?v=dQsCIpi17zE

Even if I did not understand russian nor I can read cyrillic there is comment on the page that might be interesting:

 

 

Wine-1.5.9 + patch-xlive ubuntu-wine. ru/index/resident_evil_5/0-66 github. com/tizbac/wine/tree/tronevolutionworking

 

Anybody a clue how to go on trying to get Resident Evil 5 run? Thanks

 


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Tuesday 5 August 2014 at 23:00
Quentin PÂRISAnonymous

This is really why we need a patch (.diff file) and not a full source code. It's impossible to see if the problem comes from the patch or from your toolchain

amherrmann Tuesday 5 August 2014 at 23:36
amherrmannAnonymous

Hmm, I simply don't know where to get the patch from. There is a diff-File insinde the tar.gz but its near 2MB, which I already suppposed that it won't really help. I searched the internet about the issue while compiling and it's pointing to the toolchain (bison in particular). That would fit to the test result we can see at winehq which is made on ubuntu 12.04, which has a bison version less 3.

Beside this patch/compile thing: Is there anything I do now? It seems the "only" problem is that xlive thing. Are there any best practices to handle xlive-Games? What are these xliveless versions about? Why there are two different components for GFWL in POL available?

Thanks,

André

Edited by amherrmann


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Wednesday 6 August 2014 at 0:06
Quentin PÂRISAnonymous

GFWL is a very old patch wich add a builtin xlive.dll into wine (but does not implement anything)

It's very old, i'm not sure it will work with recent wine version. We could try though

amherrmann Wednesday 6 August 2014 at 13:55
amherrmannAnonymous

 

GFWL is a very old patch wich add a builtin xlive.dll into wine (but does not implement anything)

Ok, this might explain the Errorcode message.

 

 

It's very old, i'm not sure it will work with recent wine version. We could try though

Well ok, how can I help? What should I read? Is there some guide how to help you guys with that special wine versions.

Yes I am able to write POL-Install-Scripts (Thanks to documentation) but No I don't know how to create wine versions in the way POL can work with them. The directory .PlayOnLinux/wine seems to contain simply compiled/binary versions of wine. So in my easy thinking I would guess I could place a folder there like "1.7.23-RE5" and put a compiled version of wine in to use it inside pol?

Haven't I read about a tool which you guys use to build new wine versions? But as I remember, the thread was not accessable to me.

I would love to help the project but I definetly need more direct leading input to do so.

Cheers,

André

Edited by amherrmann


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Thursday 7 August 2014 at 15:40
Quentin PÂRISAnonymous

Well, right, you can put a compiled version is the folder.

The source of our wine builder program is here: https://github.com/PlayOnLinux/WineBuild

And the wine patches are here: https://github.com/PlayOnLinux/wine-patches

 

You just have to commit your patch for us to build it

amherrmann Saturday 9 August 2014 at 1:16
amherrmannAnonymous

 

 

 

The source of our wine builder program is here: https://github.com/PlayOnLinux/WineBuild

Ok, so to bring compilation in a form POL can handle it, I will need to use this tool. But unfortunately its not clear for me how to handle it.

It expects a build dir which points to PWD. There need to be a folder lib/sources at this place. I am not sure where to place this tool and how to apply it on wine source or compiled wine

My aim is still to build a pol-usable version of https://github.com/tizbac/wine/tree/tronevolutionworking

The developer who patched wine to make RE5 work added his patches here:

https://github.com/tizbac/wine/commits/residentevilfixes

The bug report where the problem is described and also patches are available can be found here:

http://bugs.winehq.org/show_bug.cgi?id=23914

If you go further transfering some know-how I would offer to write some documentation about what I've learned. Deal? ;-)

 


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
amherrmann Saturday 9 August 2014 at 22:08
amherrmannAnonymous

Hello again,

I got a little further with my tries compiling wine-tronevolution and using using the result within POL which shall make it possible to run RE5.

I did the following:

  1. Due compilation did not work on my kubuntu 14.04 (64bit) caused by newer bison version, I created a lubuntu 12.04 virtual machine (32bit) to compile it there. This worked :) I used configure options --without-freetype and set a prefix into my home folder.
  2. After doing configure, make, make install I had a result which was similar to content of 1.5.10 version downloaded with POL. I replaced symlinks with real copies of files they have pointed at ( eg. wineg++, libwine.so etc. )
  3. In my POL-Environment of my kubuntu 14.04 (64bit), I created a folder "/home/andre/.PlayOnLinux/wine/linux-x86/1.5.10-re5/" and placed the binaries inside.
  4. After doing that I was able to select this wine version in POL. But as I used it for installing RE5, I noticed that I always get tiny unsizable wine-windows.

Here's a scrreenshot of tiny windows:

https://www.dropbox.com/s/g1qlo6dgu35wwo9/TinyUnsizableWineWindows.png

And here is the result of my compilation:

https://www.dropbox.com/s/n289rcup8qwi268/1.5.10-re5.tar.gz

Things I tried so far or make me wonder:

  1. I tried to fill the missing files and folders by copying them from 1.5.10 folder but skipping files that "1.5.10-re5" already had. (so-files in lib, share/wine/fonts etc.)
  2. There is a folder "includes" in my compilation which I also placed in my "1.5.10-re5" folder. None of the original POL-Wine installs has such. Is it obolete or is there anything important to do with?

Hope anybody of you can enlighten me. I feel that I'm so close to get the game working with POL :)

Edited by amherrmann


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Sunday 10 August 2014 at 0:29
Quentin PÂRISAnonymous

Well, the tool winebuild is not really designed to be installed on a personal computer. It is installed on our server.

Really the best you can do is to try to find the diff between your patch and the mainstream wine version. Once you have it, send it to wine-patches repository and ii will be added.

The alternative is to build wine to ~/.PlayOnLinux/wine/linux-x86/1.5.10-re5/, as you tried to do. If you want to do that, the easiest way is to do compile on a 32bits machine, or a 32bits chroot. Otherwise, you can install i386 dependencies one by wine. (See http://wiki.winehq.org/Recommended_Packages). With this method, you'll be the only one to be able to use your wine version. The community won't take advantage on your work.

 

 

After doing that I was able to select this wine version in POL. But as I used it for installing RE5, I noticed that I always get tiny unsizable wine-windows.

I'm pretty sure it is caused by missing dependencies like libfreetype

Edited by Tinou

amherrmann Sunday 10 August 2014 at 1:35
amherrmannAnonymous

 

 

With this method, you'll be the only one to be able to use your wine version. The community won't take advantage on your work.

Be sure that my clear will is to bring this into the community once I get a little deeper and made sure that this will run as expected. Reality is, that i desperately need to have this as a standard-available wine version in the end for beein able to write a script for this ;) But one step after another...

It's such a pity that I am wether too dumb to fetch that patch or it is simply not existing/creatable. Maybe I write to the developer directly, maybe he/she can help.

Thanks a lot so far for your tipps. I will keep on writing progress in this ticket.

 

 

 

Edited by amherrmann


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Sunday 10 August 2014 at 10:43
Quentin PÂRISAnonymous

Try to download wine git, then go to the concerned version, replace all files and type git diff in a terminal

amherrmann Sunday 10 August 2014 at 13:29
amherrmannAnonymous

Hi,

first of all: I got the game running now!

I recompiled wine-tronevolution in my virtual machine, this time without "--without-freetype" option. As you had assumed this was the reason for the tiny unsizable windows problem.

However, first I ran again into the "Errorcode: 80070057". After searching the internet again (non wine related) and I found the follwing:

http://www.gamefaqs.com/boards/958470-resident-evil-5/51375486

I just needed to start the game via launcher et voilà the game startet up.

Well great so far but due I always did not use the Launcher before it could be possible that I already had reached my goal before and did not realize it.

I will test this now. Maybe it's not nessassary patching wine for this game...

Edited by amherrmann


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
amherrmann Sunday 10 August 2014 at 16:09
amherrmannAnonymous

 

Try to download wine git, then go to the concerned version, replace all files and type git diff in a terminal

 

I hope this is what you need:

https://www.dropbox.com/s/iiqm29t09v4lhu7/1.5.10-re.diff

For creating this I did the following (For you to supervise):

  1. git clone git://source.winehq.org/git/wine.git ~/Entwicklung/wine-git
  2. git checkout tags/wine-1.5.10
  3. Downloaded the zip of wine-tronevolution from https://github.com/tizbac/wine/tree/tronevolutionworking
  4. Replaced files in my checked out tag with the contents of that zip
  5. git diff > 1.5.10-re.diff
  6. Uploaded this file in my dropbox

Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
Quentin PÂRIS Sunday 10 August 2014 at 22:47
Quentin PÂRISAnonymous

This patch modify configure file, wich will never be accepted in winebuild. Also, wine 1.5.10 is very old

I think you should try to find a more recent version of it

amherrmann Wednesday 13 August 2014 at 22:13
amherrmannAnonymous

Unfortunately this was the only version/patch I've found. And I did a lot of researching because I didn't intend to do compilation for playing the game. Wine HQ does not offer any further Information of that game. So I simply don't know what I could do on this.


Comparing proprietary software and open-source software means comparing marketing and evolution. Which one is lasting?
petch Thursday 14 August 2014 at 19:08
petch

Since configure is file generated off configure.ac, if the patch also contains modifications to configure.ac then it should be ok to just remove the modifications to configure.

 

demontager Wednesday 3 September 2014 at 23:17
demontager

Hi petch, i just read all this thread and as you tried to run RE5 on Xubuntu 14.04 and got success. I have binary wine compiled from tronevolution. BTW this is my very short test to prove it is working http://youtu.be/GyvOXDik8QI 

Here is exact copy of compiled wine from above github sourche which i used to run my game copy - http://youtu.be/GyvOXDik8QI

Not compiled by myself but ubuntu-wine.ru author i asked him to help with game. You will find russian manual how to run game inside archive. If realy need go futher and use this custom wine let me know so i will rewrite it english. 


My github: https://github.com/Demontager
petch Tuesday 9 September 2014 at 0:14
petch

We don't use 3rd party compiled Wine versions, we need patches.

For the github URL you probably meant https://github.com/tizbac/wine/tree/tronevolutionworking

We may get some patch out of this, and it even has more recent Wine commits (saw 1.7.25);

Not sure what we should be diffing though, as the repository seem to contains lots of features mixed together.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com