Cannot open .exe files using Terminal

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Robocat
Level 2
Level 2
Posts: 15
Joined: Tue Jul 22, 2008 12:39 am

Cannot open .exe files using Terminal

Post by Robocat »

I downloaded Darwine stable 1.0.1 and installed it. I went to /Applications/Darwine/Wine.bundle/Contents/bin and double-clicked on "wine" Then I went to Terminal and went to the directory for GTA2. I typed "GTA2.exe." The process installed GTA2. I went to /Users/brianlee/.wine/drive_c/Program Files/Rockstar Games/GTA2 in Finder and double-clicked on GTA2.exe and only a weird text file pops out. I also went to Terminal and tried running gta2.exe using the wine command. I get the error message "-bash: wine: command not found" Why is this so? I ran the GTA2 installer successfully but could not run the game itself. I also tried running the installer again, but it would not work.
James McKenzie

Cannot open .exe files using Terminal

Post by James McKenzie »

Robocat wrote:
I downloaded Darwine stable 1.0.1 and installed it. I went to /Applications/Darwine/Wine.bundle/Contents/bin and double-clicked on "wine" Then I went to Terminal and went to the directory for GTA2. I typed "GTA2.exe." The process installed GTA2. I went to /Users/brianlee/.wine/drive_c/Program Files/Rockstar Games/GTA2 in Finder and double-clicked on GTA2.exe and only a weird text file pops out. I also went to Terminal and tried running gta2.exe using the wine command. I get the error message "-bash: wine: command not found" Why is this so? I ran the GTA2 installer successfully but could not run the game itself. I also tried running the installer again, but it would not work.
Can you open a terminal session and run the following for me from the
GTA2 directory:

Code: Select all

which wine
wine --version

The first should return the location of the wine program
The second should return the version of the wine program

Also, which Darwine release are you using?

James McKenzie
IneedAname

Cannot open .exe files using Terminal

Post by IneedAname »

On Sat, 08 Nov 2008 02:24:13 -0600
"Robocat" <[email protected]> wrote:
I downloaded Darwine stable 1.0.1 and installed it. I went to /Applications/Darwine/Wine.bundle/Contents/bin and double-clicked on "wine" Then I went to Terminal and went to the directory for GTA2. I typed "GTA2.exe." The process installed GTA2. I went to /Users/brianlee/.wine/drive_c/Program Files/Rockstar Games/GTA2 in Finder and double-clicked on GTA2.exe and only a weird text file pops out. I also went to Terminal and tried running gta2.exe using the wine command. I get the error message "-bash: wine: command not found" Why is this so? I ran the GTA2 installer successfully but could not run the game itself. I also tried running the installer again, but it would not work.

try
wine "/Users/brianlee/.wine/drive_c/Program Files/Rockstar Games/GTA2"
I think it's the spaces being a pain again.
Gert van den Berg

Cannot open .exe files using Terminal

Post by Gert van den Berg »

On Sat, Nov 8, 2008 at 10:24 AM, Robocat <[email protected]> wrote:
I also went to Terminal and tried running gta2.exe using the wine command. I get the error message "-bash: wine: command not found" Why is this so?
Run 'locate wine' and either use the full path, or add the path to
your PATH variable...

(IIRC OS X, at least 10.4 installs locate by default (it might be
spotlight based...))

If you do not have locate, run 'find / -name wine 2> /dev/null' and
wait a few minutes.

Gert
Locked