hello there
i´ve got wine version 1.3.26 on my gentoo machine installed.
My problem is I cannot start any game/program by using the wine + path parameters. For example when i want to start gta sa:
my normal usage is:
wine "c:\programme\rockstar games\gta san andreas\gta_sa.exe"
But nothing happens...
But if i change direct into gta´s directory, i can start gta with this usage:
wine gta_sa.exe
and it runs perfect!
How could it be?
Sorry for my poor english...
wine path error?
I think you can drop the quotation marks ("), and you use escape characters for the spaces. So it would look something likemy normal usage is:
wine "c:\programme\rockstar games\gta san andreas\gta_sa.exe"
Code: Select all
wine drive_c/programme/rockstar\ games/gta\ san\ andreas/gta_sa.exe
Also note that all your backslashes were converted to normal forward slashes. Backslashes only went before the spaces. No quotes are required around the entire string.
hi
thanks for reply. I cannot drop the quotation marks, cause there are a few spaces at the folders....
I think the syntax i correct, there´s no error message.
I start form console my screen is setting the resolution (800x600x32) and nothing happens.
I can use this syntax to change into gta´s directory:
cd "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas"
then : wine gta_sa.exe
and the game starts.
If i use this syntax:
wine "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
the game dosen´t start!
So we can say the game starts when i´m in it´s directory (/GTA San Andreas/)
thanks for reply. I cannot drop the quotation marks, cause there are a few spaces at the folders....
I think the syntax i correct, there´s no error message.
I start form console my screen is setting the resolution (800x600x32) and nothing happens.
I can use this syntax to change into gta´s directory:
cd "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas"
then : wine gta_sa.exe
and the game starts.
If i use this syntax:
wine "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
the game dosen´t start!
So we can say the game starts when i´m in it´s directory (/GTA San Andreas/)
wine path error?
On Fri, 2011-09-09 at 23:54 -0500, LPMusicLJ wrote:
To the OP: there is a difference between Windows and Linux (i.e.
UNIX-style) operating systems in where programs expect to be run.
In Linux we expect to put executables in one or two libraries
(/bin, /usr/bin, /usr/local/bin and sometimes $HOME/bin) and to run them
in the directory (the pwd, present working directory) that contains the
data files the program will use. Similarly, the program expects to find
config files in /etc or /usr/local/etc or the pwd.
However, Windows is different: each app is usually installed in a
separate directory along with its config files, help text, etc. The only
common library is c:\winnt\system where the support DLLs written by
Microsoft are found. The app is written to be run in its installation
directory and to look elsewhere for data files.
This is why you get the difference in the way you should run apps:
Windows: cd X:\directory\where\app\was\installed
myapp.exe Y:\MyData\data.file
Linux: cd $HOME/directory/mydata
myapp data.file
Martin
That is true, but nor relevant for the OP.I think you can drop the quotation marks ("), and you use escapemy normal usage is:
wine "c:\programme\rockstar games\gta san andreas\gta_sa.exe"
characters for the spaces. So it would look something like
To the OP: there is a difference between Windows and Linux (i.e.
UNIX-style) operating systems in where programs expect to be run.
In Linux we expect to put executables in one or two libraries
(/bin, /usr/bin, /usr/local/bin and sometimes $HOME/bin) and to run them
in the directory (the pwd, present working directory) that contains the
data files the program will use. Similarly, the program expects to find
config files in /etc or /usr/local/etc or the pwd.
However, Windows is different: each app is usually installed in a
separate directory along with its config files, help text, etc. The only
common library is c:\winnt\system where the support DLLs written by
Microsoft are found. The app is written to be run in its installation
directory and to look elsewhere for data files.
This is why you get the difference in the way you should run apps:
Windows: cd X:\directory\where\app\was\installed
myapp.exe Y:\MyData\data.file
Linux: cd $HOME/directory/mydata
myapp data.file
Martin
Hello Martin
You are right! But why doesn´t gta start by using this usage:
wine "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
It´s definitly the correct path. I start from console and there´s no error message....
The screen set the right resolution and then i get a blue screen and nothing happens!
I stop wine by strg c !
You are right! But why doesn´t gta start by using this usage:
wine "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
It´s definitly the correct path. I start from console and there´s no error message....
The screen set the right resolution and then i get a blue screen and nothing happens!
I stop wine by strg c !
Because apparently you installed the game as root, and now only root can run it.rufus wrote:You are right! But why doesn´t gta start by using this usage:
wine "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
Delete that wineprefix and install your game as a normal user.
http://wiki.winehq.org/FAQ#run_as_root
wine path error?
On Sat, 2011-09-10 at 11:24 -0500, rufus wrote:
expects. The message that you should have got from my reply was to do
this:
cd "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas"
gta_sa.exe
*HOWEVER* I see you've installed the game in root! NEVER DO THAT. Root
is strictly for carrying out administrative tasks on Linux and not for
running games, so get rid of the wine data you've installed in root:
su -
rm -rf .wine/*
exit
and reinstall GTA under a normal user. Then run the game by doing this:
cd "$WINEPREFIX/drive_c/Program Files/Rockstar Games/GTA San Andreas"
gta_sa.exe
Doing it this way gets you used to using the WINEPREFIX shell variable
which you'll need if/when you install more Windows apps: the recommended
approach is to put each app in a separate wine prefix because this stops
Wine settings and winetricks needed for one app from interfering with
another app.
Martin
Because you're not running it from its install directory like itHello Martin
You are right! But why doesnt gta start by using this usage:
wine "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas/gta_sa.exe"
expects. The message that you should have got from my reply was to do
this:
cd "/root/.wine/drive_c/Program Files/Rockstar Games/GTA San Andreas"
gta_sa.exe
*HOWEVER* I see you've installed the game in root! NEVER DO THAT. Root
is strictly for carrying out administrative tasks on Linux and not for
running games, so get rid of the wine data you've installed in root:
su -
rm -rf .wine/*
exit
and reinstall GTA under a normal user. Then run the game by doing this:
cd "$WINEPREFIX/drive_c/Program Files/Rockstar Games/GTA San Andreas"
gta_sa.exe
Doing it this way gets you used to using the WINEPREFIX shell variable
which you'll need if/when you install more Windows apps: the recommended
approach is to put each app in a separate wine prefix because this stops
Wine settings and winetricks needed for one app from interfering with
another app.
Martin