From my understanding, at least one other necessary component is dxvk, and that wine is not enough.

If I dont use lutris or some other manager, how can I game on linux? do I have to configure dxvk? do I need soemthing else too? vulkan?

Is there a guide that explains it?

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    You really want to be using a separate prefix for each game, to keep any game-specific tweaks and settings separate.

    Managing that without something like lutris or bottles IS A HUGE PAIN IN THE ASS, DO NOT EVEN TRY IT. Literally no-one does this. You will not find a guide.

    But if you insist, yes, you’ll need a version of wine, as well as dxvk. Both you can install yourself.

    Vulkan you should have already on most distros.

    Then there’s a litany of optional windows dependencies that you can/have to install within a prefix, using winetricks, some of which will be necessary to run some things, while others will break other things.

    But seriously. If you want to fiddle with the details, while not going insane with tedious prefix management, just use Bottles.

    • Cyclohexane@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      My issue with lutris is that when I used it before and something didn’t work, or used to work but broke, I was completely at a loss, because I did not understand what all it is doing exactly. It just felt that what lutris is doing is a bit too obfuscated or unclear to me.

      Is bottles any better on that front?

      • MentalEdge@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        Yes. I find prefixes in bottles much easier to configure. It’s all the same stuff, but the UI is simply better IMO.

        But if that’s the problem you were having, setting off to manage wine yourself will only make it worse. You would be massively increasing the amount of legwork you’d have to do, not decreasing it.

        Also grab protonup while you’re at it. It can download specific proton/wine versions for you and put the files in all the right places for the extra versions to be selectable in bottles/steam.

  • Ark-5@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I used to manually port games to macOS using wine/wine tricks/wine bottler, and honestly it’s not that bad. Especially if using GUI versions of all of those. Yes it takes fiddling and tweaking and a decent amount of failure, but I found it worth it once I succeeded in doing it once. That was almost a decade ago, and while I haven’t tried it since (I rely mostly on steam at the moment) I have a few games from say GoG and other places I’m planning to manually port. Ignore the haters, and just go for. Read/watch a tutorial, fail miserably for a while, and eventually you’ll tweak enough parameters and change enough values you’ll find what works. Once you do that for one game all the others will be easier. Every game is a bit different, but the freedom and knowledge you’ll gain is great. If my 13 year old ass could do it on a school issue MacBook to share Skyrim to all my friends you can definitely do it with more modern tooling.

    EDIT: I think at one point I ported the windows version of steam, and then could use the “add non steam game” option and then could simply hit run. Didn’t work for everything, but there was a handful of games that was a quick and dirty work around for.

  • Astaroth@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    From my understanding, at least one other necessary component is dxvk, and that wine is not enough.

    dxvk is not necessary but it massively improves game performance on a lot of games, also keep in mind some games will actually not run if you use dxvk, so you sometimes (very rarely) have to use OpenGL instead and the only way I really found to do that was to have a wine prefix without dxvk. (I might’ve just been stupid though)

    for the record only games that I had to use open GL for so far was Starcraft 2’s Galaxy Editor (although the actual game itself runs fine with dxvk) and I had some problems with alt tabbing in really old versions of Warcraft 3 (1.27 and older)

     

    Anyway, for a time I used Lutris a bit but now I always run wine through terminal because Lutris was great when it worked but there were seemingly no solutions for when it didn’t (while running wine directly has never given me a problem).

    And what’s great with running wine directly through the terminal is that either it will run and you’re good or you’ll get some error messages saying that some .dll or whatever is missing (usually .net, visual studio, msvcr100+.dll, mscvcp100+.dll, ms*.dll, etc.) and you just use winetricks and go through the list until you find what you need.

     

    One more thing that took a while for me to learn was that some games (if you’re using mods) will need to be run along with WINEDLLOVERRIDES environment variable https://wiki.winehq.org/Wine_User’s_Guide#WINEDLLOVERRIDES.3DDLL_Overrides

    for example when I play Need For Speed Most Wanted 2005 I start it with this command: WINEDLLOVERRIDES="dinput8=n,b" wine speed.exe

    another thing is sometimes you want to run games with some arguments, for instance before I got XCOM 2 on Steam and used AML I used to run it with this: wine XCom2.exe -noRedScreens -review


     

    Now here’s a pretty big caveat, which is that I use FISH instead of Bash which adds some big QoL improvements (in this case it’s mainly about tab completion).

    If I actually had to manually type in the commands or spend minutes going through history file every time I would never do it.

    Although I suppose you could make an alias for each game.

     

    Oh yeah and always run the games from the same directory as their .exe file is located in, more often than not it won’t work if you just do wine /path/to/directory/game.exe instead of cd /path/to/directory && wine game.exe

     

    Edit: some typos, and I just want to note that the && aren’t supposed to include the amp; parts