Ok, so here's the deal:
I downloaded a game with no installer, just have to execute the .exe to run.
So when i double click the .exe in Nautilus, the game runs perfectly, but when I execute the game from terminal with the "wine" command it gives me an error and the application stops, I don't really understand why somehting like that happens, so I would really appreciate any help or explanation to this. Because as far as I know the .exe is set to be opened with the "wine windows program loader" which is the same as the "wine" command in terminal.
Like I said, STRANGE problem.
STRANGE problem when loading a .exe!
Re: STRANGE problem when loading a .exe!
What exact command?fescobar wrote:Ok, so here's the deal:
I downloaded a game with no installer, just have to execute the .exe to run.
So when i double click the .exe in Nautilus, the game runs perfectly, but when I execute the game from terminal with the "wine" command
The command
In the terminal:
wine route_to_the_game/game.exe
wine route_to_the_game/game.exe
Re: The command
What _EXACT_ command?fescobar wrote:In the terminal:
wine route_to_the_game/game.exe
STRANGE problem when loading a .exe!
El dom, 14-09-2008 a las 16:03 -0500, fescobar escribió:
is the same as route_to_the_game. Apparently when you are on the
terminal it's not. Try with:
cd route_to_the_game
wine game.exe
And see if that works.
Also, when you ask for help you must give details about what you're
doing (What _EXACT_ command?), what errors do you get ("it gives me an
error and the application stops" doesn't count) and what else did you
try to solve it yourself.
--
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [email protected]
"The only difference between theory and practice is that, in theory,
there's no difference between theory and practice."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
The behaviour of wine may depend on your pwd. When you use nautilus, pwdIn the terminal:
wine route_to_the_game/game.exe
is the same as route_to_the_game. Apparently when you are on the
terminal it's not. Try with:
cd route_to_the_game
wine game.exe
And see if that works.
Also, when you ask for help you must give details about what you're
doing (What _EXACT_ command?), what errors do you get ("it gives me an
error and the application stops" doesn't count) and what else did you
try to solve it yourself.
--
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [email protected]
"The only difference between theory and practice is that, in theory,
there's no difference between theory and practice."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Fixed it
So, I did something to fix the problem, I don't know if it was something obvious, but I used to type in the terminal:
wine /media/"Documents & Installers"/"Mis documentos"/Installers/"Virtual Farm"/"Virtual Farm"/VirtualFarm.exe
and that didn't work, the game started and then exit, but now I type:
wine "/media/Documents & Installers/Mis documentos/Installers/Virtual Farm/Virtual Farm/VirtualFarm.exe"
and it works.
Why is it different to double quote each folder with spaces in the name or double quoting the whole thing?
wine /media/"Documents & Installers"/"Mis documentos"/Installers/"Virtual Farm"/"Virtual Farm"/VirtualFarm.exe
and that didn't work, the game started and then exit, but now I type:
wine "/media/Documents & Installers/Mis documentos/Installers/Virtual Farm/Virtual Farm/VirtualFarm.exe"
and it works.
Why is it different to double quote each folder with spaces in the name or double quoting the whole thing?
Re: Fixed it
'man bash' or any book about shell programming will answer that question. What you tried to do is not valid.fescobar wrote:Why is it different to double quote each folder with spaces in the name or double quoting the whole thing?
However you still not doing it right. Refer to this FAQ. And pay attention to the paths that you should use and the current working directory you are in: http://wiki.winehq.org/FAQ#head-8d8c06c ... 5c730566e0