Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world
linux_gaming·Linux GamingbyQuincyPigBoy

Any way to reset Lutris + Wine to "factory settings"?

I’m new to this and have been trying to get Fallout NV to run on my Chromebook Plus. I had Fallout 3 running great but at some point I did something so that FO3 fails to launch.

Can I do something like a fresh install? I don’t care about losing data/ games.

View original on lemmy.world
20

12 replies

reddthat.com

Wine "prefixes" are just directories. Have you tried deleting it and using a fresh prefix?

8
talreply
lemmy.today

WINE lets you create isolated (well, semi-isolated...it's not a sandbox, but separate Windows registries and most drive letters and such) directories. That directory is called a "WINE prefix". Contains symlinks to Windows drive letter locations, a copy of that WINE environment's registries, the WINE settings being used. I believe that the "Z:" drive defaults to being shared and mapping to "/" on your Linux box.

I believe that the default WINE prefix is ~/.wine.

But you can create others. Like, maybe you want a 32-bit and a 64-bit Windows environment.

You can run a given executable in a given WINE environment by just setting the WINEPREFIX environment variable, like:

$ WINEPREFIX=$HOME/.mywineprefix wine Foobar.exe

It's become somewhat common to create a separate WINE prefix for each application, especially games, which don't need to interact with each other. That way, installing software in one prefix or whatever doesn't dick up the others.

I don't use Lutris, but if it works anything like PlayOnLinux, it might create a per-game WINE prefix. I don't know where it's located, though. Can probably search online.

Steam creates a per-game WINE prefix for Steam games that use Proton, their version of WINE; it uses ~/.steam/steam/steamapps/compatdata/ for each.

11
sh.itjust.works

Careful deleting the prefix, as it will delete game save data. I'd suggest backing up the data, and the prefix, before creating a new one. Just rename the prefix by adding --old to the end and move the save game out of the prefix

5

Careful deleting the prefix, as it will delete game save data.

From OP's original question, I think that he's okay with not retaining those:

Can I do something like a fresh install? I don’t care about losing data/ games.

4
Dreynsreply
lemmy.ml

It's an environment in wich it makes the game run sort of

3
Dreynsreply
lemmy.ml

It creates an arborescence that contains the necessary library for you application to work with a thick layer of magic on top of that to make it all work. This is were my understanding is at at least

1

There's another comment that explains it in more details than me but it's a hierarchy of files your C://user/you/appdata...etc and since it branches into multiple choices you can call it an arborescence if you will.

2

Delete /home/username/.wine directory

Then in terminal run: winecfg

Literally does what you want! You WILL lose anything installed in default prefix, like games/apps, if you didn't make separate prefixes for them.

Edit: Just saw you're running chromebook, the locations might differ. My notes were for Debian/Ubuntu & their flavors.

5

You could delete it from lutris. I think that would nuke the prefix for FO3, thus allowing you to install freshly.

1

You reached the end

Any way to reset Lutris + Wine to "factory settings"? | Spyke