Cannot create default wineprefix

Questions about Wine on Linux
Locked
MisterChief53
Newbie
Newbie
Posts: 2
Joined: Mon Jul 13, 2020 12:22 pm

Cannot create default wineprefix

Post by MisterChief53 »

Sorry if I am missing something, I am quite new to this.

I am using wine-staging on arch linux.

So recently, I tried running some ENB series mods for GTA San Andreas under wine. After messing with the dlls for a bit, I decided to give up after realizing wine-nine won't work with my gpu. After doing sudo -Rs wine-nine to install gallium nine, I tried playing San Andreas Multiplayer. So, I just used a vanilla installation of GTA san andreas and SAMP to get rid of the enb. When I tried logging into my preferred server, I noticed that my keyboard inputs weren't working. This seemed strange, as I have always been able to play this game with no problems whatsoever.

After a bit of thinking, I remember i used

Code: Select all

winetricks d3dx9
to override the default dlls. So, I tried going to the default dlls using winetricks, but that did not work.

After this, I decided just to reset my default wineprefix, since I didn't have anything important in there. I deleted .wine and followed these instructions: https://wiki.winehq.org/FAQ#How_do_I_wi ... llation.3F

After this, I navigated to where my GTA vanilla installation is, and executed

Code: Select all

wine samp.exe
to tell the mod where my GTA installation is. After the new wineprefix was created, I proceeded to look for my GTA folder, which is in ~/Games/, but I then noticed that there was another GTA folder in my desktop folder inside the wineprefix. I ignored that, and just used the GTA folder I always used, and played the game. This time, I got to play normally, but I remembered that I needed to emulate the virtual desktop so that it worked nice with dwm. I quit the game, and enabled that option, but when I tried playing the game, I got the same issue with no keyboard input. I then realized I was using the same dlls as before, and that my desktop folder still had an old vanilla gta install along with an old .exe I used to edit some modding files.

After deleting .wine, I did

Code: Select all

wine samp.exe
and just exited out of the program once the new prefix was created. I went to the desktop folder, and there it is, my old installation along with the same .exe. I really don't know how wine can create the prefix so fast after it has been deleted, since that GTA install is about 4gb. Then, I decided to create a prefix in my Games/ folder called samp, which just creates the same prefix with my GTA folder and the .exe.

I really don't know what I did wrong. I can confirm .wine is always being deleted. I have also tried reinstalling wine-staging completely, switching to wine, then going back to wine-staging, also rebooting and shutting down. Everytime i create a new prefix, I always somehow find the GTA folder with all the corresponding game files, and that one .exe.
MisterChief53
Newbie
Newbie
Posts: 2
Joined: Mon Jul 13, 2020 12:22 pm

Re: Cannot create default wineprefix

Post by MisterChief53 »

I fixed this. It turns out, all I had to do was switch to another workspace and back again when emulating the virtual desktop. The Desktop thing was because wine took files from my desktop folder. Wineprefixes are working as intended.
Locked