El Foro

[script] Grand Theft Auto IV

Autor Respuestas
Jump to the page: 1 - 2 - 3 - 4
NSLW Tuesday 9 March 2010 at 9:24
NSLW

Hello,
I wrote script which installs Grand Theft Auto IV. It also automatically download and install latest patch for the game (tested on 1.0.5.0).

Wine version : 1.1.40
Distribution : Fedora
Distribution Version : 12 (32 bit)
Graphics card : Nvidia, GeForce 9xxx
Drivers of the graphics card : 195.30
Comments:

Icon for the game:





If you're looking for script then it's here

Editado por: GNU_Raziel

Nocturne Wednesday 10 March 2010 at 0:21
NocturneAnonymous

Your script works very nice! :)

I have installed GTA IV on my Laptop with it! It's a Samsung Melroi R510 and probably much too slow for the game. I set every graphics details to minimum and it was still "unplayable": I could drive around the city with something like 3fps. But it's quite cool, I have never played this game before and so you made my day. ;)

I cannot really tell about any errors, because every flaw I came about was probably caused by the slow laptop hardware.

Good job!
NSLW Wednesday 10 March 2010 at 9:14
NSLW

Thanks for testing the script. Your graphic card NVIDIA 9200 is even below minimal requirements for GTA IV so no chance to play it on Linux.
Bhima Wednesday 10 March 2010 at 14:41
BhimaAnonymous

Hi, I'm trying to get GTA IV to run on my Mac Pro using wine. I suspect that if you could deconstruct your script, I could do what needed to be done to get it working.

would it be possible for you to in general terms describe the steps in order?

Thanks!
NSLW Wednesday 10 March 2010 at 15:33
NSLW

Hi, I'm trying to get GTA IV to run on my Mac Pro using wine. I suspect that if you could deconstruct your script, I could do what needed to be done to get it working.

would it be possible for you to in general terms describe the steps in order?

Thanks!

Quote from Bhima


What do you mean by deconstruct? Whole script is shown above and there is nothing more than that.

There aren't any specific steps to reproduce. Patched Wine is the most important requirement to run the game. You can read on AppDB if you want to know why.

If you use Mac OS X then you could install PlayOnMac and try this script instead of installing game manually or inventing new script. If you'll be successful then report that here so I could mark this script as available for PlayOnMac too. I have to say that I've got no experience with Mac computers.
Bhima Wednesday 10 March 2010 at 17:12
BhimaAnonymous

Interesting, I had no idea of the existence of PlayonMac. I had already used wine and reading the script, I could not really work out how wine was patched. It appears that wined3d.dll.so is exchanged.

so I installed PlayonMac and tried the unofficial script option. This fails because it can not find unrar (I'm using version 3.92 from MacPorts).

I'll try the normal installation process but then I'll still need to work out the rest of your script... like how to patch wine. I doubt wined3d.dll.so compiled for Linux would work on Mac OS.
NSLW Wednesday 10 March 2010 at 17:30
NSLW

Interesting, I had no idea of the existence of PlayonMac. I had already used wine and reading the script, I could not really work out how wine was patched. It appears that wined3d.dll.so is exchanged.

Quote from Bhima

Indeed wined3d.dll is exchanged. It was patched and compiled by me earlier.

so I installed PlayonMac and tried the unofficial script option. This fails because it can not find unrar (I'm using version 3.92 from MacPorts).

Quote from Bhima

this can be removed to solve the problem
#checking if unrar is installed
check_one "unrar" "unrar"
POL_SetupWindow_missing

However things like xliveless and patch won't be unpacked.


I'll try the normal installation process but then I'll still need to work out the rest of your script... like how to patch wine. I doubt wined3d.dll.so compiled for Linux would work on Mac OS.

Quote from Bhima

You've got to search elsewhere if you would like to know how to patch Wine.

Bhima Wednesday 10 March 2010 at 18:34
BhimaAnonymous

So, where can I get your patch for wined3d.dll.so? I've got the source for Wine and could apply the patch and compile it for my system.

As I said earlier I have unrar, PlayonMac just can't find it. Removing it causes the script to fail when it wants me to locate the GTA IV setup file but never brings up a finder (file manager) widget for me to select it... I guess PlayonMac is not really finished yet.

I've worked out the Xlive.dll, I think.
I have various patched versions of launchGTAIV.exe.

So I feel like I am getting closer.


Edit: I have Ubuntu in a virtual install and the GTA IV hangs during the initial date check thing.

Editado por: Bhima

NSLW Wednesday 10 March 2010 at 20:02
NSLW

So, where can I get your patch for wined3d.dll.so? I've got the source for Wine and could apply the patch and compile it for my system.

Quote from Bhima

The patch is in this bug report. More searching less asking. It's the only patch for that game.

Edit: I have Ubuntu in a virtual install and the GTA IV hangs during the initial date check thing.

Quote from Bhima

That means you haven't cracked game.
Berillions Wednesday 10 March 2010 at 21:15
Berillions

Hello NSLW,

I have a question. Which patch i must to install to run correctly this game?
And, if you use this command :
wine start /unix "$CDROM/Autorun.exe"
I'm not sure that you must to use wine eject to insert the other DVD.

Thanks,

Berillions

NSLW Wednesday 10 March 2010 at 22:07
NSLW

I have a question. Which patch i must to install to run correctly this game?

Quote from Berillions

What do you've got to choose?


And, if you use this command :

wine start /unix "$CDROM/Autorun.exe"
I'm not sure that you must to use wine eject to insert the other DVD.

Quote from Berillions

I also don't know but it doesn't disturb.
Quentin PÂRIS Thursday 11 March 2010 at 23:44
Quentin PÂRIS
Admin

A small detail : Can you add unrar in the depend line ?
thib25 Sunday 14 March 2010 at 11:55
thib25Anonymous

I have a problem, I can't launch GTA IV :sad:. It's not a problem of the game but I think a problem with the shortcut. Am I the only person who has this problem ?
Dr Phil Sunday 14 March 2010 at 12:43
Dr Phil

Please provide the scripter with some more info.
Start the terminal and write:
playonlinux --run "Grand Theft Auto IV"Please copy and paste all the output from the terminal. (Preferably in a new thread)
NSLW Sunday 14 March 2010 at 18:10
NSLW

Show content of GTA IV in ~/.PlayOnLinux/configurations/installed
thib25 Monday 15 March 2010 at 17:54
thib25Anonymous

Grand Theft Auto IV: line 5: cd: /home/thibault/.PlayOnLinux/wineprefix/GTAIV/drive_c/gram Files/Rockstar Games/Grand Theft Auto IV: Aucun fichier ou dossier de ce type
wine: Module introuvable

~/.PlayOnLinux/configurations/installed
 #!/bin/bash
PATH="/home/thibault/.PlayOnLinux/WineVersions/1.1.40-GTAIV/usr/bin/:$PATH"
export WINEPREFIX="/home/thibault/.PlayOnLinux/wineprefix/GTAIV"
export WINEDEBUG="-all"
cd "/home/thibault/.PlayOnLinux/wineprefix/GTAIV/drive_c/gram Files/Rockstar Games/Grand Theft Auto IV"
wine "LaunchGTAIV.exe"  $@
NSLW Monday 15 March 2010 at 20:32
NSLW


 #!/bin/bash
cd "/home/thibault/.PlayOnLinux/wineprefix/GTAIV/drive_c/gram Files/Rockstar Games/Grand Theft Auto IV"

Quote from thib25

It's obvious that this line is wrong. Please change gram Files to Program Files. I don't know why you've got crippled launcher.
Bhima Thursday 18 March 2010 at 11:19
BhimaAnonymous

So, I have still not successfully made this script work for PlayonMac. And I was wondering if you could give me some pointers that would help me.
OldLodgeSkins Saturday 3 April 2010 at 23:52
OldLodgeSkinsAnonymous

Hi all,

Thanks for the script, when I read the instructions on winehq I didn't feel like patching Wine myself, this has made my life a lot easier.
This said, although it's installed, I can't get the game to start. I've tried several patches, including the latest one (1.0.0.4) and applied what I had to apply... All I get is a quick splash screen, the screen turns black for a second (I suspect it's trying to change of resolution), and then a crash from gta4browser.exe with a lot of stuff in the terminal:

[code removed, the situation's evolved, see below]

... and a lot more.

Any idea what might be happening? What version are you guys running?

Thanks.

Seb.

Editado por: OldLodgeSkins

OldLodgeSkins Sunday 4 April 2010 at 0:17
OldLodgeSkinsAnonymous

Looks like I got something new now...
After putting the xlive.dll in the system32 folder as seen on some forum, I now have an other dialog box (besides the error from gta4browser.exe) that says something like "can't create textures please reinstall directx" or something similar (I'm roughly translating). There's still a lot of stuff in the terminal and I don't want to overload this page so if you want me to post it please let me know.

Edit: solved by changing the wine version used.

Editado por: OldLodgeSkins