HOW TO INSTALL HIDDEN AND DANGEROUS 2 ON LINUX
Tested on Arch Linux (should work on other distributions too)
Needed packages
Preparing the files
Create two separate folders on your computer (e.g. HD2 and HD2SS);
Extract the content of the Hidden and Dangerous 2 CDs into HD2;
Extract the content of Sabre Squadron CDs into HD2SS;
Download Patch - HD2_SS_PATCH1_12.zip from
here
.
A no cd crack is a good way to go even if you have a legal copy of the game
(In fact I haven't tested the game without it....
proof that I own the game
)
Install the original gamecd /path/to/files/HD2
wine setup.exe
Let it install, skip gamespy and directx
Install the expansion packcd /path/to/files/HD2SS
wine setup.exe
Let it install, skip gamespy and directx
Install the patchwine /path/to/file/patch.exe
Install the crack
If it comes with an installer
wine /path/to/file/crack.exe
or
Just copy the file into the main game directory and replace the original.
At this point your game should be good to launch and Single player mode should already work.
Enable Multiplayer
Improve Performance
- Follow
mökki medium's guide to
boost the game's performance using dxvk
- Install
GAMEMODE.
Gamemode Project on Github
,
Gamemode page on Arch Wiki
Launch your game with:
gamemoderun wine ./HD2_SabreSquadron.exe
More notes:
- Enabling VSync seems to lower CPU usage;
- Occasional FPS drops still occur. (
in my case I switch to another workspace and back to the game. For some reason it fixes the lag. May not work for everyone)
Play Online
- Because GameSpy has died a long time ago, you will not be able to see any servers. To fix this, add the following lines to your /etc/hosts file, if you want to be able to discover online servers:
89.166.9.246 hd2.available.gamespy.com #hidden and dangerous 2 check
89.166.9.246 hd2.master.gamespy.com #hidden and dangerous 2 heartbeats
89.166.9.246 hd2.ms14.gamespy.com #hidden and dangerous 2 server list
More Testing
Nikita's testings on Linux Mint.
Nikita's Post
IMPORTANT
If I missed anything or if you notice a mistake, please let me know using this thread.