The forum

Can a Wine-app access data files outside the bottle?

I want a Wine-appp to load from a NAS Samba server.

Author Replies
softappstudio Sunday 19 May 2013 at 7:33
softappstudio

I'm wondering if it is possible to put symbolic "links" to external data files inside the C:\\ , so that when a Wine-app asks for "File Open" (or somesuch) it can be pointed to the "link".  I really need to keep all my data files uniquely on a central server, I cannot contemplate making off-shoot copies of them in a Wine bottle.
Anyone have any thoughts about this?
Thanks,
--Grahame

petch Sunday 19 May 2013 at 9:30
petch

softappstudio Sunday 19 May 2013 at 10:43
softappstudio

petch: Thanks v. much for the prompt reply, though I fear it leaves me pretty much in the dark still. I have taken a short look at the "Gog" phenomenon and read a bit about DOSbox in Linux, but I just don't know enough to understand how that relates to my ambition.
When I run an app. in POL/Wine which wants the user to select a file it only seems to offer access to files + folders in C:\\ , not also to the other smb drives which are known to the host Linux. Perhaps this is a problem for Wine to address? I was hoping that there may be some way for me to tell the Wine bottle that there is readable life out there too.
--G
softappstudio Sunday 19 May 2013 at 11:04
softappstudio

MIght one achieve something using WineTricks to assign a Linux path to Wine Z:\\ ?
As you see, I know very little and scratch my head a lot.
--G
petch Sunday 19 May 2013 at 11:08
petch

By default Wine creates prefixes with symlinks from users private directories ("Desktop", "My documents", etc.) to what it thinks are the closest equivalent in user's home directory (so if it finds a ~/My Documents/ it points there, something like that. I don't remember where the code that does this is locate to check exactly).
There's also by default a Z: drive mapped to the root directory (/).
I don't think network shares mounted by the host system are anything special to it (not sure about that, never tried this combinaison) so you'll either have to add symlinks pointing to the network mount points (~/.gvfs/ if you're using Gnome?), or navigate Z:

Edited by petch

Ronin DUSETTE Sunday 19 May 2013 at 19:28
Ronin DUSETTE

WineTricks to assign a Linux path to Wine Z:\\ ?

Quote


Also, dont mix WineTricks with POL installations. It will cause issues. Most of the winetricks functionality and features can be found in the "Configure" window in PlayOnLinux. :)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com