Howto patching Gerald Folcher's Hack to wine
To be able to play racing games on wine and have force feedback on the steering wheel, we will use a modified version of wine
To do so we will apply a patch for the source code of wine.
First of all, we need to have installed the following packages
[elena@localhost ~]$ urpmi gcc patch git-core
In addition, we need the source code of wine, the same version that was made for this patch.
http://sourceforge.net/project/showfiles.php?group_id=6241&package_id=77...
Unzip the wine0.9.42 in any folder, in my example /home/user/Downloads
Now we need to download the patch
Copy the patch on the folder
/home/user/Downloads/wine-0.9.42/dlls
Write the command on Konsole
[paula@localhost dlls]$ patch -p2 < wine_0.9.42-GPLegends_and_LFS_FF-crude_hack.diff patching file dinput/device.c patching file dinput/effect_linuxinput.c
So to compile Wine smoothly we will need these packages:
- # libalsa2-devel
- # libmesagl1
- # libmesagl1-devel
- # mesa-common-devel
- # mesa-source
- # bison
- # flex
- # alsa-lib-devel
- # cups-devel
- # dbus-devel
- # esound-devel
- # fontconfig-devel
- # freetype-devel
- # libgphoto-devel
- # hal-devel
- # isdn4k-utils-devel
- # lcms-devel
- # libICE-devel
- # libjpeg-devel
- # libpng-devel
- # libsane1-devel
- # libusb-devel
- # libxrandr2-devel
- # libxcomposite1-devel
- # libxinerama1-devel
- # libXcursor-devel
- # libXi-devel
- # libxslt-devel
- # libXxf86vm-devel
- # ncurses-devel
- # openldap-devel
- # openssl-devel
- # pkgconfig
- # libldap2.3_0-devel
- # libxorg-x11-devel
Open Konsole, move onto the folder where this Mod Wine is decompressed, in my case:
[paula@localhost ~]$ cd /home/user/Downloads/wine-0.9.42
And type configure to check requirements
[paula@localhost ~]$ sh configure --prefix=/home/user/Downloads/winemod
Then, if everything has gone fine, write to compile..
[paula@localhost ~]$ make depend && make
And finally, this, to install it.
[paula@localhost ~]$ make install
Now to configure this Wine we will have to run:
[paula@localhost ~]$ /home/user/Downloads/winemod/bin/winecfg
And to run a game on it we should write:
[paula@localhost ~]$ /home/user/Downloads/winemod/bin/wine namegame
- blog de bravas
- Entra a tu cuenta o crea una para poder comentar.




