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

Linux Gaming

15221 readers
122 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.

you are viewing a single comment's thread
view the rest of the comments
[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 6 points 5 months ago (2 children)

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

[–] tal@lemmy.today 11 points 5 months ago* (last edited 5 months 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.

[–] sorrybookbroke@sh.itjust.works 5 points 5 months 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

[–] tal@lemmy.today 4 points 5 months 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.

[–] Dreyns@lemmy.ml 3 points 5 months ago (1 children)

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

[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 1 points 5 months ago (1 children)

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

[–] Dreyns@lemmy.ml 1 points 4 months 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

[–] EveryMuffinIsNowEncrypted@lemmy.blahaj.zone 1 points 4 months ago (1 children)

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

I don't know what an arborescence is.

[–] Dreyns@lemmy.ml 2 points 4 months 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.