- Single player and splitscreen
- using the DirectX renderer at 1280x960 (widescreen)
- mouse in menus
- USB gamepads as input controllers
- sound + music (with ALSA backend)
What does not
There are graphical glitches in the menu and sometimes the textures of the cars in the showroom are wrong.
What was not tested
Network play - this depends like all DirectPlay games on an IPX- and/or TCP-Provider for DPlay which wine does not support yet. It might help to use the relevant DLLs from a windows installation.
I am using the "NFS HS SP 2.1A" stuff, restore the original d3da.dll (md5: 858fd7b0ca38d1949660de8bd775f8ac) and enter the registry values mentioned in the "D3D Approach". Since 0.9.54 an evil problem is also fixed that made the game crash every 3rd race. My assumption is that this was caused by the game not releasing texture (and other d3d) resources since in the 2nd race certain textures where completely white and 0.9.54 includes proper d3d resource unloading features. Many many thanks to the Wine team!
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Arch Linux x86_64||Dec 28 2019||5.0-rc2||N/A||Yes||Yes||Gold||Fiku Miku Foo Foo Foo|
|Show||Slackware64 14.1||Aug 26 2015||1.7.49||Yes||Yes||Gold||Manoa|
|Show||Ubuntu 12.04 "Precise" i386 (+ variants like Kubuntu)||May 12 2013||1.5.29||Yes||Yes||Gold||Oliver Melle|
|Show||Debian GNU/Linux 6.x "Squeeze"||Apr 11 2012||1.4||Yes||Yes||Gold||Alex|
|Show||Ubuntu 8.04 "Hardy" i386 (+ variants like Kubuntu)||Dec 26 2009||1.1.35||Yes||Yes||Gold||Marty Mcfly|
|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)||STAGED||View|
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.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|
|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:
Solution #2: The wrapper does not like the videos very well. Go to Data/Movies folder and rename, or remove these 2 files:
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)"!
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: