Installing games in /usr/local/games/

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
banaantje12
Newbie
Newbie
Posts: 2
Joined: Tue Mar 18, 2008 7:38 am

Installing games in /usr/local/games/

Post by banaantje12 »

Distribution: Debian GNU/Linux 4.0 "Etch" AMD64
Wine version: 0.9.57 AMD64

I got the complete Call of Duty serie. So I want to install them... But on an easy to find place! Like /usr/local/games/.
Is it possible to install it there? If not it would be a very nice feature for 1.0!
Edward Savage

Installing games in /usr/local/games/

Post by Edward Savage »

On Tue, Mar 18, 2008 at 11:42 PM, banaantje12 <[email protected]> wrote:
Distribution: Debian GNU/Linux 4.0 "Etch" AMD64
Wine version: 0.9.57 AMD64

I got the complete Call of Duty serie. So I want to install them... But on an easy to find place! Like /usr/local/games/.
Is it possible to install it there? If not it would be a very nice feature for 1.0!
I'm not sure if that is a good idea but either way all you need is for
wine to be able to 'see' the location the application is installed to
run it.

To do this run winecfg and go to drives, then create a new hdd that
looks at the parent directory to where you want to install all the
games. So for example make a z: drive that looks at /usr/local/games.
You can now install your games to your Z: drive and play them from
there.

Edward
8086
Level 1
Level 1
Posts: 6
Joined: Tue Mar 18, 2008 6:52 am

Of course

Post by 8086 »

You can install a windows program anywhere you want as long as you have the right permissions to do so (write access).

/usr/local/games/ is normally owned by root, so you would have to do it as root (sudo).

Why you would want to do this is another thing. You will still get the messy windows structure in this directory:

Code: Select all

/usr/local/games/The\ Game\ I\ Installed/drive_c/Program\ Files/... 
You could also just install it the ususal way (into .wine) and just symlink the directory, but there really isn't anything to gain.

Windows apps are meant to be installed in a windows way. You can't separate them from the registry, like you can with unix apps.
banaantje12
Newbie
Newbie
Posts: 2
Joined: Tue Mar 18, 2008 7:38 am

Post by banaantje12 »

No I want to keep the C:\Program Files\ etc in /home/[user]/ directory.
And the game files in my second harddrive (/usr/local/games/ i created a symlink...)
John Drescher

Installing games in /usr/local/games/

Post by John Drescher »

On Tue, Mar 18, 2008 at 9:55 AM, banaantje12 <[email protected]> wrote:
No I want to keep the C:\Program Files\ etc in /home/[user]/ directory.
And the game files in my second harddrive (/usr/local/games/ i created a symlink...)
A symlink will work if you have the correct permissions. You might
want to create the symlink inside C:\program files. I would however
create a new drive letter d: and then symlink d:Program Files to your
/usr/local/games

John
Paul Johnson

Installing games in /usr/local/games/

Post by Paul Johnson »

On Tuesday 18 March 2008 05:42:26 am banaantje12 wrote:
Distribution: Debian GNU/Linux 4.0 "Etch" AMD64
Wine version: 0.9.57 AMD64

I got the complete Call of Duty serie. So I want to install them... But on
an easy to find place! Like /usr/local/games/. Is it possible to install it
there? If not it would be a very nice feature for 1.0!
Wine programs install in your ~/.wine directory. Windows, by and large,
assumes a single user environment, so Windows programs need not-- and don't--
really belong anywhere other users can get to them. This is a feature, not a
bug.

--
Paul Johnson
[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Paul Johnson

Installing games in /usr/local/games/

Post by Paul Johnson »

On Tuesday 18 March 2008 06:55:58 am banaantje12 wrote:
No I want to keep the C:\Program Files\ etc in /home/[user]/ directory.
And the game files in my second harddrive (/usr/local/games/ i created a
symlink...)
I'm curious what the perceived benefit would be of installing this way. 8086
has the right idea on this: Windows programs want to be installed the
Windows way.

--
Paul Johnson
[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
Dan Kegel

Installing games in /usr/local/games/

Post by Dan Kegel »

banaantje12 <[email protected]> wrote:
I got the complete Call of Duty serie. So I want to install them...
But on an easy to find place! Like /usr/local/games/.
Is it possible to install it there?
If the Windows installer lets you pick a destination, sure.
First, in Linux, as root, create a directory /opt/winegames
and chown it to yourself.
Then when running the game's installer, navigate to
z:\opt\winegames and tell it to put the game there.
- Dan
Locked