455
edits
mNo edit summary |
|||
| Line 73: | Line 73: | ||
After saving, you will have created the game profile. To generate the actual Wine prefix, trigger the Wine executable by clicking the arrow icon at the bottom of the application and selecting '''Wine configuration'''. After a few seconds, the Wine configuration window will open. You don’t need to change anything here, just close it. The Wine prefix folder will now be created, containing all necessary files. Think of it as a portable Windows installation where you can install the game. | After saving, you will have created the game profile. To generate the actual Wine prefix, trigger the Wine executable by clicking the arrow icon at the bottom of the application and selecting '''Wine configuration'''. After a few seconds, the Wine configuration window will open. You don’t need to change anything here, just close it. The Wine prefix folder will now be created, containing all necessary files. Think of it as a portable Windows installation where you can install the game. | ||
===Install Battlefield 2 === | ===Install Battlefield 2 === | ||
The recommended version is the Complete Collection with all expansions. The game requires a valid CD key; utilities such as '''BF2KeyMan''' can generate keys and apply them to the Windows registry. | |||
After mounting the disk of the game (search '''mount''' on Internet), you can run the setup by clicking '''Run EXE inside Wine prefix'''.[[File:Lutris-run-exe-inside-win-screen1.png|thumb|none]]The setup should complete with no issues, next step is to update the game with the few patches released. You need two patches, '''BF2_Patch_1.41'''.exe and '''BF2_Patch_1.50'''.exe. Install them following the same process you did with the game setup. | After mounting the disk of the game (search '''mount''' on Internet), you can run the setup by clicking '''Run EXE inside Wine prefix'''.[[File:Lutris-run-exe-inside-win-screen1.png|thumb|none]]The setup should complete with no issues, next step is to update the game with the few patches released. You need two patches, '''BF2_Patch_1.41'''.exe and '''BF2_Patch_1.50'''.exe. Install them following the same process you did with the game setup. | ||
| Line 85: | Line 85: | ||
===Restore EAX with OpenAL Soft=== | ===Restore EAX with OpenAL Soft=== | ||
The game supports EAX. To enable audio hardware capabilities, '''OpenAL Soft''' can be used to replace the existing library. The setup is straightforward and works well with many games, not only ''Battlefield 2''. The first step is to determine whether the game uses the '''dsound''' or '''openal''' audio library. In the game folder, you will find a library called '''BF2OpenAL.dll'''. From the name alone, you can tell that the game supports OpenAL, so we will use OpenAL Soft to replace it and enable EAX support. | |||
Download [https://github.com/kcat/openal-soft/releases/tag/1.23.1 OpenAL Soft] from the GitHub release page. The version I currently use for this game is '''1.23.1''', which I recommend for this tutorial. After extracting the archive, you will need two files: | Download [https://github.com/kcat/openal-soft/releases/tag/1.23.1 OpenAL Soft] from the GitHub release page. The version I currently use for this game is '''1.23.1''', which I recommend for this tutorial. After extracting the archive, you will need two files: | ||
| Line 97: | Line 97: | ||
===Setup Punkbuster=== | ===Setup Punkbuster=== | ||
PunkBuster is required for multiplayer on certain servers. The appropriate version must match the server configuration. [https://web.archive.org/web/20200219052143/http://fizweb.elte.hu/battlefield/Battlefield-2/BF2-PunkBuster/ Archived instructions] are available on the official site. | |||
[https://web.archive.org/web/20200219052143/http://fizweb.elte.hu/battlefield/Battlefield-2/BF2-PunkBuster/ | |||
==Tips== | ==Tips== | ||
| Line 129: | Line 127: | ||
==Troubleshooting== | ==Troubleshooting== | ||
*''' | *'''If the game does not launch''', switching Proton versions may resolve the issue. | ||
*'''Graphics issues | *'''Graphics issues''' can be diagnosed using DXVK logs. | ||
*'''Multiplayer problems | *'''Multiplayer problems''' may require verifying PunkBuster setup. | ||
==Downloads== | ==Downloads== | ||