Linux - PRBF2 Now Partially Works through WINE
-
HallPooper
- Posts: 5
- Joined: 2016-09-23 18:09
Linux - PRBF2 Now Partially Works through WINE
Hello, this is not a support thread or anything like that. Just an update that PRBF2 partially works with wine. By partial I mean multiplayer and PRMumble don't work but singleplayer does. Supposedly, someone else got multiplayer to work but I can't. Anyway, on to the main event.
OS: Arch Linux
Kernel: x86_64 Linux 4.8.4-1-ck
DE: MATE 1.16.0
CPU: Intel Core i5-6600K CPU @ 4.3GHz
GPU: GeForce GTX 1060 3GB
Nvidia Driver: 370.28
====Installation====
0. Install latest wine version through Tools, Manage wine versions
1. Open PlayOnLinux
2. Press Install button
3. Press Install a non-listed program button
4. Install a program in a new virtual drive
5. Name the virtual drive anything you want ie. PRBF2
6. select use another version of wine, configure wine, and install some libraries
7. Choose latest available wine ie. 1.9.20-staging
8. 32 bits windows installation
9. If using wine staging, click staging tab in wine configuration window. If not, skip to step 11.
10. Select enable csmt for better graphic performance and enable environmental audio extensions EAX
11. Press Apply then OK
12. Choose POL_install_corefonts, POL_Install_d3dcompiler_43, pol_install_d3dx9, pol_install_dotnet40, pol_install_registerfonts, pol_install_tahoma, pol_install_vcrun2012
13. Click next and agree buttons until you can select a .exe to run.
14. Browse
15. Choose prbf2 setup.exe
16. Install like normal
17. Press quit instead of play
18. Choose PRLauncher.exe for the shortcut
19. Choose I dont want to make another shortcut
20. In main PlayOnLinux window, select PRLauncher
21. Press configure button
22. Click wine tab
23 Press configure wine button
24. Select Libraries tab
25. In New override for library: text box, type openal32
26. Press add button
27. Press apply then ok
28. Press windows reboot button
29. Close wine configuration window
30. Press run button
31. Click play button in PRLauncher this should update the game
If playonlinux says it has crashed during the update, do not close anything. The installer should still be working
32. Do whatever account stuff you need to do
33. Hit play button again
34. PRBF2 will load
If it looks like your game crashed or is not working, try alt-tab to select the window.
35. You should now be in game
====Notes====
Multiplayer doesn't work for me but it does for someone else (refer to credits).
PRMumble doesn't work.
You may need to install separate packages depending on your distro. If something doesn't work, consult your playonlinux debug log.
====Credits====
https://www.gamersonlinux.com/forum/forums/guides.20/
https://www.playonlinux.com/en/topic-13 ... tml#m58709
OS: Arch Linux
Kernel: x86_64 Linux 4.8.4-1-ck
DE: MATE 1.16.0
CPU: Intel Core i5-6600K CPU @ 4.3GHz
GPU: GeForce GTX 1060 3GB
Nvidia Driver: 370.28
====Installation====
0. Install latest wine version through Tools, Manage wine versions
1. Open PlayOnLinux
2. Press Install button
3. Press Install a non-listed program button
4. Install a program in a new virtual drive
5. Name the virtual drive anything you want ie. PRBF2
6. select use another version of wine, configure wine, and install some libraries
7. Choose latest available wine ie. 1.9.20-staging
8. 32 bits windows installation
9. If using wine staging, click staging tab in wine configuration window. If not, skip to step 11.
10. Select enable csmt for better graphic performance and enable environmental audio extensions EAX
11. Press Apply then OK
12. Choose POL_install_corefonts, POL_Install_d3dcompiler_43, pol_install_d3dx9, pol_install_dotnet40, pol_install_registerfonts, pol_install_tahoma, pol_install_vcrun2012
13. Click next and agree buttons until you can select a .exe to run.
14. Browse
15. Choose prbf2 setup.exe
16. Install like normal
17. Press quit instead of play
18. Choose PRLauncher.exe for the shortcut
19. Choose I dont want to make another shortcut
20. In main PlayOnLinux window, select PRLauncher
21. Press configure button
22. Click wine tab
23 Press configure wine button
24. Select Libraries tab
25. In New override for library: text box, type openal32
26. Press add button
27. Press apply then ok
28. Press windows reboot button
29. Close wine configuration window
30. Press run button
31. Click play button in PRLauncher this should update the game
If playonlinux says it has crashed during the update, do not close anything. The installer should still be working
32. Do whatever account stuff you need to do
33. Hit play button again
34. PRBF2 will load
If it looks like your game crashed or is not working, try alt-tab to select the window.
35. You should now be in game
====Notes====
Multiplayer doesn't work for me but it does for someone else (refer to credits).
PRMumble doesn't work.
You may need to install separate packages depending on your distro. If something doesn't work, consult your playonlinux debug log.
====Credits====
https://www.gamersonlinux.com/forum/forums/guides.20/
https://www.playonlinux.com/en/topic-13 ... tml#m58709
Last edited by Rhino on 2016-10-23 21:18, edited 1 time in total.
-
Aiii
- Posts: 18
- Joined: 2008-04-08 09:52
Re: Linux - PRBF2 Now Partially Works through WINE
im too drunk to try now but 2morrow i swear. im not playing pr cuz i hate that **** i dont even wanna say out loud...
-
Jacksonez__
- Posts: 1090
- Joined: 2013-07-28 13:19
Re: Linux - PRBF2 Now Partially Works through WINE
Linux seems so user friendly.
-
HallPooper
- Posts: 5
- Joined: 2016-09-23 18:09
Re: Linux - PRBF2 Now Partially Works through WINE
I'm guessing that's snark, but what do you expect when the game nor the mod was made for Linux?Jacksonez__ wrote:Linux seems so user friendly.
-
Aiii
- Posts: 18
- Joined: 2008-04-08 09:52
Re: Linux - PRBF2 Now Partially Works through WINE
well i dont know if that matters, but its made by ppl with love and enthusiasm. all my respect to all who is was involved. it seems the gnu/linux community earning some credits by creating something which is always gonna serve the people. every line of code is freely available. i hope humanity will evolve like linux. we are living in a so deep low level of existence. shame. ms an apple has to fall with all the copyright laws and patents.Jacksonez__ wrote:Linux seems so user friendly.
-
rPoXoTauJIo
- PR:BF2 Developer
- Posts: 1979
- Joined: 2011-07-20 10:02
Re: Linux - PRBF2 Now Partially Works through WINE
I could say mac being user-friendly(no), but damn sure you'll hit more walls trying to launch prbf2 there.Jacksonez__ wrote:Linux seems so user friendly.

assetruler69: I've seen things you smurfs wouldn't believe. Apaches on the Kashan. I watched burned down tank hulls after the launch of the single TOW. All those moments will be lost in time, like tears in rain.
Time to give up and respawn.
-
Aiii
- Posts: 18
- Joined: 2008-04-08 09:52
Re: Linux - PRBF2 Now Partially Works through WINE
Well I haven't tested yet but I am planning to upgrade to mesa13 soon, since I have ati hd5870. I would like to see more testing here. There are plenty PR fan from previous threads. I am on archlinux as well with Intel i7 930. Hopefully some devs will join. 
-
HallPooper
- Posts: 5
- Joined: 2016-09-23 18:09
Re: Linux - PRBF2 Now Partially Works through WINE
Hello, since you are also using Arch you will probably have to install libpng12 if no other program on your system has required it. I also installed lib32-libpng12 just incase.Aiii wrote:Well I haven't tested yet but I am planning to upgrade to mesa13 soon, since I have ati hd5870. I would like to see more testing here. There are plenty PR fan from previous threads. I am on archlinux as well with Intel i7 930. Hopefully some devs will join.![]()
-
Aiii
- Posts: 18
- Joined: 2008-04-08 09:52
Re: Linux - PRBF2 Now Partially Works through WINE
any update? I tried it earlier but i didnt even get close to what HallPooper got. Since then there was a major wine update, i hope for good.
-
BloodyDeed
- Retired PR Developer
- Posts: 4452
- Joined: 2008-05-07 17:43
Re: Linux - PRBF2 Now Partially Works through WINE
While I'm happy so see you guys trying this out I'm afraid you'll not be able to run the multiplayer part of PR on Linux.
We're using too many hacks to get things like mumble, ingame overlay, BUS to work, they will probably never work without changing how these work fundamentally. And I doubt this is going to happen.
I've always been one of the first who wanted to see a Linux port but the effort is beyond feasible (the effort for us to change these things, not the effort to install it on Linux).
We're using too many hacks to get things like mumble, ingame overlay, BUS to work, they will probably never work without changing how these work fundamentally. And I doubt this is going to happen.
I've always been one of the first who wanted to see a Linux port but the effort is beyond feasible (the effort for us to change these things, not the effort to install it on Linux).

-
Aiii
- Posts: 18
- Joined: 2008-04-08 09:52
Re: Linux - PRBF2 Now Partially Works through WINE
very
well im done with windows. my last attempt with win10 was a huge failure with bsod every half hour. i always keep an eye on realitymod hoping for a working solution or a port. i totally understand that this would require a lot of work and probably there is no real demand for a linux port. I fully appreciate the straight answer from a dev. atm Insurgency is my pr on linux, which is far from the fun I had in pr. I would even give donation if there would be an attempt for porting. The hope never dies
-
Cossack
- Posts: 1689
- Joined: 2009-06-17 09:25
Re: Linux - PRBF2 Now Partially Works through WINE
If you have BSOD with Windows 10, some devices are not working properly or some things are missing like drivers.
Or if it was non-legal version, there are issues with the version.
Or if it was non-legal version, there are issues with the version.

-
Ruskington
- Posts: 9
- Joined: 2014-09-26 11:21
Re: Linux - PRBF2 Now Partially Works through WINE
Yesterday I installed PR inside a Windows virtual machine using qemu, kvm, and virt-manager and it actually works, even if my little ThinkPad was unable to run at any acceptable framerate (it takes 20 seconds to play the rifle animation when you spawn).
I will try a passthrough with a ExpressCard adapter for a GPU from my desktop and see if it performs any better. Theoretically, performance should be close to native given enough RAM.
I will try a passthrough with a ExpressCard adapter for a GPU from my desktop and see if it performs any better. Theoretically, performance should be close to native given enough RAM.
-
Arab
- PR:BF2 Developer
- Posts: 2898
- Joined: 2012-05-18 03:37
-
fighterpil
- Posts: 9
- Joined: 2017-11-21 20:23
Re: Linux - PRBF2 Now Partially Works through WINE
Would PR work with PlayOnMac? Also, I would really appreciate it if somebody made a Mac port of PR, but, unfortunately, I doubt that will ever happen.
-
Yosik
- PR:BF2 Developer
- Posts: 90
- Joined: 2011-08-12 16:41
Re: Linux - PRBF2 Now Partially Works through WINE
QEMU/VMWare/VirtualBox should work for everyone in theory since it's completely contained. Although I wouldn't recommend QEMU since it's way more complicated to set up and use, and it has completely different design goals. Maybe I am wrong but it should be slower while having a reduced footprint because the alternatives put a lot of effort into optimizing regular user usage and things like GPU utilization while QEMU is mainly for advanced testing by devs.Ruskington wrote:Yesterday I installed PR inside a Windows virtual machine using qemu, kvm, and virt-manager and it actually works, even if my little ThinkPad was unable to run at any acceptable framerate (it takes 20 seconds to play the rifle animation when you spawn).
I will try a passthrough with a ExpressCard adapter for a GPU from my desktop and see if it performs any better. Theoretically, performance should be close to native given enough RAM.
There can't be a port of PR to any new system since we don't have have the source code, only a playonmac/wine package for PR.fighterpil wrote:Would PR work with PlayOnMac? Also, I would really appreciate it if somebody made a Mac port of PR, but, unfortunately, I doubt that will ever happen.
The BF2142 Mac version was basically the windows binaries wrapped in Cider which is based on Wine. It worked fine on Mac AFAIK and it's practically the same engine as BF2 so there shouldn't be an issue. Seeing that PlayOnLinux is a port of Wine for Mac it should also work. They even have BF1942 on their supported games list.
However, you will only be able to play singleplay as other wine users.
Regarding my last point about only singleplayer working in Wine - I spent some time looking into it a while ago and even consulted with Wine devs but didn't get very far. Fixing it is beyond playing with .dll settings and will require re-writing PR Launcher's interaction with the BF2 binary without messing everything up. I currently lack the time and have more important tasks for regular PR so I am not actively looking into it but I might come back to it at some point.
Maybe someday we will be able to get rid of Windows from our lives

-
Skipperio
- Posts: 8
- Joined: 2014-06-28 08:38
Re: Linux - PRBF2 Now Partially Works through WINE
I would donate, who would make it possible. Just for this feature.
-
FalkeS
- Posts: 51
- Joined: 2016-02-12 09:31
Re: Linux - PRBF2 Now Partially Works through WINE
I think i got bf2 running one time on linux but don't remember how good it ran.
Have also tried to run pr in it but had trouble with the pr launcher
Have also tried to run pr in it but had trouble with the pr launcher
-
Licaon
- Posts: 3
- Joined: 2015-07-26 10:34
Re: Linux - PRBF2 Now Partially Works through WINE
Hi, I followed your steps (running Ubuntu 18.04). I could not get it to run. The max that I got was, Launch the PRlauncher, the PR icon appears on the screen and
nothing. I get the icon and I wait and wait, but nothing happens next. Furthermore, I am not able to remove the icon and I have to reboot manually.
I will see if anyone got the same error or ways to solve this.
nothing. I get the icon and I wait and wait, but nothing happens next. Furthermore, I am not able to remove the icon and I have to reboot manually.
I will see if anyone got the same error or ways to solve this.
-
Carti
- Posts: 34
- Joined: 2018-06-24 12:10
Re: Linux - PRBF2 Now Partially Works through WINE
It should be easy to install Windows on your computer. Just an other hard drive into your computer and install Windows to that, Linux can detect multiple op. systems so booting is not going to be a problem.




