59
submitted 4 days ago by lambda@programming.dev to c/linux@lemmy.ml

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
[-] MentalEdge@sopuli.xyz 17 points 4 days ago* (last edited 4 days ago)

No, actually.

Your game files do not need to be inside a prefix, and I generally do not set things up that way.

Same as on windows you can have your c drive, but then install games to a different drive. You can mount any file location as an additional drive in wine. There is usually already a "z" drive mounted, which gives the prefix access to the filesystem outside the prefix.

This means there's not actually any need to place things inside the prefix, except for save files which need to be in specific locations like appdata or documents.

So to move things over and run them, you'd just copy the game files anywhere you like. To run a game, instead of a location on the c drive, you'd use the corresponding z drive path to the exe.

With bottles, this is super easy. Set up a bottle, and copy any save files into the prefix. Easily done with "browse files" from the config page of a bottle, which will open the fake c drive in a file browser.

With a configured bottle, simply navigate to the game .exe. Right click it, and select run with bottles. Bottles will ask which bottle to run it with, and that's that. Alternatively, use the "Run executable" button found on the config page of the bottle. For ease of use, add the exe to the bottle as a shortcut.

Shortcuts can then also be added as start menu items, or even added to steam.

No need to fiddle with putting all the game files inside the fake c drive.

Setting things up this way means you have your prefix, with save files and such, separate from the game files. You can easily delete or add games, without touching the save-file-containing prefix, and move games around to wherever you need and still have them work.

You can re-use the same bottle for many games, and keep the save files for those games in one prefix.

If a given game needs a bit more massaging to work, bottles makes it very easy set up and manage additional bottles for any such games.

[-] lambda@programming.dev 4 points 4 days ago

Does it install winetricks and wine? Or is it up to you to install that? I believe the steam comes with it pre-installed though, so it''s probably not necessary.

[-] MentalEdge@sopuli.xyz 5 points 3 days ago* (last edited 3 days ago)

Bottles has a wine manager that allows you to install various wine versions, and switch between them. You can also use the system installed version or even more versions installed by protonup-qt.

Winetricks is included.

[-] lambda@programming.dev 3 points 3 days ago

You have been beyond helpful. Thank you so much!

load more comments (2 replies)
this post was submitted on 30 Jun 2024
59 points (100.0% liked)

Linux

45530 readers
2104 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