Eskating cyclist, gamer and enjoyer of anime. Probably an artist. Also I code sometimes, pretty much just to mod titanfall 2 tho.

Introverted, yet I enjoy discussion to a fault.

  • 444 Posts
  • 545 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle




  • 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.

























  • Yes. But Valve didn’t do anything special. They provide pre-compiled shaders for all games on the deck and can only do so because of how directx shaders are handled on linux.

    All games on linux and windows when using DX12/Vulkan must compile shaders. They should be compiled during loading screens and such, not gameplay, then cached for use later.

    Elden Ring in particular, didn’t precompile shaders before gameplay, and then when it did compile them, it would discard the shaders rather than cache them. As a result the stutter would happen non-stop and never go away.

    On linux, the equivalent compiled vulkan shaders are cached by VKD3D, eliminating the stutter except when a shader is used for the first time. On the deck, Valve will deliver the shaders precompiled with the game download to eliminate the need to compile them at all.

    The fix of providing precompiled shaders was only possible on linux due to the use of VKD3D. And even without them, on linux the stutter would go away after a while as VKD3D will cache them even when the game doesn’t. Fromsoft had to update the game to fix it from their side on windows.