![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | |
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 34,771
Downloads: 171
Uploads: 0
|
![]()
Hi, I do appreciate your help, I hope I am not getting under your skin!!
![]() I tried these shortcuts: Quote:
![]() The path to the Farcry2.exe file is "/home/reece/.cxoffice/Far_Cry_2/drive_c/Program Files/Ubisoft/Far Cry 2/bin"
__________________
Sub captains go down with their ship! |
|
![]() |
![]() |
![]() |
#2 | ||||||
Captain
![]() |
![]() Quote:
No problem, I'm not looking at it, so I have to "ping" with ideas, and see what "echos" back in your post... Not long after joined the forum, I was helping Sublynx sort out the SH3 Wide Screen Mod induced video driver issues with his AMD 4500 series card in his laptop. Shortcuts are easy compared to driver issues! ![]() With my SH3 example, I was just trying to give you a basic idea of what a non-"drive C" install MIGHT look like.... So now that I have your complete install path, I'll see if I can get a working command here... Quote:
Quote:
Linux command line does NOT like spaces. They are "special" characters, so you have to tell it so. With a "\". If neither of these work, We may have to trouble shoot this in the terminal and see what is going on. ![]() If the above works, ignore this part below... Option 1: The fast way: Use your file browser, and go to the location of the farcry2.exe and right click on the back ground within the "folder" (not on any particular file), there SHOULD be (somewhere in there) a "open terminal here" (or similar). Click it. Option 2: Open a Terminal Window (should be on your launcher menu somewhere, just type "terminal" in the search if you can't find it), and manually type your way to your farcry2.exe. Assuming that you are in your /home folder, it should look something like this in the terminal: Quote:
You can also break this up, and do one directory at a time. Don't forget the "\" before the spaces! Quote:
Quote:
As it is, I'm running off of 4 month old memory of about 2-3 hours of using Ubuntu... Barracuda |
||||||
![]() |
![]() |
![]() |
#3 |
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 34,771
Downloads: 171
Uploads: 0
|
![]()
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! |
![]() |
![]() |
![]() |
#4 | |
Captain
![]() |
![]()
Sorry, busy day working around the house...
Quote:
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 |
|
![]() |
![]() |
![]() |
#5 | |
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 34,771
Downloads: 171
Uploads: 0
|
![]()
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:
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! |
|
![]() |
![]() |
![]() |
#6 |
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 34,771
Downloads: 171
Uploads: 0
|
![]()
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! |
![]() |
![]() |
![]() |
#7 |
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 34,771
Downloads: 171
Uploads: 0
|
![]()
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! |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|