Elite Force 2 Shortcut

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Sinestro
Level 1
Level 1
Posts: 5
Joined: Wed Jun 22, 2011 5:59 pm

Elite Force 2 Shortcut

Post by Sinestro »

Managed to get Elite Force 2 installed (had help from here actually) and the game plays fine.

When I launch it directly from EF2.exe that is.

I have had no luck creating a shortcut however. Every time I try (entering the correct command line) I simply get the following.
Elite Force II 1.0 win-x86 May 24 2003
----- FS_Startup -----
Current search path:
Z:\home\griff/base
d:\Setup\Data\ef2.exe/base

----------------------
----- CL_Shutdown -----
-----------------------
Couldn't load default.cfg
Apparently (despite the command line) it's not looking in the right area?

Help please?
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Elite Force 2 Shortcut

Post by jjmckenzie »

On 6/22/11 4:02 PM, Sinestro wrote:
Managed to get Elite Force 2 installed (had help from here actually) and the game plays fine.

When I launch it directly from EF2.exe that is.

I have had no luck creating a shortcut however. Every time I try (entering the correct command line) I simply get the following.

Would be nice to have the command line you are using. Based on this, I
would suggest doing the following:

cd <directory where EF2 is installed>
wine EF2.exe
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Lift off?

Post by SpawnHappyJake »

Are you in Linux? If so, you might be able to make a launcher.
Can you right-click the Desktop or wherever, click "Create Launcher...", give the new launcher a name like "Elite Force 2", then give a command something like "env WINEPREFIX=[path to prefix you installed it into, [home folder]/.wine by default] wine [path to executable]"? But when you write the path to the executable you have to write it like this: "C:\\Program Files\\Double Slashes\\Example.exe"

If you're on a Mac and find a series of terminal inputs that work, you can make a text file with no file extension like this:

Code: Select all

#! /bin/sh

cd <directory where EF2 is installed>
wine EF2.exe
Or something like that. Then you can just double-click the file and it will go.

Cheers,
Jake
Sinestro
Level 1
Level 1
Posts: 5
Joined: Wed Jun 22, 2011 5:59 pm

Post by Sinestro »

On Linux, yes (Ubuntu)
/home/griff/.wine/dosdevices/c:/Program\ Files/Activision/EF2/EF2.exe

And that's the command line in the launcher. As I said, it looks like (based on the console message) it seems to be looking elsewhere for the game.
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Which way did he go?

Post by SpawnHappyJake »

Where is the executable file actually at?
Sinestro
Level 1
Level 1
Posts: 5
Joined: Wed Jun 22, 2011 5:59 pm

Post by Sinestro »

The files and all else are where the command line lists them.
Sinestro
Level 1
Level 1
Posts: 5
Joined: Wed Jun 22, 2011 5:59 pm

Re: Lift off?

Post by Sinestro »

SpawnHappyJake wrote:Are you in Linux? If so, you might be able to make a launcher.
Can you right-click the Desktop or wherever, click "Create Launcher...", give the new launcher a name like "Elite Force 2", then give a command something like "env WINEPREFIX=[path to prefix you installed it into, [home folder]/.wine by default] wine [path to executable]"? But when you write the path to the executable you have to write it like this: "C:\\Program Files\\Double Slashes\\Example.exe"
Attempted this.

Still getting the same error message.
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Hmm

Post by SpawnHappyJake »

Did you try to do it from terminal after "cd"ing to it like James McKenzie was suggesting? You could put that into a bash script and run that, if it works.

Cheers,
Jake
Sinestro
Level 1
Level 1
Posts: 5
Joined: Wed Jun 22, 2011 5:59 pm

Re: Elite Force 2 Shortcut

Post by Sinestro »

jjmckenzie wrote:On 6/22/11 4:02 PM, Sinestro wrote:
Managed to get Elite Force 2 installed (had help from here actually) and the game plays fine.

When I launch it directly from EF2.exe that is.

I have had no luck creating a shortcut however. Every time I try (entering the correct command line) I simply get the following.

Would be nice to have the command line you are using. Based on this, I
would suggest doing the following:

cd <directory where EF2 is installed>
wine EF2.exe
Holy crap I've been out a while.

It worked!
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Yey!

Post by SpawnHappyJake »

James McKenzie scores another! Have you made a bash script yet for a "shortcut"?

Glad it's working!
Cheers,
Jake
Locked