Proceeding step by step, and selecting install from an exe installer, Lutris is asking for the installation location. But this location appears to be for the prefix. Is that what it is asking for?
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Yes, that's correct—the "installation location" (or "Installation folder") that Lutris prompts for during the game addition wizard is essentially where it will create and manage the Wine prefix for that specific game. Let me explain this step by step, based on how Lutris works, to clarify and tie it back to your overall goal of potentially separating the prefix from the actual application's installed files (e.g., on different file systems).
Step-by-Step Breakdown of the Lutris Installation Process
When you're adding a game in Lutris (e.g., via "Add Game" > "Install from a Windows executable" or similar), it guides you through a wizard. Here's what happens, focusing on the part you're asking about:
Initial Setup Choices:
You select the runner (e.g., a Wine version).
You choose the installer type (e.g., "Install from an EXE installer").
Lutris may ask for other details like the game name.
The "Installation Location" Prompt:
This is the key screen you're referring to. Lutris displays a dialog asking for an "Installation folder" (it might be labeled as "Select the folder where the game will be installed" or similar).
What this actually means: This is the base directory on your Linux file system where Lutris will create a folder for the game. Inside this folder, Lutris will set up:
The Wine prefix (a subdirectory like prefix or the folder itself acting as the prefix, containing drive_c, dosdevices, registry files, etc.).
Potentially other game-related files (e.g., configuration, logs).
By default, Lutris suggests something like ~/Games/game-name (e.g., /home/yourusername/Games/my-game).
This location is not where the Windows installer (the EXE) will directly write the application's files—that comes later. Instead, it's the root folder Lutris uses to organize the game's environment (including the prefix).
You can choose any writable location here, even on a different file system/partition (e.g., /mnt/big-hdd/games/my-game). Lutris doesn't care about the underlying file system as long as it's accessible.
Running the Installer:
After you select this location and proceed, Lutris creates the folder and initializes a basic Wine prefix there (if it's a new install).
It then launches the Windows EXE installer inside that Wine prefix.
During the installer's execution (the Windows-style setup wizard), it will ask for its own "installation location" (e.g., "Choose install directory"). This is a path inside the virtual Windows environment, such as C:\Program Files\MyApp.
By default, this writes files to <your-chosen-install-folder>/drive_c/Program Files/MyApp (physically on your Linux disk).
This is where you can separate things: As I explained in my previous response, you can map additional drive letters (e.g., D: or G:) in the Wine prefix to point to a completely different file system/partition. Then, when the installer asks for a location, choose something like G:\MyApp instead of C:\.... The actual app files will end up on that other disk, while the prefix itself stays in the location you picked in Lutris.
Post-Installation:
Once the installer finishes, Lutris scans for executables and lets you configure launch options.
The game's configuration in Lutris will reference the prefix location you chose (under "Game options" > "Wine prefix").
If you need to tweak things later (e.g., add drive letters or change paths), you can right-click the game in Lutris > "Configure" > "Runner options" or use winecfg as described before.
Key Points to Remember
Yes, it's for the prefix: The location Lutris asks for is primarily where the Wine prefix will live. It's the "home base" for the game's virtual Windows environment. The actual app files (installed via the EXE) go inside that prefix by default (under drive_c), but you can redirect them elsewhere using Wine drive mappings.
Flexibility for Different File Systems: You can absolutely put this prefix location on one disk (e.g., a fast SSD at ~/Games/my-game) and have the bulk of the app's files on another (e.g., a large HDD at /mnt/big-hdd/WindowsGames) by setting up a drive letter mapping before running the installer. If you've already passed this step, you can pause, configure the mapping via winecfg, and resume.
If You Want to Change It Later:
After installation, you can move the entire folder (prefix included) to a new location, then update the game's config in Lutris ("Game options" > "Wine prefix" and "Game directory").
Or export/import the game configuration to point to the new spot.
Potential Gotchas:
Ensure the location is writable by your user (check permissions with ls -l or chmod).
If using Lutris install scripts (from lutris.net), they might assume defaults—manual tweaks could be needed if you customize paths.
For very large games, separating via drive mappings (as in my previous response) is ideal to avoid filling up the prefix's disk.
If this doesn't match exactly what you're seeing in the Lutris UI (e.g., due to a specific version or theme), could you provide a screenshot or the exact wording of the prompt? That would help me refine the advice further. Otherwise, proceed with selecting your desired prefix location, and remember to set up any drive mappings if you want the app files elsewhere!
User
There seems to be a catch 22. The prefix doesn't exist prior to clicking on the + icon. But once I click the + icon the wizard starts but never gives me the opportunity to create a 'dosdevices' drive mapping to elsewhere on my system. How can this be resolved?
Assistant
Yes, you're absolutely right—this is a common "chicken-and-egg" issue with Lutris (and Wine in general) when you want to customize a prefix (like adding drive mappings) before running an installer. The wizard is designed for simplicity, so it creates the prefix on-the-fly and jumps straight into running the EXE without a built-in pause for advanced configuration. However, this is resolvable with a few workarounds. I'll explain the problem briefly and then provide step-by-step solutions, starting with the easiest and most reliable one.
Why This Happens (The Catch-22 Explained)
Lutris's "Add Game" wizard (triggered by the + icon) is streamlined: It asks for basics (name, runner, installation folder), creates a fresh Wine prefix at that folder, and immediately launches the installer EXE inside it.
The prefix folder (including dosdevices/) doesn't exist until after you proceed past the installation location prompt.
There's no built-in "pause" in the wizard to open winecfg or manually tweak the prefix before the installer runs.
If you cancel the wizard midway, Lutris may leave behind an incomplete prefix, but that's messy.
The good news: You can sidestep this by creating and configuring the prefix first (either manually or via Lutris), then running the installer as a separate step. This gives you full control to add drive mappings (e.g., to a different file system) before the EXE asks for its installation path.
Recommended Solution: Add the Game Manually in Lutris, Configure the Prefix, Then Run the Installer
This is the cleanest way, as it stays within Lutris but avoids the automated wizard. It creates the prefix upfront, lets you configure drive mappings, and then allows you to run your EXE installer manually.
Add the Game Entry Without an Installer:
Open Lutris.
Click the + icon to add a new game.
In the wizard:
Search for your game or select "No installer" (or "Manual installation" if available).
Choose "Wine" as the runner.
Set the game name and other basics.
When it asks for the "Installation folder" (or "Game directory"), select your desired prefix location (e.g., ~/Games/my-game or /mnt/ssd/games/my-game). This is where the prefix will be created.
Skip any installer selection (don't point to your EXE yet).
Finish the wizard. Lutris will create the game entry and initialize an empty Wine prefix at that location (you'll see folders like drive_c and dosdevices appear there).
User
In Arch Linux, does Lutris use the system-wide install of Wine or does it use its own wine versions. It seems to me that I can choose the runners to be system or proton or glorious eggroll ge runners. Then, if the latter is true and it doesn't use the system wine, will using the system wine as you describe above by runnng winecfg still work if proton or ge versions are later chosen ?
Assistant
Yes, I can clarify this for you step by step. I'll address your questions directly based on how Lutris works on Arch Linux (and Linux in general), including the nuances of runners, Wine versions, and compatibility when configuring prefixes. This ties back to our ongoing discussion about setting up drive mappings in a Wine prefix before installation.
1. Does Lutris Use the System-Wide Wine Install or Its Own Versions?
Lutris primarily uses its own managed versions of Wine (and other runners), but it does offer a "system" option for flexibility. Here's the breakdown:
Lutris-Managed Runners (Default Behavior):
When you select a Wine runner in Lutris (e.g., via the "Runner" dropdown when adding a game), it downloads and installs isolated, self-contained versions of Wine specifically for Lutris. These are stored in ~/.local/share/lutris/runners/wine/ (e.g., subfolders like wine-ge-8-26, wine-staging-9.0, etc.).
This includes variants like:
Standard Wine builds (e.g., wine-lutris, wine-staging).
Custom forks like Wine-GE (GloriousEggroll's Wine, optimized for gaming).
Proton (Valve's Wine-based runner for Steam, but Lutris can use it for any game). Proton runners are stored in ~/.local/share/lutris/runners/proton/ or similar.
Lutris does this to ensure consistency, easy version switching, and avoidance of conflicts with your system's global packages. It also allows you to have multiple Wine versions side-by-side without affecting the rest of your system.
On Arch Linux, you install Lutris via pacman -S lutris (from the official repos), and it handles downloading these runners automatically when you first select them (it may prompt you to install dependencies like wine for base support, but the runners themselves are separate).
The "System" Runner Option:
If you explicitly choose "system" as the Wine runner in Lutris (it's an option in the runner dropdown), Lutris will use your globally installed Wine from Arch's package manager (e.g., whatever you installed via sudo pacman -S wine or wine-staging).
This is less common because it's not as flexible—your system Wine might not be optimized for gaming, and version mismatches can occur if you update packages. However, it's useful if you have a custom system Wine setup you want to leverage.
Note: Even with "system," Lutris still manages the prefix and environment variables, but the Wine binaries come from /usr/bin/wine (or wherever pacman installs them).
Configure the Prefix (Add Drive Mappings):
In Lutris, find your new game entry in the library.
Right-click it > "Configure".
Go to the "Runner options" tab:
Ensure "Wine prefix" points to the folder you chose (it should by default).
Now, right-click the game again > "Wine configuration" (this launches winecfg for that prefix).
In winecfg:
Go to the "Drives" tab.
Click "Add..." to create a new drive letter (e.g., D: or G:).
Set the "Path" to your desired location on a different file system (e.g., /mnt/big-hdd/WindowsGames).
Optionally, set the drive type (e.g., "Hard Disk") and apply any other settings.
Click "Apply" and "OK" to save.
(Alternative: If you prefer CLI, open a terminal and run WINEPREFIX=/path/to/your/prefix winecfg to do the same thing.)
Run the Installer EXE:
Right-click the game in Lutris > "Configure" again.
In the "Game options" tab, set the "Executable" to your installer EXE file (e.g., /path/to/setup.exe).
Optionally, set "Arguments" if needed (e.g., for silent install flags).
Save the configuration.
Now, double-click the game in Lutris to launch it—this will run the installer EXE inside your configured prefix.
When the Windows installer asks for the installation location, choose a path on your new drive letter (e.g., G:\MyApp). The files will be written to the mapped location (e.g., /mnt/big-hdd/WindowsGames/MyApp), while the prefix stays on its original file system.
Post-Installation Cleanup:
After the installer finishes, Lutris may prompt you to select the main executable (or you can do this manually).
Right-click the game > "Configure" > "Game options", and update the "Executable" to the actual app's EXE (e.g., G:\MyApp\game.exe, which Lutris will translate to the real Linux path).
Test launching the game. If needed, adjust working directory or other options.
This method ensures the prefix exists and is fully configurable before the installer runs. Your app's files can now live on a separate file system via the drive mapping.
Alternative Solutions
If the above doesn't fit your workflow, here are other ways to break the Catch-22:
Manually Create the Prefix Outside Lutris, Then Import into Lutris:
Start the Wizard, Let It Create the Prefix, Then Cancel and Configure:
Begin the Lutris wizard as usual (select your EXE installer).
Choose the installation folder—this creates the prefix.
When the installer launches, immediately close/cancel it (don't proceed with installation).
The prefix now exists! Go back to Lutris, right-click the incomplete game entry > "Wine configuration" to add drive mappings.
Then relaunch the installer via right-click > "Run EXE inside Wine prefix" (or edit the config to point to the EXE and run the game entry).
Use a Lutris Install Script (If Available):
If your game has a community script on lutris.net, install it instead of using the manual wizard. Some scripts allow prefix customization or can be edited (they're YAML files in ~/.local/share/lutris/installers/). You can modify the script to include drive mappings via winecfg commands before running the installer.
Tips and Troubleshooting
Permissions Issues: Ensure your user has write access to both the prefix location and the mapped drive path (use chmod -R u+rwX /path/to/folder if needed).
Lutris Version: If you're on an older Lutris version, update it (sudo pacman -Syu lutris on Arch) for better wizard flexibility.
If the Prefix Gets Messed Up: Delete the folder (e.g., rm -rf ~/Games/my-game) and start over—it's just an empty shell until you install something.
Testing the Mapping: After setting up the drive, run WINEPREFIX=/path/to/prefix wine explorer to browse the virtual drives and confirm your mapping works.
For Very Custom Setups: If you need even more control, consider tools like Bottles (another Wine frontend) or pure Wine commands, but Lutris is still great for gaming.
If you run into errors (e.g., during winecfg or launching), share the exact error message or your Lutris version, and I can provide more targeted help! This should get you past the hurdle and allow installation on a separate file system.
In summary: Lutris prefers its own runners for isolation and ease of use, but "system" is available if you want it. You can manage available runners in Lutris via the menu: Lutris > Preferences > Runners (here you can enable/disable/download specific versions like GE or Proton).
2. If Lutris Uses Its Own Runners (Not "System"), Will Using System Wine for Configuration (e.g., winecfg) Still Work If Switching to Proton/GE Later?
This is where things get tricky—it's not always a clean "yes" or "no," but it can work in many cases, though it's not recommended as a best practice due to potential compatibility issues. Let me explain why, and then I'll provide guidance on how to do it properly to avoid problems.
Potential Issues with Mixing Wine Versions for Configuration
How winecfg Works:
When you run WINEPREFIX=/path/to/prefix winecfg in a terminal (as I suggested in previous responses), it uses the wine binary from your system's PATH—typically the system-wide Wine if you've installed it via pacman (e.g., wine package).
This will initialize or modify the prefix (e.g., adding drive mappings in dosdevices/, updating the registry) using that system Wine's logic and defaults.
Compatibility When Switching Runners:
It Might Work: Wine prefixes are somewhat portable across versions. If you configure a prefix with system Wine and then set the Lutris game to use a managed runner like Wine-GE or Proton, the game could launch fine. Basic changes like drive mappings (which are just symlinks in dosdevices/) are filesystem-level and don't depend heavily on the Wine version. Many users do this accidentally without issues, especially for simple setups.
But It Can Break or Cause Subtle Problems: Different Wine versions (including Proton/GE) have variations in:
Built-in DLLs and overrides (e.g., GE might have custom patches for DirectX or performance).
Environment handling (e.g., Proton uses a custom proton wrapper instead of plain wine).
If the prefix was initialized with system Wine (e.g., Wine 9.0), switching to Proton-GE (based on a different Wine fork) might lead to:
Errors like "Wine version mismatch" or crashes on launch.
Missing features (e.g., Proton's automatic DXVK/VKD3D setup for Vulkan).
Inconsistent behavior, like drive mappings not being recognized properly if the runner expects a different setup.
Proton in particular is designed for self-contained prefixes (like in Steam), so mixing with system Wine can introduce incompatibilities, especially for games requiring Proton-specific tweaks.
When It's Safer:
If you're using a Lutris-managed Wine runner that's close to your system Wine (e.g., both are Wine-Staging 9.x), compatibility is higher.
For Proton/GE: These are more specialized, so mismatches are riskier. Proton prefixes are often best initialized and configured with Proton itself.
Best Practice: Configure Using the Same Runner You'll Use for the Game
To avoid the Catch-22 and ensure compatibility, always configure the prefix with the exact Wine/Proton/GE version the game will use. Here's how to do it reliably in Lutris:
Add the Game and Select Your Desired Runner First:
When adding the game (via + icon), choose your runner upfront (e.g., wine-ge-8-26 or proton-ge).
Proceed as in my previous response: Use "No installer" or "Manual" mode to create the prefix without immediately running the EXE. This initializes the prefix using the selected runner's Wine/Proton binaries.
Launch winecfg with the Correct Runner via Lutris:
After adding the game, right-click it in Lutris > "Wine configuration".
This automatically runs winecfg using the game's assigned runner (e.g., the specific wine-ge or Proton version), not the system Wine. It sets WINEPREFIX correctly and uses the runner's binaries from ~/.local/share/lutris/runners/.
Add your drive mappings here (as described before). This ensures the configuration is compatible with the runner.
Manual CLI Alternative (For Advanced Control):
If you want to use the terminal, point to the specific runner's binaries instead of relying on system Wine.
For Proton-GE (adjust the path/version as needed):
export WINEPREFIX=/path/to/your/prefix
~/.local/share/lutris/runners/proton/proton-ge-8-25/bin/winecfg # Proton has its own winecfg
This initializes/configures the prefix with the exact version, avoiding mismatches.
Switching Runners Later:
If you change the runner after configuration (e.g., from system to GE), Lutris will try to adapt, but you may need to re-run "Wine configuration" with the new runner to fix any issues. In some cases, it's safer to create a fresh prefix: Copy the old one, assign the new runner, and reconfigure.
Additional Tips for Arch Linux
Install Dependencies: Ensure you have wine or wine-staging installed system-wide (sudo pacman -S wine), as Lutris runners often depend on it for base libraries. For Proton, you might need steam or related packages.
Runner Management: In Lutris Preferences > Runners, you can download specific versions (e.g., search for "ge" to get GloriousEggroll options).
Testing: After configuring, test with right-click > Run EXE inside Wine prefix to verify the mapping works before installing.
If Issues Arise: Check Lutris logs (lutris -d in terminal) or Wine logs in the prefix (~/.wine/system.reg or similar). If a prefix gets corrupted from version mismatches, delete it and start over—prefixes are disposable.
By sticking to the runner-specific tools, you'll avoid most compatibility pitfalls. If you specify which runner you're planning to use (e.g., a particular GE version), I can give more tailored commands!