this post was submitted on 30 Jun 2024
61 points (100.0% liked)
Linux
48372 readers
1693 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use Lutris and set up my directories a "GameName" and then 2 subdirectories "game" "prefix" and point Lutris to these.
All of the game files go in "game" and the prefix is created in "prefix" when I press play in Lutris. Any extras dlls that are needed can be installed with winetricks within Lutris to that specific prefix
This way you can just compress and decompress "GameName" folder and point Lutris to these locations on whichever machine.
You can choose which prefix version you want in Lutris and it will download that version for you. ~~I'm pretty sure it saves the version to somewhere in ~.local/share/lutris I'm not at my PC now so not 100% sure of the path.~~
It saves it to ~.local/share/lutris/runners/wine and you can put a custom wine build here and Lutris should recognise it when configuring the runner options
So you could copy this over to the corresponding location on the deck and Lutris will automatically detect this version as installed and won't have to download it again but its not necessary unless you don't have internet on the deck, or you're like me and want to keep an archive of the working prefix for the future in case the prefix version is no longer available for whatever reason and other version just won't work.
If you're new to Lutris, I wrote a step by step guide on how I use Lutris on a different community
https://sopuli.xyz/comment/9858101
Wow. You wrote a guide on it. I'll try to find time to read it tonight! I do have a question, what if a game makes use of the windows registry? Would that change the prefix?
Guide is maybe not the right word lol, it just exactly what I click to set up the majority of my games
I'm not 100% sure, but from my understanding yes the regisrty in the "prefix" folder would be changed. You can manually edit the wine prefix registry with regedit https://www.winehq.org/docs/wineusr-guid%3Cbr%20/%3Ee/using-regedit and Lutris supports this, just click the arrow that brings up the winetricks option and its under Wine Registry
Sounds like a guide to me ☺️
The registry is one of the reasons I was thinking I would need separate prefixes that I can copy. But, I also understand that games that actually use the registry are few and far between. If I actually come across one that needs registry edits I can just pack that differently.