Problem running a game from NTFS drive

Questions about Wine on Linux
Locked
tatsumaru
Newbie
Newbie
Posts: 4
Joined: Sun Nov 11, 2012 1:46 pm

Problem running a game from NTFS drive

Post by tatsumaru »

Hello.
I'm new to Linux but I love it and I'm looking to use Windows as little as possible. This of course means some Wine use.

I have a favourite Bridge (the card game) tutorial that is available only for Windows so I decided to try whether it will run on Linux. It's already installed on my NTFS drive so I figured I'd just mount C: to a "cdrive" in my home directory and run it with wine from there.

Now here's the tricky part. If I go run the exe by right-clicking it, it doesn't work well. This is what happens:
Image

The screen is not supposed to be blue and inactive.

If I try:
wine cdrive/"Program Files (x86)"/"Learn to Play Bridge"/ltpb.exe
The same thing happens.

The only way it would work is if I first type:
cd cdrive/"Program Files (x86)"/"Learn to Play Bridge"/
And then:
wine ltpb.exe
When I do that everything falls into place:
Image
Image

However this method is not very practical let alone sophisticated. I have no idea whatsoever why there is a difference to running wine once in the directory. I'd really appreciate a way to create a desktop shortcut that does it all in one click and also an explanation as to why wine works better once in the directory. Thanks in advance.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem running a game from NTFS drive

Post by dimesio »

Pointing Wine to a Windows partition is neither recommended nor supported. http://wiki.winehq.org/FAQ#head-878d4f6 ... a4a4cafa13
tatsumaru
Newbie
Newbie
Posts: 4
Joined: Sun Nov 11, 2012 1:46 pm

Re: Problem running a game from NTFS drive

Post by tatsumaru »

Well Ok, I installed it again to home/"user"/

But the problem is still the same. I need to navigate to the directory in the terminal and then run "wine ltpb.exe" otherwise it just pops up a defective version of the game.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problem running a game from NTFS drive

Post by dimesio »

Navigating to the program directory is the recommended way to start apps from the command line; many Windows apps expect to be started from the program's working directory.

You could try

Code: Select all

wine start /unix /path/to/program
(use the full path to the program).
Chiitoo
Level 1
Level 1
Posts: 8
Joined: Fri Nov 04, 2011 12:09 pm

Re: Problem running a game from NTFS drive

Post by Chiitoo »

Teegrins, tatsumaru!

What comes to shortcuts, I often set the 'work path' for applications that do not work 'outside' their 'root', and that works for me.
I imagine most, if not all DEs/WMs should have the possibility to easily achieve this.

I hope this helps~
Locked