Forums

How to add a program already installed?

with a PoL profile?

Auteur Réponses
gmureddu Dimanche 3 Mars 2013 à 4:31
gmuredduAnonymous

Hi all... I'm wondering how would you go about to add a program which I have already installed with the distro's native Wine, only to a PoL bottle with its corresponding profile, is it possible? If so how? The program I'm specifically talking about is StarCraft II, I don't feel like downloading the whole 12 gigs again, when I already have it ;)

Is it possible to "fool" PoL with symlinks to the actual program's files?

TIA!
petch Dimanche 3 Mars 2013 à 10:21
petch
Développeur

Hi,
That's not supported(*), but you can probably come up with something that works...

If you create a new virtual drive in PoL (Configure button > New button (bottom left) > 32bit, System, name it say PlainWine), and then have a look at it in ~/.PlayOnLinux/wineprefix/PlainWine, you may notice that it looks a lot like ~/.wine, with a few extra files, probably playonlinux.cfg and playonlinux.log.
At that point you have multiple choices, copying or moving Wine files over the files of PoL virtual drive, or symlinking ~/.PlayOnLinux/wineprefix/PlainWine to ~/.wine; Just make sure you preserve the extra files that PoL needs.
Once that's done you can manually create shortcuts to the programs you want to start from PoL interface: Configure button > (select virtual drive) > General tab > "Create a new shortcuts from this virtual harddrive" button)

(*). Meaning:
- if it breaks you can keep the pieces.
- the behavior of PoL with state it didn't setup itself may change in the future.

Edité par petch