Page 1 of 1

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

Posted: 2010-11-20 14:18
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

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

Posted: 2010-11-20 23:24
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

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

Posted: 2010-11-21 23:12
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

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

Posted: 2010-11-22 00:07
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

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

Posted: 2010-11-22 00:17
by marty6
bazza_1964,

What does the tr.exe file do?

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

Posted: 2010-11-22 02:27
by SnipingCoward
Make sure that .NET Framework 3.5 was installed successfully.

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

Posted: 2010-11-22 18:09
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?

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

Posted: 2010-11-23 00:42
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.

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

Posted: 2010-11-23 00:44
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:

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

Posted: 2011-06-01 02:18
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?

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

Posted: 2011-06-01 03:18
by Peeta
tr.exe adds thermals, the little carrot on the compass, and little tweaks like that.