You are not logged in.

#1 2018-12-21 18:49:23

DarthMucus
Member
Registered: 2018-08-28
Posts: 19

Custom built wine installs game straight into my home folder.

Hey guys, this is weird.

I'm trying to install and play Path of Exile. While everything works, (the game downloads and starts up and plays well) it installs itself in my home folder, which is really annoying.

A little background info:
---------------------------------------------
First time I tried to play PoE I downloaded the installer and ran it with wine and everything went just as it was supposed to go, meaning that the game installed in ~/.wine/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/  Great.
It didn't run very well though. The directX 11 couldn't be used because there was a bug (in wine?) Which resulted in an errors and the game wouldn't lauch. The DirectX 9 versions wasn't stable and there was a lot of crashing.

So I googled a little and found a workaround which was to apply a custom patch to wine and build it myself. I didn't know which of the wine-staging patches I should apply so I just applied them all. I did this according to the guide in winehq wiki and built a WoW64 build of wine in my /S1T/wine32/ directory. (S1T is just the name I chose for my hard drive).

I then ran the game executable with:

WINEPREFIX=~/.wine /S1T/wine32/wine ~/.wine/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe

Because that is where I had the game installed already and thought this might save me some trouble and time. To my surprise the client started downloading the game again... Oh whatever, I thought. If a little waiting is what I have to do to finally get to play without crashing I'll do it. And it was stable. After the game had finished downloading I could lauch the directx 11 version and play without crashes. It was only later that I noticed that the assets of the game were all dumped in my home folder.

So I thought that maybe I shouldn't have used the regular wine prefix for this. Maybe that caused the problem? So I decided to make a new wine prefix for PoE: ~/poe-wineprefix   . I cleaned up my home folder and ran the installer:

WINEPREFIX=~/poe-wineprefix /S1T/wine32/wine ~/Downloads/PathOfExileInstaller.exe

Everything goes as I want so far: The prefix gets created, and when I accept the EULA and choose to install, the directory .../Grinding Gear Games/Path of Exile/ gets created in the Program Files (x86) of this new wine prefix. Great. But when I run the executable in said directory:

WINEPREFIX=~/poe-wineprefix /S1T/wine32/wine ~/poe-wineprefix/drive_c/Program Files (x86)/Grinding Gear Games/Path of Exile/PathOfExile.exe

Guess what happens again? The client starts downloading the game, not in the newly created directory, but in my home folder again.
---------------------------------------------

Any ideas what could be the cause behind this? Guy in irc channel said to me that wine creates symlinks into $HOME for typical paths and that is probably why this happens. But I'm still not sure what to do about this. For what it's worth, I _can_ play the game fine now. If I just can ignore the disorganization...

Last edited by DarthMucus (2018-12-21 18:50:27)

Offline

#2 2018-12-21 21:32:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,697

Re: Custom built wine installs game straight into my home folder.

check ~/.wine/drive_c/windows/profiles/$USER

Offline

#3 2018-12-22 04:21:11

DarthMucus
Member
Registered: 2018-08-28
Posts: 19

Re: Custom built wine installs game straight into my home folder.

seth wrote:

check ~/.wine/drive_c/windows/profiles/$USER

What should I check for in there? There is no profiles folder under ~/.wine/drive_c/windows/

Offline

#4 2018-12-22 08:37:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,697

Re: Custom built wine installs game straight into my home folder.

Hum?

find ~/.wine -type l

Offline

#5 2018-12-22 15:56:19

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,536

Re: Custom built wine installs game straight into my home folder.

DarthMucus should probably check ~/poe-wineprefix/drive_c/windows/profiles/$USER .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2018-12-25 14:34:58

DarthMucus
Member
Registered: 2018-08-28
Posts: 19

Re: Custom built wine installs game straight into my home folder.

No "profiles" folder exists in that path either. And I still don't know what I should be looking for in there if it did.

Offline

#7 2018-12-25 14:43:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,697

Re: Custom built wine installs game straight into my home folder.

smlinks to your $HOME, did you try the find call?
Also it's frankly pretty odd that you have no windows profile.

Offline

Board footer

Powered by FluxBB