cpy steam games to new wine.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
lievendp
Level 1
Level 1
Posts: 5
Joined: Thu Oct 20, 2011 8:28 am

cpy steam games to new wine.

Post by lievendp »

Hello,

I installed wine 1.3.30 and winetricks on my gentoo.
The latest drivers for nvidia are installed.

It seems that I broke my wine installation by wrongly trying to install directx which was needed for Rage to work.

Now I already downloaded rage which is about 20GB in size and would like to avoid downloading it again.

It seems that all steam files are in ~/.local and not in ~/.wine so can I just remove ~/.wine and do a wine-reboot and keep my installed steam? Are there any other steps to reuse the already-downloaded files?

thanks in advance.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: cpy steam games to new wine.

Post by vitamin »

lievendp wrote:It seems that all steam files are in ~/.local and not in ~/.wine
Incorrect. By default all Steam files under c:\Program Files\Steam\SteamApps. That translates to ~/.wine/drive_c/Program Files/Steam/SteamApps. Unless of course you using some 3rd party Wine wrapper.
lievendp
Level 1
Level 1
Posts: 5
Joined: Thu Oct 20, 2011 8:28 am

Post by lievendp »

Thanks, it's probably because I installed steam by using winetricks.

As you can see in my layout:

lieven@cthulhu ~/.wine/drive_c/Program Files $ pwd
/home/lieven/.wine/drive_c/Program Files
lieven@cthulhu ~/.wine/drive_c/Program Files $ ll
total 16K
drwxr-xr-x 4 lieven lieven 4.0K Oct 20 15:34 .
drwxr-xr-x 6 lieven lieven 4.0K Oct 20 15:34 ..
drwxr-xr-x 2 lieven lieven 4.0K Oct 20 15:34 Common Files
drwxr-xr-x 2 lieven lieven 4.0K Oct 20 15:34 Internet Explorer


And I do have a ~/.local directory which holds the files.

lieven@cthulhu ~/.local/share/wineprefixes/steam/drive_c/Program Files (x86)/Steam $ pwd
/home/lieven/.local/share/wineprefixes/steam/drive_c/Program Files (x86)/Steam

All steam files are in this directory.

My main problem is that the game "Rage" crashes at boot time with the known error: "Failed to create XAudio2 engine" As I can see on the productpage for "Rage on Steam"

The solution being to install "winetricks xact_jun2010" which I did but it did not work.
Next, I tried to install the complete directx jun2010 release but that failed

Now, I want to reinstall the game in a new wineprefix but don't want to redownload the 20GB from the game.
I'll try to copy the data, reinstall steam in a regular way in new wineprefix and copy gamedata back and hope it works.

kind regards,
Lieven
lievendp
Level 1
Level 1
Posts: 5
Joined: Thu Oct 20, 2011 8:28 am

Post by lievendp »

I reinstalled clean steam using the msi installer instead of winetricks method.

Then I could download and reinstall the game Rage again but it still fails with the xaudio2 error message.

I tried following to solve the issue:

lieven@cthulhu ~ $ ./winetricks xact_jun2010
Executing w_do_call xact_jun2010
xact_jun2010 already installed, skipping
lieven@cthulhu ~ $ ./winetricks vcrun2010
Executing w_do_call vcrun2010
vcrun2010 already installed, skipping

There is only 1 .wine prefix on my machine.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

lievendp wrote:Thanks, it's probably because I installed steam by using winetricks.
Don't do that! Or you'll have to ask Dan directly.
lievendp
Level 1
Level 1
Posts: 5
Joined: Thu Oct 20, 2011 8:28 am

Post by lievendp »

vitamin wrote:
lievendp wrote:Thanks, it's probably because I installed steam by using winetricks.
Don't do that! Or you'll have to ask Dan directly.
I retried with a clean install of wine in the normal way following winhq steamapp installation info.
Got the same result.

It installs the directx on first use of rage and then always fails with the sound error.
I will try without sound to see if it's a problem with my specific setup.
Locked