How To Play Need For Speed 3 Hot Pursuit In Linux using Wine

Use Windows 98 for installation and Windows 2000 emulation for play

You can play Need For Speed 3 Hot Pursuit on Linux. Set graphics resolution to 800×600 in Graphics Option inside the game.

Getting Ready

If you have the ISO CD image of the game, then open it with the Archive Manager application and extract its contents to a directory. If instead you have the installation files in a directory, then copy it to a suitable location and set it in Wine Configuration as a CD drive.

Set the directory containing the installation files (setup) as a CD drive.

Installation

In Wine Configuration (winecfg), set Application settings to Windows 98. Then, install NFS3 using the following command after replacing “e:” with the drive that you had set in Wine Configuration earlier in “Getting Ready”.

wine 'e:\setup\english\setup.exe'

This will start the installation. Finish the installation and ignore all error messages such as “Could not get ‘HardWareKey’ value”.

Now, go back to Wine Configuration and set Application settings to Windows 2000. (Otherwise, you will get an error message “A stack overflow was encountered”.)

Then in Terminal, cd to the installation directory. Then cd further to the “/setup/3dsetup/” directory. Now, type the following command.

wine 3dsetup.exe

This command will return without any output. Try it once more and set the Software Renderer option. This is required to set the hardwarekey issue.

Set 3d layer to to hardware or software.

Create a text file with the following commands and save it with some name but with the extension txt. This will be the shell script that will run the game and do clean up afterwards.

cd '.wine/drive_c/Program Files/Electronic Arts/Need For Speed III'
taskset -c 1 wine nfs3.exe -d3d0 2> /dev/null &
clear
read -p "Press Enter to kill NFS3 " varNothing
pkill nfs3.exe

Then, right-click the shortcut created by the installation on the Desktop and replace its command to the following after replacing path/shellscript with proper path and name of the shell script file:

gnome-terminal -x sh -c "bash path/shellscript.txt"

Playing The Game

Now, click the modified shortcut. A Terminal window will open with the message “Press Enter to kill NFS3”. Don’t press Enter and let the game start. You may encounter some errors saying that the program has closed due to an error or that you hard disk has less than 1 MB space. Ignore them. The game will start and you can play with it. When you exit the game, you will come back to the terminal window. Now, press Enter and the Terminal window will disappear.

animation-need-for-speed-3-hot-pursuit-on-linux-wine

Advertisements
This entry was posted in software and tagged , , , , . Bookmark the permalink.

Make a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s