A Question to Start a Game with env

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
thomasf
Level 1
Level 1
Posts: 6
Joined: Mon Dec 14, 2009 1:16 pm

A Question to Start a Game with env

Post by thomasf »

Hello

I have a little Questionen.
Im Use Fluxbox. At the last Time i Start my Games with a "ShellScript"


winegame-Script
cd .winegame/drive_c/Programme/Path/to/the/Game.exe \
&& WINEPREFIFX=~/.winegame wine Game.exe
then Start my Game with an String to the winegame-Script in the Fluxbox Menu
sh /path/to/wingame-Script
This work fine and i have no Problems.

Now i have read from the "env" Variable
env WINEPREFIX=~/.winegame wine "C:\Programme\Path\to\the\Game.exe"
For me is this better because i can this String directly past in the Fluxbox Menü.

Are this works not by all Games.
Example GTR2 start only with Script , not with the "env" Variable

Wat is the right Way to Start a application?

Greeting
Thomas
Gert van den Berg

A Question to Start a Game with env

Post by Gert van den Berg »

On Sun, Mar 28, 2010 at 19:44, thomasf <[email protected]> wrote:
Wat is the right Way to Start a application?
http://wiki.winehq.org/FAQ#head-3b297df ... b8edc21619
thomasf
Level 1
Level 1
Posts: 6
Joined: Mon Dec 14, 2009 1:16 pm

Post by thomasf »

Hello and Thanks

The Variante
env WINEPREFIX=~/.StillLife/ wine start 'C:\Programme\Microids\Still Life\StillLife.exe'
works

and by this Game
env WINEPREFIX=~/.GTR2 wine start 'C:\Programme\GTR2\GTR2.exe'
works not
fixme:exec:SHELL_execute flags ignored: 0x00000100
thomasf
Level 1
Level 1
Posts: 6
Joined: Mon Dec 14, 2009 1:16 pm

Post by thomasf »

(Ups, now i wont clicked of Preview, and have clicked of the submit Button)
...............................................................

Ok ... is this eventually a Bug, or why by the on Game and not by the other Game.

mmmmh Tricky
:D

Thomas
Locked