WineHQ
Need for Speed 4 High Stakes 4.50



Category: Main > Games > Sports Games > Need for Speed 4 High Stakes > 4.50


NameNeed for Speed 4 High Stakes
Version4.50
License Retail
URLhttp://pc.ign.com/articles/161...
Votes 1
RatingGold
Wine Version1.5.29
Free Download Demo Download
Maintainers of this version:
Description
This was the latest patch available. It mainly fixed online gaming.
Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results (selected in 'Test Results' table below)

What works

  • Installation
  • Game
  • Sound & music
  • Direct 3D
  • Gamepad
  • Loading screen
  • Mouse pointer


What does not

  • Original 3DSetup.exe (solved with patch)


What was not tested

  • Multiplayer (Online / Network / Splitscreen)


How I installed the game:

  1. Change Windows Version to "Windows 98" with winecfg
  2. Install the game
    1. Start the Setup.exe (with the Wineprefix)
    2. Select Full Installation
    3. Wait until it is installed (ignore the "Could not get 'HardWareKey' value" error)
  3. Install patch 4.50
  4. Install MS ActiveX Control Pad with winetricks in the same Wineprefix as NFS4
    1. $ env WINEPREFIX=~/.winegames/NFS4/ winetricks --no-isolate controlpad
  5. Install NFS:HS Stock Pack 4 V1.70 or Expansion Pack 4 V1.70
    1. You need to check "EP & Highpoly Menu Patch" and "New 3D-Setup"
  6. In 3DSetup choose Direct3D
    1. After clicking OK choose your preferred dll (tested "DirectX 7 - High poly" and DirectX 9.0b")
  7. Play the game


Additional Comments


Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentUbuntu 12.04 "Precise" i386 (+ variants like Kubuntu)May 12 20131.5.29 Yes Yes Gold Oliver Melle 
ShowDebian GNU/Linux 6.0 "Squeeze"Apr 11 20121.4 Yes Yes Gold Alex 
ShowUbuntu 8.04 "Hardy" i386 (+ variants like Kubuntu)Dec 26 20091.1.35 Yes Yes Gold Marty Mcfly 
ShowUbuntu 8.10 "Intrepid" amd64 (+ variants like Kubuntu)Feb 19 20091.1.15 Yes Yes Silver Tobias Schula 
ShowUbuntu 8.04 "Hardy" i386 (+ variants like Kubuntu)Feb 15 20091.1.14 Yes Yes Gold Prot 


Known bugs
Bug # Description Status Resolution Other apps affected
4066 Online Play Doesn't Work (DirectPlay) NEW View
7115 Need for Speed III installer fails in Win9X mode, reporting "Could not get 'HardWareKey' value" (active PnP device keys in 'HKEY_DYN_DATA\\Config Manager\\Enum' missing) NEW View
18378 NFS 4 Road Challenge: Installation of 4.50 patch fails UNCONFIRMED View

 
Howto make Need For Speed High Stakes (NFS 4) work in WINE

Though wine progressed lately very well with the directx stuff, older games seems to be still a problem. And even on native Windows XP systems users seems to wish their old Win98 box back. Well, wine can handle win95, win98 without problems, the only issue remains are the graphics.
And this last thing will be solved with this howto. Back in the old good days were 3dfx was in the topposition of the graphics market they provided an API called "glide".
Game Developers used this API to provide stunning 3D Graphics for their games.
Wine itself don't have glide support builtin, but many freeware programs provide the same functionality for us. ;)

Note: As of wine 0.9.42 there is multithreaded d3d working in wine. So you don't need the wrapper anymore!


1.0 Installation

1.1 Open up winecfg and change "Windows Version:" from "Windows 2000" to "Windows 98". 1.2 Mount your Game CD 1.3 Run wine Setup.exe 1.4 Select Full Installation 1.5 If complete change back to "Windows 2000"


2.0 Downloads needed 2.1 Choose the NFS: HS SP (2.1A) Download Note: You can choose the EP package too. it includes some new tracks and cars. (There are better ones on the net, so I don't really advertise this) 2.1.1 Run the Patch and choose everything under "NFS HS Updates" except "Vista Fixes" which are untested

Note: You can safely ignore any errors. The 3dsetup won't run in wine, so don't waste your time!


3.0 Choosing the 3D Renderer You can now choose if you want d3d as your renderer or glide (through OpenGL.)

I have to say that I like the OpenGL approach more then the d3d one. It looks a bit nicer and is more stable for me. On the other hand many people had problems with it and it needs additional steps to set up.


4.0 D3D Approach

4.1 Save the following lines to a file, i.e. nfs_d3d.reg

[HKEY_LOCAL_MACHINE\Software\Electronic Arts\Need for Speed High Stakes] "3D Card"="NVidia TNT2" "3D Device Description"="NVIDIA RIVA TNT2" "D3D Device"=dword:00000001 "Group"="D3D" "Hardware Acceleration"=dword:00000001 "InstallPath"="c:\\Program Files\\Electronic Arts\\Need for Speed High Stakes" "Thrash Driver"="d3d" "Thrash Resolution"="1024x768" "Triple Buffer"=dword:00000000 "Version"="4.00"

4.2 Check if the installpath is right.
4.3 Run wine regedit nfs.reg
4.4 Go to your NFS: HS directory and overwrite the d3da.dll with the one from the folder 3dSetup.bak. (You must not use the DirectX 8 d3da.dll shipped with the downloaded Patch, it will look horrible!)
4.5 Run the Game!


5.0 Glide Wrapper Approach (Optional)

5.1 You can experiment with the settings, but I present you here mine:
Resolution "try HighRes" experimental - leave default if problems
Refresh rate "by app"
Mipmapping "force trilinear" or "generate mipmaps" experimental - leave default if problems
vertical sync

"always on"

Limit feature set "most fancy" experimental - leave default if problems
Thread policy "One thread for both"

Important! - change to something else if the game doesn't work

Additionally, please be sure to not set "Triple Buffer" on when using Glide!

5.2 Go to 3dSetup directory in your NFS directory an run Spot3DSetup.exe. If everything is right, the selected rendering device ought to be "Glide Device". In this case just hit OK and you're done.
5.3 Run the Game!


6.0 Troubleshooting 6.1 Error Msg: "Your Diskdrive has less than 1MB free"

Solution: Set the Compatibility for nfshs.exe in Winecfg to "Windows 98"

Note: This shouldnt be happen anymore with the StockPatch 2.1A and "Mercurys 1Mbyte error patch" selected.

6.2 In console: GLX BadMatch(bla)

Solution: Change your Nvidia drivers! 9742 has a bug. Use 9629 or 9755

6.3 You have just a black screen.

Solution #1: If it happens to you, that there is no sound after launching the game and starting a course will make your screen turn dark, please use this workaround:

  1. After starting the game, press Alt + Tab (with GNOME or KDE, other Desktop Environments or Window Managers might have other ways to do this) multiple times to change to another program. Your resolution will be horrible wrong, but this is OK.
  2. Change back to your Need For Speed High Stakes window.
  3. You should hear music now and your game will not crash anymore when starting a course.

Solution #2: The wrapper does not like the videos very well. Go to Data/Movies folder and rename, or remove these 2 files:

  • EATUMBLE.MAD
  • NFSTITLE.MAD

Solution #3: Configure the Glidewrapper to use another threading model.

6.4 Problems with Sound

Solution: First try the workaround described above ("Solution #1"). Additionally, check if you selected ALSA as your sound output engine and disabled all emulation options.

6.5 I have no Mouse!

Solution: Mouse does only work in the "One Thread for both" mode (Glide), if this doesn't work for you, you could try the d3d mode.

6.6 I'm getting a crash if I use the d3d approach!

Check in your NFS: HS directory that you have a d3da.dll file which is exactly 92KByte big. If not, follow step 4.4.

6.7 My game crashes with the message "AMF=5 screen.c(563)"!

Solution: Obviously the graphics settings are wrong and your GlideWrapper might also have crashed due to these wrongs settings! While the GlideWrapper settings might be the reason for this as well, most likely this is a problem with your Need For Speed graphics settings. Use the following steps to make Need For Speed High Stakes working again:

  1. Download my Config file fixer: http://www.ionic.de/GlideFix.bz2 (This program is free software, you can also download the source here: http://www.ionic.de/GlideFix-Source.tar.bz2 - note that you will need Lazarus for compiling the source yourself.)
  2. Unpack it using bunzip2 GlideFix.bz2
  3. Run the programm. You can do this from your current directory, of course. You must not use Wine due to the fact, that this program is a Linux binary.
  4. Chose the file "config.dat" which has to be fixed in the program. Be sure to have full write permissions in all necessarry directories. Mostly, you will find your config.dat in your Need For Speed directory -> SaveData -> config.dat.
  5. Click the patch button.

  6. If a message appears which says, that the patching was done successfully, your problem should now be solved. If you have problems, please drop me a mail.



7. Changes

25.02.2009

  • Cosmetic changes only (removed faulty chars)

22.10.2008

  • Highlighted important parts
  • Multiple typo fixes
  • Added some new troubleshooting section
  • Cosmetic changes

11.02.2008

  • things got more easier with the new Stock Patch (build 1.34)
  • fixed a typo in the reg file for the d3d approach, which caused the "game data corruption bug"

01.09.2007

  • moved to NFS: HS Stock Patch 1.24 (things should be hopefully easier now)
  • added the d3d approach
  • added some new things to the Troubleshooting section
  • added some tips for the Glidewrapper configuration
  • guide almost completely rewritten

24.03.2007

  • cosmetic changes
  • changed Thread policy to "Use one for both", due to memory access faults with the old setting ("Use system thread")

24.11.2006

  • added a note about "DynamicTwinView" which I stumbled upon.
  • more format changes
  • updated Troubleshooting Section, removed one typo and added a possible solution for those "magical hangs"

19.11.2006

  • Some format changes for better readability
  • Updated Troubleshooting Section, for people who had problem with the "black screen"
  • Added note about nvidia-drivers
  • Updated Glide wrapper settings

 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Lags with Wine 1.6-rc2
by Oliver Melle on Wednesday June 19th 2013, 5:22
Need for Speed High Stakes lags with Wine 1.6-rc2.
Use Wine 1.5.31 instead.

[post new] [reply to this]

How to Install ActiveX
by Mr.M on Saturday December 25th 2010, 1:27
I'm very new to this, please bear with me. how to i install the active X script?
i've opened up winetricks and i don't see any active X scripts? what am i not doing, clearly im missing something

[post new] [reply to this]

Game won't run
by tiar on Saturday December 12th 2009, 19:31
I have installed the game just as the guide states. When I run nfshs.exe, nothing happens. Not even a process is shown in System Monitoring.

I have tested both D3D and Glide. Tried different Compatibility settings.

I'm running it with NoCD-mode.

Does anybody know how to get it running? Thanks.

[post new] [reply to this]

Some troubles
by Ivan Yurasov on Monday June 29th 2009, 15:24
I tried to play NFSHS on my MSI Wind and I gained some experience:
1. Software render work OK, but ugly
2. In d3d mode I have a crash with following message:
$ WINEPREFIX=/media/Data/Games/NeedForSpeedHighStakes-wine wine nfshs.exe
The instruction at 0x00453d5b referenced memory at 0x00000190.
The memory could not be read.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f46c,0x00000000), stub!
fixme:d3d:IWineD3DDeviceImpl_Release (0x135640) Device released with resources still bound, acceptable but unexpected
fixme:d3d:dumpResources Leftover resource 0x131810 with type 1,WINED3DRTYPE_SURFACE
fixme:win:EnumDisplayDevicesW ((null),0,0x32e878,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32e878,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f04c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f1dc,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32f318,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2addf34,0x00000000), stub!
err:ddraw:IDirectDrawImpl_SetDisplayModeNoOverride Width=0, Height=0, what to do?
wine: Unhandled page fault on read access to 0x00000000 at address 0x60005f68 (thread 003e), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x60005f68).

3. glide wrapper work, but not with my keyboard! It's simple no response from game on pressing a button...

So I can play only in softgl mode

PS. Solution in this section not help me.

[post new] [reply to this]

sometimes additional step required
by Tobias Schula on Thursday February 19th 2009, 8:42
If using the Glide wrapper, on some machines the Spot3DSetup.exe won't work and one has to add these lines to the registry (save as e.g. nfs_glide.reg and import it with wine regedit nfs_glide.reg. Of course you must change the value "InstallPath" if different on your machine.):

[HKEY_LOCAL_MACHINE\Software\Electronic Arts\Need for Speed High Stakes]
"3D Card"="3Dfx Voodoo3"
"3D Device Description"="3DFX VOODOO3"
"D3D Device"=dword:00000000
"Group"="3Dfx"
"Hardware Acceleration"=dword:00000001
"InstallPath"="C:\\Programme\\Electronic Arts\\Need for Speed"
"Thrash Driver"="voodoo2"
"Thrash Resolution"="640x480"
"Triple Buffer"=dword:00000000
"Version"="4.00"

[post new] [reply to this]




   << Back

Page loaded in 0.20655 seconds.