20
submitted 11 months ago* (last edited 11 months ago) by Shihab@lemmy.world to c/linuxquestions@lemmy.zip

How to run/install a game repacked for windows on Linux? Is it possible?

you are viewing a single comment's thread
view the rest of the comments
[-] themoonisacheese@sh.itjust.works 11 points 11 months ago

Install bottles from flatpak.

Press "run executable" and run the installer, installing in a folder like ~/games for easy finding

If you're lucky the game now appears in bottles and you can run it, otherwise add a shortcut (button in bottles) pointing to the game's exe.

If you need controller support, from bottles click "more" on the game and add it to steam (restart steam for it to show up) and launch the game from steam and it will take care of the controller mapping and you even get the nice remapping features.

[-] mateomaui@reddthat.com 4 points 11 months ago* (last edited 11 months ago)

I haven’t used bottles yet. How does it handle c++ redists?

edit: as in, do you have to install them first? Can you add them afterward if the game doesn’t launch without them?

[-] themoonisacheese@sh.itjust.works 6 points 11 months ago

Bottles provides some installers but for example with fitgirl repacks I heavily recommend letting the fitgirl installer install redists.

Another option is to manually download your redist and run it through the same "run executable" as before. Bottles is a program for managing several "wine bottles" (get it?) And a single bottle is like a single windows install (in real terms, this is what a "wine prefix" is), so a program installed in a bottle is a program that is visible to other programs in that bottle. For example, if you install Titanfall in bottles, you can then use the third-party Titanfall modded launchers as you would do on windows.

Some desktop programs (dnspy is the one that caused me problems personally) can be incompatible with the bottles setting, so for these programs specifically you should create a new bottle with the settings that work. Most of the time, this involves disabling DXVK for that bottle.

[-] mateomaui@reddthat.com 2 points 11 months ago

Thank you for the details! That sounds much more flexible and takes out some of the guesswork. I’ll give it a try on a new install.

this post was submitted on 25 Nov 2023
20 points (95.5% liked)

Linux Questions

1057 readers
14 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS