Problem with

Questions about Wine on Linux
Locked
RaggedRat
Level 1
Level 1
Posts: 9
Joined: Mon Jan 13, 2014 8:22 pm

Problem with

Post by RaggedRat »

On Debian 10 amd64.
I am trying to run TIger Woods PGA Tour 2006.
If I run the following command line:

env WINEPREFIX="/home/adam/.wine" wine C:\\Program\ Files\ \(x86\)\\EA_SPORTS\\TigerWoodsPGATOUR06\\bin\\TW2006.exe

in bash (Mate termnal) I get

wine: cannot find L"C:\\Program Files (x86)\\EA_SPORTS\\TigerWoodsPGATOUR06\\bin\\TW2006.exe"

I can't work out where the L is coming from and how to get rid of it.
I copied and edited the command from the desktop launcher properties for Windows Space Cadet Pinball which works OK both from the launcher and from Mate terminal.
andrew.smart
Level 2
Level 2
Posts: 33
Joined: Thu Dec 15, 2016 3:08 am

Re: Problem with

Post by andrew.smart »

Probably a path escape character issue, maybe quotes would help, but this is how I'd simply do it:

Code: Select all

cd "/home/adam/.wine/drive_c/Program Files (x86)/EA_SPORTS/TigerWoodsPGATOUR06/bin/"
WINEPREFIX="/home/adam/.wine" wine TW2006.exe
or

Code: Select all

WINEPREFIX="/home/adam/.wine" wine "/home/adam/.wine/drive_c/Program Files (x86)/EA_SPORTS/TigerWoodsPGATOUR06/bin/TW2006.exe"
Enjoy golfing.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Problem with

Post by Bob Wya »

andrew.smart wrote: Tue May 11, 2021 12:51 pm ...
or

Code: Select all

WINEPREFIX="/home/adam/.wine" wine "/home/adam/.wine/drive_c/Program Files (x86)/EA_SPORTS/TigerWoodsPGATOUR06/bin/TW2006.exe"
Enjoy golfing.
Technically that should be:

Code: Select all

WINEPREFIX="/home/adam/.wine" wine start /unix "/home/adam/.wine/drive_c/Program Files (x86)/EA_SPORTS/TigerWoodsPGATOUR06/bin/TW2006.exe"
to set the correct working directory - for the game.
Sorry to be so pedantic! :lol:

Bob
Locked