this post was submitted on 07 Jun 2024
19 points (100.0% liked)

Linux Gaming

14214 readers
90 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

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.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 3 weeks ago (1 children)

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

[–] [email protected] 6 points 3 weeks ago (2 children)

Speaking as a Linux newb here...what exactly is a "prefix" in this context? :/

[–] [email protected] 11 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

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.

[–] [email protected] 5 points 3 weeks ago (1 children)

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

[–] [email protected] 4 points 3 weeks ago

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.

[–] [email protected] 3 points 3 weeks ago (1 children)

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

[–] [email protected] 1 points 3 weeks ago (1 children)

So it's the components of Wine that produces its fabled compatibility layer?

[–] [email protected] 1 points 3 weeks ago (1 children)

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

[–] [email protected] 1 points 3 weeks ago (1 children)

Sorry for my ignorance, but could you ELI5 that for me?

I don't know what an arborescence is.

[–] [email protected] 2 points 3 weeks ago

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.

[–] [email protected] 5 points 3 weeks ago* (last edited 3 weeks ago)

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.

[–] [email protected] 1 points 3 weeks ago

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