Page 1 of 2

Trying to run PR under Linux (client)

Posted: 2014-08-18 20:29
by Clund
Hello,

I just installed everything, steam, bf2, etc works nice. The only Problem is the PR Launcher. It uses .NET and .NET is kind of hard to install under Linux. :evil:

I slightly remember a bash script that could be used to update and Launch PR. Is it still available?

Clund

P.S. and yes, If i got it working, I will make a nice tutorial for you :D

Re: Trying to run PR under Linux (client)

Posted: 2014-08-18 22:38
by MaSSive
Winetricks first then net 3.5 it should work. What script? Why do you need script to launch PR?

Install Winetricks and .Net Framework 3.5 on Linux - -- IT Box for VN --

Re: Trying to run PR under Linux (client)

Posted: 2014-08-18 22:41
by LITOralis.nMd
Have not tried it myself.

Prior to the introduction of the PRLauncher, (The PR V1.0 release) it was possible if you could get the Wine .net 4 to work:
https://www.realitymod.com/forum/f358-s ... games.html

https://appdb.winehq.org/objectManager. ... &iId=17886

PRLanucher only requires .Net 4 to run, not 4.5 or 4.51.
I regularly tell people on this forum to download 4.5.1 , just to generally keep their systems up to date.

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 06:24
by Clund
So ... it is only a problem of the launcher, right?

EDIT: My winetricks fails to install at the 3.0 installation ... still figuring out why. (But I don't want to bother you with my wine Problems :P )

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 11:27
by Clund
May I present to you:

the buggy and flickering but useable Launcher:

Image

EDIT:

aaaaand fail:

Image

Wine says something like this:

"fixme:thread:NtQueryInformationThread info class 16 not supported yet"

I think this is some unimplemented function ... like hashing?

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 13:36
by Clund
Ohhhhh I am stupid. I used optirun.

Without optirun the graphics are well and I can update successfully :)

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 14:05
by BloodyDeed
How's the rest of the game? Does it run?

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 14:06
by Clund


Any ideas ... ?

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 14:23
by BloodyDeed
What does the log contain?

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 14:28
by Clund
Umm ... have you ever seen a Wine log? :D

Thousands of Error aka "fixme:*" ...

I will try to get the failing message.

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 14:36
by Clund
Okay, the ">" trick only gives me this:

Code: Select all

0x03c04ee1: int	$3
Modules:
Module	Address			Debug info	Name (168 modules)
PE	  340000-  3bb000	Deferred        msvcp71
PE	  3c0000-  3d9000	Deferred        zlib122
PE	  400000-  b30000	Export          prbf2
PE	  b30000-  cb3000	Deferred        dice_py
PE	  cc0000-  cfc000	Deferred        novinthfx
PE	  d00000-  d3a000	Deferred        bf2voipserver
PE	 2100000- 214d000	Deferred        bf2audio
PE	 3540000- 3760000	Deferred        bf2openal
PE	 3b90000- 3e2f000	Export          renddx9
PE	 3e30000- 3e72000	Deferred        textureatlasbuilder
PE	 3e80000- 40d3000	Deferred        d3dx9_25
PE	 40e0000- 40f3000	Deferred        pcregexp
PE	 fee0000- ffdf000	Deferred        pbsv
PE	10000000-10122000	Deferred        memory
PE	1bb10000-1bd48000	Deferred        d3dx9_24
PE	1bd50000-1be57000	Deferred        swiffplayer
PE	30000000-3006d000	Deferred        binkw32
ELF	7b800000-7ba5b000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba5b000	\               kernel32
ELF	7bc00000-7bcdb000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcdb000	\               ntdll
ELF	7bf00000-7bf04000	Dwarf           <wine-loader>
PE	7c340000-7c396000	Deferred        msvcr71
ELF	7dbb9000-7dbf0000	Deferred        uxtheme<elf>
  \-PE	7dbc0000-7dbf0000	\               uxtheme
ELF	7dbf0000-7dc01000	Deferred        libxi.so.6
ELF	7dc01000-7dc0c000	Deferred        libxrender.so.1
ELF	7dc0c000-7dc12000	Deferred        libxxf86vm.so.1
ELF	7dc12000-7dc19000	Deferred        libxdmcp.so.6
ELF	7dc19000-7dc1d000	Deferred        libxau.so.6
ELF	7dc1d000-7dc3f000	Deferred        libxcb.so.1
ELF	7dc3f000-7dd73000	Deferred        libx11.so.6
ELF	7dd73000-7dd86000	Deferred        libxext.so.6
ELF	7dda7000-7de39000	Deferred        winex11<elf>
  \-PE	7ddb0000-7de39000	\               winex11
ELF	7df1c000-7df45000	Deferred        libexpat.so.1
ELF	7df45000-7df80000	Deferred        libfontconfig.so.1
ELF	7df80000-7dfa8000	Deferred        libpng12.so.0
ELF	7dfa8000-7e048000	Deferred        libfreetype.so.6
ELF	7e069000-7e170000	Deferred        comctl32<elf>
  \-PE	7e070000-7e170000	\               comctl32
ELF	7e170000-7e1ea000	Deferred        shlwapi<elf>
  \-PE	7e180000-7e1ea000	\               shlwapi
ELF	7e1ea000-7e41d000	Deferred        shell32<elf>
  \-PE	7e200000-7e41d000	\               shell32
ELF	7e41d000-7e4ec000	Deferred        crypt32<elf>
  \-PE	7e430000-7e4ec000	\               crypt32
ELF	7e4ec000-7e535000	Deferred        dsound<elf>
  \-PE	7e4f0000-7e535000	\               dsound
ELF	7e535000-7e55b000	Deferred        iphlpapi<elf>
  \-PE	7e540000-7e55b000	\               iphlpapi
ELF	7e55b000-7e577000	Deferred        wsock32<elf>
  \-PE	7e560000-7e577000	\               wsock32
ELF	7e577000-7e5a2000	Deferred        msacm32<elf>
  \-PE	7e580000-7e5a2000	\               msacm32
ELF	7e5a2000-7e65c000	Deferred        winmm<elf>
  \-PE	7e5b0000-7e65c000	\               winmm
ELF	7e65c000-7e6dd000	Deferred        rpcrt4<elf>
  \-PE	7e670000-7e6dd000	\               rpcrt4
ELF	7e6dd000-7e819000	Deferred        ole32<elf>
  \-PE	7e6f0000-7e819000	\               ole32
ELF	7e819000-7e835000	Deferred        dinput8<elf>
  \-PE	7e820000-7e835000	\               dinput8
ELF	7e835000-7e86b000	Deferred        ws2_32<elf>
  \-PE	7e840000-7e86b000	\               ws2_32
ELF	7e86b000-7e8dd000	Deferred        advapi32<elf>
  \-PE	7e880000-7e8dd000	\               advapi32
ELF	7e8dd000-7e9fa000	Deferred        gdi32<elf>
  \-PE	7e8f0000-7e9fa000	\               gdi32
ELF	7e9fa000-7eb54000	Deferred        user32<elf>
  \-PE	7ea10000-7eb54000	\               user32
ELF	7eb54000-7eb6e000	Deferred        libz.so.1
ELF	7eb75000-7eb8f000	Deferred        version<elf>
  \-PE	7eb80000-7eb8f000	\               version
ELF	7eb8f000-7ebf7000	Deferred        dbghelp<elf>
  \-PE	7eba0000-7ebf7000	\               dbghelp
ELF	7ebf7000-7ec04000	Deferred        libnss_files.so.2
ELF	7ec04000-7ec10000	Deferred        libnss_nis.so.2
ELF	7ec10000-7ec29000	Deferred        libnsl.so.1
ELF	7ef99000-7efdf000	Deferred        libm.so.6
ELF	7efec000-7f000000	Deferred        psapi<elf>
  \-PE	7eff0000-7f000000	\               psapi
ELF	f075e000-f0765000	Deferred        libnss_dns.so.2
ELF	f0786000-f07d1000	Deferred        dinput<elf>
  \-PE	f0790000-f07d1000	\               dinput
ELF	f1a38000-f1a4e000	Deferred        midimap<elf>
  \-PE	f1a40000-f1a4e000	\               midimap
ELF	f1a4e000-f1b44000	Deferred        libasound.so.2
ELF	f1b4c000-f1b65000	Deferred        msacm32<elf>
  \-PE	f1b50000-f1b65000	\               msacm32
ELF	f1b65000-f1b95000	Deferred        winealsa<elf>
  \-PE	f1b70000-f1b95000	\               winealsa
ELF	f1b95000-f1c86000	Deferred        quartz<elf>
  \-PE	f1bb0000-f1c86000	\               quartz
ELF	f1c86000-f1c9b000	Deferred        avicap32<elf>
  \-PE	f1c90000-f1c9b000	\               avicap32
ELF	f1c9b000-f1cc2000	Deferred        devenum<elf>
  \-PE	f1ca0000-f1cc2000	\               devenum
ELF	f1cc5000-f1cec000	Deferred        dxgi<elf>
  \-PE	f1cd0000-f1cec000	\               dxgi
ELF	f1cec000-f1d1e000	Deferred        wbemprox<elf>
  \-PE	f1cf0000-f1d1e000	\               wbemprox
ELF	f1d1e000-f1d93000	Deferred        ddraw<elf>
  \-PE	f1d30000-f1d93000	\               ddraw
ELF	f1d93000-f1db9000	Deferred        dxdiagn<elf>
  \-PE	f1da0000-f1db9000	\               dxdiagn
ELF	f1db9000-f1dc4000	Deferred        libpciaccess.so.0
ELF	f1dc4000-f1de1000	Deferred        libgcc_s.so.1
ELF	f1eca000-f1ed9000	Deferred        libdrm_radeon.so.1
ELF	f1ed9000-f1ee1000	Deferred        libdrm_nouveau.so.2
ELF	f1ee1000-f1f03000	Deferred        libdrm_intel.so.1
ELF	f1f03000-f2476000	Deferred        i965_dri.so
ELF	f2476000-f2480000	Deferred        libnih-dbus.so.1
ELF	f2480000-f2499000	Deferred        libnih.so.1
ELF	f2499000-f24b7000	Deferred        libcgmanager.so.0
ELF	f24b7000-f24ca000	Deferred        libudev.so.1
ELF	f24ca000-f24d7000	Deferred        libdrm.so.2
ELF	f24d7000-f24de000	Deferred        libxcb-sync.so.1
ELF	f24de000-f24f6000	Deferred        libxcb-glx.so.0
ELF	f24f6000-f2556000	Deferred        libgl.so.1
ELF	f2577000-f2686000	Deferred        opengl32<elf>
  \-PE	f2590000-f2686000	\               opengl32
ELF	f2686000-f27c6000	Deferred        wined3d<elf>
  \-PE	f2690000-f27c6000	\               wined3d
ELF	f27c6000-f286e000	Deferred        msvcrt<elf>
  \-PE	f27e0000-f286e000	\               msvcrt
ELF	f2bcb000-f2bcf000	Deferred        libxcb-present.so.0
ELF	f2bcf000-f2bd3000	Deferred        libxcb-dri3.so.0
ELF	f2bd3000-f2bff000	Deferred        msvfw32<elf>
  \-PE	f2be0000-f2bff000	\               msvfw32
ELF	f6d00000-f6d03000	Deferred        libxshmfence.so.1
ELF	f6d03000-f6d09000	Deferred        libxcb-dri2.so.0
ELF	f6d09000-f6d0c000	Deferred        libx11-xcb.so.1
ELF	f6d0c000-f6d12000	Deferred        libxfixes.so.3
ELF	f6d12000-f6d59000	Deferred        avifil32<elf>
  \-PE	f6d20000-f6d59000	\               avifil32
ELF	f6d59000-f6d96000	Deferred        d3d9<elf>
  \-PE	f6d60000-f6d96000	\               d3d9
ELF	f6d96000-f6dbb000	Deferred        imm32<elf>
  \-PE	f6da0000-f6dbb000	\               imm32
ELF	f6dbb000-f6dd3000	Deferred        libresolv.so.2
ELF	f6dd3000-f6ddc000	Deferred        libogg.so.0
ELF	f6ddc000-f6e08000	Deferred        libvorbis.so.0
ELF	f6e08000-f6f80000	Deferred        libvorbisenc.so.2
ELF	f6f80000-f6fb4000	Deferred        libflac.so.8
ELF	f6fb4000-f6fbd000	Deferred        librt.so.1
ELF	f6fbd000-f6fc4000	Deferred        libasyncns.so.0
ELF	f6fc4000-f7036000	Deferred        libsndfile.so.1
ELF	f7036000-f7040000	Deferred        libwrap.so.0
ELF	f7040000-f708b000	Deferred        libdbus-1.so.3
ELF	f708b000-f70fa000	Deferred        libpulsecommon-4.0.so
ELF	f70fa000-f7149000	Deferred        libpulse.so.0
ELF	f714b000-f7163000	Deferred        libglapi.so.0
ELF	f716a000-f7192000	Deferred        winepulse<elf>
  \-PE	f7170000-f7192000	\               winepulse
ELF	f7192000-f72c8000	Deferred        oleaut32<elf>
  \-PE	f71b0000-f72c8000	\               oleaut32
ELF	f72c8000-f72ea000	Deferred        mmdevapi<elf>
  \-PE	f72d0000-f72ea000	\               mmdevapi
ELF	f7339000-f74e9000	Dwarf           libc.so.6
ELF	f74e9000-f74ee000	Deferred        libdl.so.2
ELF	f74ef000-f750b000	Deferred        libpthread.so.0
ELF	f7511000-f7515000	Deferred        libxdamage.so.1
ELF	f7515000-f7520000	Deferred        libjson-c.so.2
ELF	f7523000-f752c000	Deferred        libnss_compat.so.2
ELF	f752c000-f76e1000	Dwarf           libwine.so.1
ELF	f76e3000-f7705000	Deferred        ld-linux.so.2
ELF	f7705000-f7706000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 PRLauncher.exe
	0000005c    0
	00000055    0
	00000053    0
	00000052    0
	00000051    0
	00000050    0
	0000004f    0
	00000049    0
	0000000d    0
	0000005b    0
	0000005a    0
	00000054    0
	0000004d    0
	0000004c    0
	0000004b    0
	00000048    0
	00000039    0
	0000003b    0
	0000002d    0
	0000000b    0
	00000016    0
	00000011    0
	00000013    0
	0000001b    0
	00000019    0
	0000003a    0
	00000038    0
	00000037    0
	00000036    0
	00000035    0
	00000034    0
	00000033   15
	00000032    0
	00000031    2
	00000030    0
	00000009    0
0000000e services.exe
	00000040    0
	0000003f    0
	0000002c    0
	00000025    0
	0000001e    0
	00000010    0
	0000000f    0
00000014 explorer.exe
	0000002b    0
	00000015    0
0000001c winedevice.exe
	00000024    0
	00000021    0
	00000020    0
	0000001d    0
00000022 plugplay.exe
	00000028    0
	00000027    0
	00000023    0
00000029 PnkBstrA.exe
	0000002f    0
	0000002e    0
	0000002a    0
0000003d WPFFontCache_v0400.exe
	00000047    0
	00000046    0
	00000045    0
	00000044    0
	00000043    0
	00000041    0
	0000003e    0
00000056 (D) C:\Program Files\Steam\SteamApps\common\Battlefield 2\PRBF2.exe
	00000059   15
	0000001a    1
	00000018    0
	00000065    0
	00000063    0
	00000062    0
	00000061   15
	00000060   15
	0000005f    0
	0000005e    0
	0000005d   15
	00000057    0 <==
Beside of this I get a ton of this:

fixme :d 3d:resource_check_usage Unhandled usage flags 0x8.

and after that the last lines are:

Code: Select all

fixme :d 3d:resource_check_usage Unhandled usage flags 0x8.
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
wine: Unhandled exception 0x80000003 in thread 57 at address 0x3c04ee1 (thread 0057), starting debugger...
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x20122 0x00000000
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x2010c 0x00000000
fixme:thread:NtQueryInformationThread info class 16 not supported yet
fixme:advapi:UnregisterTraceGuids 0: stub

EDIT:
BloodyDeed wrote:How's the rest of the game? Does it run?
BF2 runs like ... Forrest Gump *badumm-tsch*

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 14:44
by BloodyDeed
No, the PR Launcher log, located in steam/steamapps/common/Battlefield 2/mods/pr/bin/PRLauncher.log

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 15:33
by Clund

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2014-08-19T15:49:20

Critical Error: An unhandled exception has occured. Details are as follows:

Object reference not set to an instance of an object.

Further details can be found in the following file:

[url]C:\Program Files\Steam\steamapps\common\Battlefield 2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.NullReferenceException: Object reference not set to an instance of an object.
   at PRLauncher.WPF.ViewModel.MainWindowViewModel...()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 16:06
by LITOralis.nMd
You tried to load Artic Lion, a map that you have a file integrity check fail.

Try again loading Muttrah - Skirmish layer.

Also, out of curiosity, what file system are you using for your Wine? ntfs, ext4, etc?

You have enough failed integrity check files I suggest reinstalling just the PR mod.

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 16:08
by LITOralis.nMd
Also, is PRMUmble working independently?

steam/steamapps/common/Battlefield 2/mods/pr/bin/PRMumble/PRMumble.exe

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 16:30
by Clund
Muttrah Skirmish crashes, too. Mumble as well.

All of the files are on ext4

I am reinstalling PR ...

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 16:49
by Clund
Image

That happens when I want to update after the fresh installation ...

2 possibilities:
The installer / extraction routine is bugged under wine.
The verifying routine is bugged under wine.

I have currently no Windows version of PR ... can you give me a tarball or .zip with all the files I can extract?

BTW: when I press options, the Launcher crashes without any log file ...

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 16:52
by LITOralis.nMd
It's possible you'll need a baremetal NTFS using this Ext2 IFS For Windows , but that's just a guess from my prior headache trying to get steam to run on Xubuntu with Wine and Winetricks

, PRLauncher has a file checksum verifier that might or might not be able to deal with virtualization, the different file system , and possibly is reliant on something in the .net framework that is missing in the Wine .NET Mono solution.

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 16:54
by LITOralis.nMd
The uncompressed size is like 6.9GB, I don't have a place to upload a compressed version, and it'll take me a good 12 hours with my ISP.

What I can do is :
upload all the game files, and just one map

and talk to you on Teamspeak as you work on this.

PM inbound with teamspeak info.

Re: Trying to run PR under Linux (client)

Posted: 2014-08-19 18:48
by Clund
I am going on holiday tomorrow ... so well ... let's continue when I am back :)