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

Linux Questions

1103 readers
1 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
20
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

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

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Please avoid discussing piracy in this community. It is too much of a legal issue and isn't Linux related.

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)
[–] [email protected] 13 points 1 year ago

Wine via Lutris or bottles.

[–] [email protected] 11 points 1 year ago (1 children)

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.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

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?

[–] [email protected] 6 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year 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.

[–] [email protected] 4 points 1 year ago

You can add a non-steam game if it is "installed" (read extracted), then in steam select to use compatibility mode in settings for the game. That will run it with proton and has a very high sucess rate. So far think i came across 2 that did not work. One of the civ games and another. Ironically both i actually bought rather than pirate, but if you install a game via wine, you can add it via steam. Actually i do this with a bunch of legally bought games as its an easy way to manage a library.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (2 children)

Yes. You may need to install it in a VM first (or a Windows dual boot partition) then move the files into the linux host system. Fitgirl installers usually report not enough memory for me, even though there’s 32GB available and the installer option to limit to 2GB is turned on.

edit: once it’s on there, I usually have success with Heroic, just when adding the game to the library, you have to use the “install first” option in the game settings window to install any needed visual c++ runtime, before pointing it to the game exe and saving. I haven’t found a way to add it afterward.

[–] [email protected] 3 points 1 year ago (1 children)

Fitgirl installers gave me huge trouble too in the past, but once the files are extracted, it all works perfectly.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Yeah, at this point I just install them from the Windows side, then add them to the linux side, so if there’s some problem I can switch back and forth.

[–] [email protected] 3 points 1 year ago (1 children)

I downloaded RE2 from Fitgirl 3 days ago. Installer worked without problems on up to date Arch

[–] [email protected] 2 points 1 year ago (1 children)

That’s good to hear, what did you install that through?

[–] [email protected] 2 points 1 year ago (1 children)

Vanilla Wine from Arch repos

[–] [email protected] 2 points 1 year ago

cool! thanks for the heads up!