Game Project Reality 1.6.6.0 on wine 6.14

Questions about Wine on Linux
Locked
ViperBR
Newbie
Newbie
Posts: 3
Joined: Sat Jul 31, 2021 8:33 am

Game Project Reality 1.6.6.0 on wine 6.14

Post by ViperBR »

Hello! This is my first time on this forum, i would like to play Project Reality, i've tried to install the game with previous versions of wine 6.11;6.12;6.13 including 6.14, but the game doens't open ( when using the default launcher ). Also, the unique way to run ( at least when i tried ) it it's through browing the files and opening the "PRBF2.exe" - because opening the default shortcut that the game creates it just doens't open, which is the game launcher located at "Program Files (x86)/Project Reality/Project Reality BF2/mods/pr/bin/PRLauncher.exe" . This is my favorite game that i only have windows 10 installed just to play it. The linux distro that i'm using is Arch Linux.
( Apologizes if i did write something wrong, my english is not that good haha )

The game version i tried to run it is the latest: 1.6.6.0
This version also doesn't have any report on this link: https://appdb.winehq.org/objectManager. ... &iId=16967

I can offer more informations, i'm newbie on this area so help is appreciated. :D

Wine version:wine-6.14 (Staging)

OS: Arch Linux x86_64
Kernel: 5.13.9-arch1-1

• What happens when i try to run "PRBF2.exe": The game initializes, all works, the intro, sound and menu starts as normal. But the game requires the launcher to play properly, so i can't do nothing like play offline or multiplayer ( which is normal, i'm supposed to open the PRLauncher.exe as mentioned before, but it doesn't work ( it doesn't even open )).
Running PRBF2 exe.jpg
##~/.wine/drive_c/Program Files (x86)/Project Reality/Project Reality BF2/PRBF2.exe
• What happens doing the same but via terminal:https://pastebin.com/BVvYP5eq

##~/.wine/drive_c/Program Files (x86)/Project Reality/Project Reality BF2/mods/pr/bin/PRLauncher.exe
• What happens running via terminal the "PRLauncher.exe":https://pastebin.com/baBEqeT9
( as mentioned before, nothing appears, it's just this prompt on the terminal )
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Game Project Reality 1.6.6.0 on wine 6.14

Post by jkfloris »

When I try to start the game, I run into bug 49804
Does the Launcher work with:

Code: Select all

winetricks -q dotnet48 d3dcompiler_47
ViperBR
Newbie
Newbie
Posts: 3
Joined: Sat Jul 31, 2021 8:33 am

Re: Game Project Reality 1.6.6.0 on wine 6.14

Post by ViperBR »

Before doing this, i updated my wine version to the recent 6.15, and created a new .wine folder with32 bit prefix ( WINEARCH=win32 winecfg ), just to make sure that not happen any bugs following correctly as you say. Then i put the game folders on the path: "/.wine/drive_c/Program Files/Project Reality/Project Reality BF2/"

• And following these steps:
$ sudo pacman -S wine-mono wine-gecko
$ winetricks -q dotnet48 d3dcompiler_47
## Installation without errors: OK
• I did get to the launcher folder ".wine/drive_c/Program Files/Project Reality/Project Reality BF2/mods/pr/bin/", and ran:
$ wine PRLauncher.exe
## An error occurs, the launcher doesn't open.

Code: Select all

[andersonpc@archlinux bin]$ wine PRLauncher.exe 
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.15 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

O aplicativo não pôde ser iniciado ou não existe aplicativo associado 
ao arquivo especificado.
ShellExecuteEx falhou: Formato EXE impróprio para C:\Program Files\Pro
ject Reality\Project Reality BF2\mods\pr\bin\PRLauncher.exe.

[andersonpc@archlinux bin]$ 
The language of my terminal is in Portuguese-Brazil. So in english the words presents in this text should be ( using google translate) :

Code: Select all

Application could not be started or there is no associated application
to the specified file.
ShellExecuteEx failed: Inappropriate EXE format for C:\Program Files\Pro
ject Reality \ Project Reality BF2 \ mods \ pr \ bin \ PRLauncher.exe.
## Note: The game stills runs fine when not using the launcher as said before, the unique problem is with the launcher.
## Note2: Before setting up wine prefix to 32 bit, it was 64, and i tried your command but i did got some errors, that's why i tried a new clean .wine prefix

• As you see it doesn't works, i tried to install more components on the winetricks ( with the GUI following this video https://www.youtube.com/watch?v=aDuysgB35YY ), but still the same error.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Game Project Reality 1.6.6.0 on wine 6.14

Post by jkfloris »

Then i put the game folders on the path: "/.wine/drive_c/Program Files/Project Reality/Project Reality BF2/"
Don't copy the files, use the installer.

Code: Select all

O aplicativo não pôde ser iniciado ou não existe aplicativo associado 
ao arquivo especificado.
ShellExecuteEx falhou: Formato EXE impróprio para C:\Program Files\Pro
ject Reality\Project Reality BF2\mods\pr\bin\PRLauncher.exe.
What is the output of:

Code: Select all

file "${HOME}/.wine/drive_c/Program Files/Project Reality/Project Reality BF2/mods/pr/bin/PRLauncher.exe"
It think the installer recognizes whether you are using a 64 or 32-bit prefix and installs the corresponding PRLauncher. In this case: you are trying to execute a 64-bit file in a 32-bit prefix.
ViperBR
Newbie
Newbie
Posts: 3
Joined: Sat Jul 31, 2021 8:33 am

Re: Game Project Reality 1.6.6.0 on wine 6.14

Post by ViperBR »

Yes, i fixed it, i did setup the wine with 64 bit prefix, and reinstalled the game, then used your command with winetricks. The launcher now works, but with some glitches ( the launcher is totally black sometimes ). I did update the game and login into my steam account using the launcher. The game version updated is 1.6.7.0. The problem is, in order to play the game ( offline or multiplayer ), i need to create a profile, so i managed to go to the place where you create profiles, and when i need to write my game username, after any input that i place on the textbox, the launcher instantly crashes. I think the game would work good without this crash.
Locked