LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Copying a WINE install from one computer to another? (https://www.linuxquestions.org/questions/linux-software-2/copying-a-wine-install-from-one-computer-to-another-4175475333/)

haertig 08-30-2013 12:48 PM

Copying a WINE install from one computer to another?
 
I just had a thought, and wonder if it would work.

Given 64-bit LinuxMint13 running 64-bit Wine, create something like this:
Code:

export WINEPREFIX=~mylogin/.wine32
export WINEARCH=win32
winecfg

Install some 32-bit programs. What I'm talking about are a few games where you play them and do a couple of "save games" to create new game starting points you can load. Then:
Code:

cd ~mylogin
tar czvf wine32_installation.tar.gz ./.wine32

Now, could that tarball be copied over to a different target computer, running LinuxMint13 32-bit (not 64-bit as on the source computer), untarred, and used as-is?

Obviously, the answer is, "Well, why don't you try it and see?" Unfortunately I don't have access to the target computer and won't for a while, so I thought I'd ask before going to the effort to attempt this, in case someone has tried something similar and knows the answer. I'm thinking that Windows is not so friendly to being moved from computer to computer as Linux is, and the registry and stuff that winecfg creates on the source computer would not easily port to the target computer.

I can of course create a virgin Wine installation on the target computer and install the games, but it might be cool to be able to transfer the saved games and other configuration by picking up and moving the entire WINEPREFIX. It's not just games that would potentially be copied, but the saved games are the initial motivator to attempt this.

Firerat 08-30-2013 01:49 PM

no idea,, but ..
  1. [*}create a VM
  2. install OS target has
  3. try it

linuxpokernut 08-30-2013 01:56 PM

Find out where the game saves the data and export it to the new install. Every game is different but its usually in the "fake" user (windows) file.

I wouldn't try to copy the wine folder itself, all kinds of stuff can run amok with that. Most games will even let you export your settings.


All times are GMT -5. The time now is 03:19 PM.