this post was submitted on 30 Jun 2024
60 points (100.0% liked)

Linux

48316 readers
802 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have a desktop and a steam deck. I would like to setup some old games I have on disc on the desktop. Then compress them and decompress on my Steam Deck without doing the full install again. I understand that with wine/proton prefixes they should be installed to a "fake c:/ windows hierarchy" can I just compress that and copy to a different Linux machine? Does it save which proton version was used? If I use something like Lutris or bottles can I import into them?

you are viewing a single comment's thread
view the rest of the comments
[–] user134450 14 points 4 months ago (1 children)

If they are all installed in the same wine prefix you could back up everything in one go by archiving the ".wine" folder in your home. that will include all applications installed in wine and all settings for those applications.

if you want to separate them into one archive per app you should look into wine prefixes, otherwise you would need to identify every folder a given app created during installation and archive those together manually, which can be very tedious.

[–] lambda@programming.dev 4 points 4 months ago (1 children)

What about graphics drivers? What if the desktop has an Nvidia GPU and the steam deck is AMD. Would that even matter?

[–] cmnybo@discuss.tchncs.de 9 points 4 months ago (1 children)

No, you can copy wine prefixes around all you want. You may have to adjust the graphics settings in the games though.

[–] lambda@programming.dev 2 points 4 months ago (1 children)

Makes sense. I wouldn't want to have all of my games in one wine prefix. I would like to keep them separate like steam/proton does. From looking it up, it seems the issue is that there is a lot of duplicate data that would need to be deduplicated. Steam supposedly does symlinks to solve this. But, if the symlinks points to /home/user/ as the base then that would break on /home/deck.

If you have any experience with Lutris/bottles. Do they do separate wine prefixes? If so, how do they handle it?

[–] cmnybo@discuss.tchncs.de 2 points 4 months ago (1 children)

Lutris uses separate prefixes and doesn't do any deduplication. You will need a separate tool for that or just use a filesystem like btrfs that supports deduplication.

I've never used bottles, so I don't know how it handles deduplication.

[–] lambda@programming.dev 1 points 4 months ago

Thanks for your help!