When applications are written, they are simply a large group of text files called the source code that developers have typed out in whatever programming language they have chosen to write the program in. To actually run the program, these files need to be compiled using a software program called a "compiler" into binaries. Binaries are the files that are computer-readable, and when programs are distributed or downloaded through the Software Center they are the compiled and packaged versions of the program.
Software patches are files that describe changes to be made to the source code.
patch is the name of the program used to patch source code. To patch software, you download (or create) a patch file and use the
patch program on the patch file to patch the source code (confusing!).
This takes a long time for big programs like Wine, but it can be done. In your situation, you will need to remove the Wine package you have installed, download and extract the Wine source code (making sure it is roughly the same software version), apply the patch, and then compile and install the patched source code. This will be easily accomplished using the terminal with tools provided by the
apt software management suite. You can open the Terminal from the dash or with ctrl - alt - T.
After you open the Terminal, remove the packaged version of Wine that you got from the software center along with all of the other packages it relies on, and all of their configuration files with the command below, which you can copy and paste. This will not remove all of the Wine programs, like GTA, that you have installed.
sudo apt-get -y purge wine && sudo apt-get -y --purge autoremove
This and every other command that starts with "
sudo" will require that you type in your password, which will not appear, and then press [Enter]. It provides programs with administrator/root priveleges. When this finishes and you are at a prompt (denoted with the
$ symbol) again, create a new folder and move into it. This will create a folder called "wine" in your Downloads folder. I don't know if you want all of this going into your Downloads folder, but you can modify it to taste - just don't delete the folder!
Next, download the source code for Wine from the Ubuntu repositories, and
cd to the Wine source tree.
sudo apt-get -y build-dep wine1.4
apt-get source wine
A long list of packages will be installed and the source code will be downloaded and checked (you can ignore any warnings). When finished, download and apply the patch so that your game will work correctly. The
echo command combined with the use of
>> will add a newline to the end of the patch file - which Dropbox stripped - so that the
patch command will not complain. The
apt-get commands install the
wget program, which is a command line tool for downloading files from the web.
sudo apt-get -y install wget
patch -p1 < patchfile1.patch
dpkg-buildpackage -rfakeroot -b
It would be advisable to go get a coffee, or two, or three at this point, because it will take a loooooooonnnnnnnnnnngggg time to compile Wine!
Once that is all finished and you see the
$ again, change one directory up and install the packaged version of the freshly compiled source code.
sudo dpkg -i *.deb
Hope it works!