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?

  • user134450@feddit.org
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 days ago

    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.

    • λλλ@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      2 days ago

      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
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 days ago

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

        • λλλ@programming.devOP
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          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
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            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.