Ubuntu 10.10 and PR .957 ... help needed...

Discussion on Computer Software & Operating Systems
Post Reply
marty6
Posts: 32
Joined: 2010-11-17 00:34

Ubuntu 10.10 and PR .957 ... help needed...

Post by marty6 »

Hi,

I'm new to PR and have a few questions. I have loaded the game through wine in Ubuntu 10.10. I am able to run bf2, bf2 spec forces, Hard Justice, and a few other mods via wine. I have loaded PR w/ the 3 exe files via wine. I have not been able to start the game through wine. I have edited the reg file and the wine config file but no luck. Any suggestions would be appreciated.
thx,
marty6
bazza_1964
Posts: 251
Joined: 2008-09-12 21:18

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by bazza_1964 »

The only question I can think of is did you apply the BF2 1.50 patch? BEFORE you installed PR? And you did the BF2 install through wine? Not Cedega? Perhaps the PR shortcut needs to be edited...

Post on linux forums:

http://www.linuxforums.org/forum/debian ... d-2-a.html
"Sir, I am unaware of any such activity or operation... nor would I be disposed to discuss such an operation if it did in fact exist, sir." - Captain Willard
marty6
Posts: 32
Joined: 2010-11-17 00:34

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by marty6 »

Hi Bazza_1964,

I have BF2, BF2 SpForces, the BF2BPC addon, patched to 1.41 then to 1.5. I then proceeded to add the PR addon. Everything loaded well through wine. I am able to play BF2 and the other mods really well. But the PR mod doesn't want to load what-so-ever. I have checked the prerror log file. It states the following:

System.MissingMethodException: Method not found: 'System.String System.Windows.Forms.OpenFileDialog.get_SafeFileName()'.

at n.i()

at g.a(String[] A_0)

This error maybe due to a reference to a dll file during the process of creating the pr.exe file. Is there a way to fix this?

Usually I can add the modpath with the BF2.exe file. I have tried the pr.exe +modpath method. Nothing works. I am a first time user of PR. I can play it through Windows Vista 64 with no problems. But in Ubuntu 10.10 I believe that PR needs a little help. I have modified the registry files within wine to match those of bf2. This option too has not worked. It's too bad that the BF2.exe file cannot be used instead. Yes, I get the same error in windows with the "please use the pr.exe instead of the bf2.exe" statement.

Any help is appreciated.

PS ... Is there anyway that this script could be used in Ubuntu linux in the link below? BTW. I don't use steam.

https://www.realitymod.com/forum/f26-pr-bf2-bugs/68311-project-reality-battlefield-2-steam-3.html#post1158450
Last edited by marty6 on 2010-11-21 23:39, edited 1 time in total.
bazza_1964
Posts: 251
Joined: 2008-09-12 21:18

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by bazza_1964 »

All of that stuff is outside of my league ;) but I know Cedega was the only way I knew of to get BF2 to work:


The Cedega Gaming Service - Play PC games on Linux


also, there is a "tr.exe" somewhere in the mix, I've seen that in some (Windows) PR forums. Good luck, and let me know what you find!

Bazza
"Sir, I am unaware of any such activity or operation... nor would I be disposed to discuss such an operation if it did in fact exist, sir." - Captain Willard
marty6
Posts: 32
Joined: 2010-11-17 00:34

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by marty6 »

bazza_1964,

What does the tr.exe file do?
SnipingCoward
Posts: 2326
Joined: 2007-12-31 22:40

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by SnipingCoward »

Make sure that .NET Framework 3.5 was installed successfully.
Got a PROBLEM? Check this: PR:BF2 Installation Guide

Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ

"Hello, IT! ... Yes, have you tried turning it on and off again?"
marty6
Posts: 32
Joined: 2010-11-17 00:34

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by marty6 »

[R-COM]SnipingCoward,

I couldn't get net framework 3.5 to load in wine on Ubuntu 10.10. I believe that wine has not developed enough for this game to work on it. Are you using ubuntu or another linux distro w/ net framework 3.5 working?
SnipingCoward
Posts: 2326
Joined: 2007-12-31 22:40

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by SnipingCoward »

marty6 wrote:[R-COM]SnipingCoward,

I couldn't get net framework 3.5 to load in wine on Ubuntu 10.10. I believe that wine has not developed enough for this game to work on it. Are you using ubuntu or another linux distro w/ net framework 3.5 working?
I am sorry, my sparse answer left room for interpretation. To clear it up:

I have not tried playing PR or any windows games through Wine on Ubuntu. I am familiar with Ubuntu but have no experience with wine however your approach is quite intriguing.

The BF2 mod PR requires ".NET Framework 3.5" to be installed on Windows.
Afaik the current PR installer files include a .NET Framework 3.5 installer. But for some reason this installer does not work sometimes producing simiar errors to yours.
So to be able to play PR your will need this framework installed on your environment for PR to be able to use it.
As to how you can achieve that: I have no clue, sorry.
Got a PROBLEM? Check this: PR:BF2 Installation Guide

Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ

"Hello, IT! ... Yes, have you tried turning it on and off again?"
bazza_1964
Posts: 251
Joined: 2008-09-12 21:18

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by bazza_1964 »

marty6 wrote:bazza_1964,

What does the tr.exe file do?
Beats me! If I knew that, I might be a DEV, lol... :mrgreen:
"Sir, I am unaware of any such activity or operation... nor would I be disposed to discuss such an operation if it did in fact exist, sir." - Captain Willard
Americansapper86
Posts: 4
Joined: 2011-05-31 11:24

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by Americansapper86 »

So for the purpose of adding to this discussion: What about the use of "Mono" a open source .NET framework which is supposedly capable of implimenting everything that MS 3.5 .NET has to offer?
Peeta
Posts: 1204
Joined: 2008-11-28 02:05

Re: Ubuntu 10.10 and PR .957 ... help needed...

Post by Peeta »

tr.exe adds thermals, the little carrot on the compass, and little tweaks like that.
Post Reply

Return to “Software”