SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > General > General Topics > PC Hardware/Software forum
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-10-17, 06:06 AM   #1
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,220
Downloads: 171
Uploads: 0
Default

The results are:

env WINEPREFIX="/home/Reece/.wine" /usr/bin/wine C:\\windows\\command\\start.exe /unix /home/reece/.cxoffice/Far_Cry_2/drive_c/Program Files/Ubisoft/Far Cry 2/bin/farcry2.exe -GameProfile_SkipIntroMovies 1

env WINEPREFIX="/home/Reece/.wine" /usr/bin/wine C:\\windows\\command\\start.exe /unix /home/reece/.cxoffice/Far_Cry_2/drive_c/Program\ Files/Ubisoft/Far\ Cry\ 2/bin/farcry2.exe -GameProfile_SkipIntroMovies 1
Both do nothing.

Terminal Prompt:
reece@LAPTOP-UBUNTU:~/.cxoffice/Far_Cry_2/drive_c/Program Files/Ubisoft/Far Cry 2/bin$
In here placed the below in Terminal (Far Cry 2 folder) as above.
wine farcry2.exe -GameProfile_SkipIntroMovies 1
Wine Message:
The Wine configuration in /home/reece/.wine is being updated, please wait.
Error:
Error Message:
The wine configuration could not find a mono package which is needed for .NET packages to work correctly.
__________________

Sub captains go down with their ship!
Reece is online   Reply With Quote
Old 05-11-17, 04:28 AM   #2
BarracudaUAK
XO
 
Join Date: Apr 2016
Posts: 421
Downloads: 33
Uploads: 0


Default

Sorry, busy day working around the house...


Quote:
Originally Posted by Reece View Post
The results are:

env WINEPREFIX="/home/Reece/.wine" /usr/bin/wine C:\\windows\\command\\start.exe /unix /home/reece/.cxoffice/Far_Cry_2/drive_c/Program Files/Ubisoft/Far Cry 2/bin/farcry2.exe -GameProfile_SkipIntroMovies 1

env WINEPREFIX="/home/Reece/.wine" /usr/bin/wine C:\\windows\\command\\start.exe /unix /home/reece/.cxoffice/Far_Cry_2/drive_c/Program\ Files/Ubisoft/Far\ Cry\ 2/bin/farcry2.exe -GameProfile_SkipIntroMovies 1
Both do nothing.

Terminal Prompt:
reece@LAPTOP-UBUNTU:~/.cxoffice/Far_Cry_2/drive_c/Program Files/Ubisoft/Far Cry 2/bin$
In here placed the below in Terminal (Far Cry 2 folder) as above.
wine farcry2.exe -GameProfile_SkipIntroMovies 1
Wine Message:
The Wine configuration in /home/reece/.wine is being updated, please wait.
Error:
Error Message:
The wine configuration could not find a mono package which is needed for .NET packages to work correctly.
OK! This is why the shortcuts are not working...

One of them possibly is (the last one I posted most likely), but since you don't have "mono" or "dotnet" installed, Far Cry 2 is failing to start. And without a terminal, you don't get to see the error messages.

Before I go into this too far, a few questions so I know "where your system is" in the process. These questions are not necessarily related to each other, nor are they "in order".

1: Did WINE ask you to install "mono" when you ran winecfg for the first time?

2: Did you install Mono in Wine?

3: What are the system requirements for Far Cry 2?



There are 3 Possible fixes for this, but they require 2 different approaches.

1: Install Mono in your existing Wine 'prefix' (.wine the directory is the prefix).
I'm still looking for how to do this in Ubuntu, since it appears to be per prefix, and it appears to not be installed.
EDIT: https://askubuntu.com/questions/8005...mono-gecko-etc
The answer to the question appears to be the recommended way to install Mono...
If this works, and you can run Far Cry 2, then you can safely ignore the rest of this below...


2: Make a new Wine Prefix and have it install Mono in that prefix when it asks you.

3: Make a new 32bit Wine Prefix and install the required "dotnet" into that prefix.
This can get a bit confusing the first time around. But knowing the path to your home directory makes it easier for me to walk you through it.

NOTE: Due to the way WINE is coded, trying to install any version of Dotnet in a 64bit prefix (default on a 64bit version of Linux, most of the time) will not work.
So we can't just install dotnet into your existing .wine prefix and have it work...

Which is why I asked about the system requirements above.

Options 2 and 3 would require you to -most likely- re-install Far Cry 2. But you could just tell it to install to the same directory that it is already in.
I say most likely for the following reasons: on my pc Silent Hunter 3 is installed using the default ".wine", but I CAN run it using the 32bit ".wine32" prefix, where I have .dotnet2 and DirectX9 installed.
Other games/programs will not work this way. Some require that it be "installed" in the prefix that I try to run it with.

But to install dotnet2.0, etc... you will need to get "winetricks".

Winetricks is a "simple" script that "flips all the right switches" to "fake" success so that dotnet will install "correctly".

If you want to check it out, here is the wiki page on WineHQ.org:
https://wiki.winehq.org/Winetricks

But I'm hoping it won't be necessary!

Barracuda
BarracudaUAK is offline   Reply With Quote
Old 05-12-17, 04:51 AM   #3
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,220
Downloads: 171
Uploads: 0
Default

Hi, there is no mention of .NET in the system requirements for Far Cry 2.
I'm fairly sure that I don't have Mono or .NET installed by Wine, I don't remember it asking though I did step away when I installed it. Is there a way to check? Certainly there is nothing in the list of installed applications.
I have now installed mono using this command:
sudo apt-get install mono-complete
though at the end of the install I got the following:
Quote:
Setting up mono-complete (4.2.1.102+dfsg2-7ubuntu4) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic link

N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
Then I was prompted for a 75mb update, so I done that, hopefully that went in ok.
I will have to do some further testing but I have been called away and won't be able to look at it till atleast Sunday.
Thanks.
__________________

Sub captains go down with their ship!
Reece is online   Reply With Quote
Old 05-14-17, 01:33 AM   #4
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,220
Downloads: 171
Uploads: 0
Default

Back again!!
I fixed the "N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension" error, there shouldn't have been a file extension, seems others have had the same issue.
Although mono is now installed both links still do nothing.

From step 2 on I do not know what you mean by "prefix", in step 2"
Make a new Wine Prefix and have it install Mono in that prefix when it asks you.
I already have mono installed, does this install it again?

Some of the problem is probably due to the fact it was install by Crossover, I will investigate that side.
__________________

Sub captains go down with their ship!
Reece is online   Reply With Quote
Old 05-15-17, 02:43 AM   #5
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,220
Downloads: 171
Uploads: 0
Default

I found a pdf manual of the Crossover for Linux and discovered the Main Crossover Manual, from here I can nominate a target exe and add parameters, it worked.
Not the best solution due to the fact that I still don't know how the shortcut runs the exe file but at least it works.
I think I have taken enough of your time on this Barracuda, and very thankful, but I think it would be best to let it rest.
Maybe after some more reading on the subject I might get my head around all this.
I ordered a book on the Commands online but still haven't received it so I might have to chase after that!!
Still don't know if I should install .NET but it seems obvious that Far Cry 2 doesn't need it.
I have many more Windows apps to install, what a pain, hopefully it gets easier.
Again Thanks.
__________________

Sub captains go down with their ship!
Reece is online   Reply With Quote
Old 05-15-17, 05:47 AM   #6
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,844
Downloads: 136
Uploads: 50


Default

One of the more fun things I've done in the past year is leaving my dependence on Windows software behind and learning the Linux alternatives. One piece of software I used for years, Quintessential Media Player, was uniquely great at ripping CDs and letting me have absolute control over the .mp3 process with bitrate, variable bitrate, etc.

However, I've found that Asunder in Linux is even better at ripping CDs and Clementine (available also for Windows) is a hugely better media player. So win! Win!

That's happened over and over again in the year since Windows had a mental breakdown and I loaded up Ubuntu to see how Linux had progressed. The answer was that it's better than Windows. And https://appdb.winehq.org/ is your friend!
Rockin Robbins is offline   Reply With Quote
Old 05-15-17, 06:17 AM   #7
Reece
CINC Pacific Fleet
 
Reece's Avatar
 
Join Date: Sep 2003
Location: Down Under
Posts: 11,220
Downloads: 171
Uploads: 0
Default

Yes I am slowly getting to know Linux, I like it, the only thing is some Windows apps I like such as:
Jet Audio
Wavelab (have legal purchased version)
ETS2
Far Cry 3

Radio programs:
HDSDR
Radiocom
Sorcerer
Ham Radio Deluxe
Omni-Rig

Hopefully some of these or equivalents are available for Linux.
__________________

Sub captains go down with their ship!
Reece is online   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.