I am looking for help on how to run closed source / pirated games on linux within a virtual machine. I would like to start by saying if I could walk into a shop and buy with cash, a game on a CD like in the old days I would. I have recently become very privacy conscious and until I figure out a way to anonymously and privately purchase things like this I am going to stick with pirating. Also, it is helping me to archive content as everything seems to be moving online and I want to stick with offline applications / media etc in my control.

Now, I am familiar with virtualbox but of course, it is no good for gaming. I have read about other applications that offer much better performance with support for GPU passthrough or similar (but how does this affect the security side of things when running pirated games). Forgive me, this is all quite new to me.

What I want is a virtual machine capable of gaming so that I can more safely run pirated games on linux. Also, I am very new to linux and some help in how I should actually go about running games on linux in the first place. I do not want to just install steam because it has closed source elements and being more privacy conscious now, I’m not sure I want to. Though I am aware I can use the proton layer to enable gaming support which I believe is fully open source. For my purposes lutris sounds like it may be the route to go. Thoughts on this welcome.

As a side note, I am thinking of signing up to GOG as they, to me, seem like a better alternative to steam where I can actually own a DRM free copy of a game that I buy. On a pirating note I thought locating signed, hash checked GOG installers to be a good option for security for dipping my toe into pirating games on linux. I am much, much more comfortable with detecting and removing malware in a windows ecosystem. Linux, completely foreign. So I am trying to be careful.

Once I get fully set up I plan to buy the games I enjoy on GOG, I think that will be the path I can be most comfortable with. At the end of the day I will own a DRM free copy of the game itself. That is the best I can do where I cannot get it on physical media I think. I already do this for CD’s and DVD’s etc.

Any help would be appreciated, thank you.

all 48 comments

sorted by: hot top controversial new old
[–] 45 points 3 months ago* (last edited 3 months ago) (11 children)

First of all, don't expose yourself to danger. Get your pirated games from reputable sources.

Most games only need a Steam emulator like Goldberg's to run without license, and you can get clean steam files from cs.rin.ru. You don't need VMs for this, it's literally the original game.

If you need an actual crack, you can also look up on cs.rin.ru and try to gauge the reputation of the uploader. You can also check fitgirl or dodirepacks, they are both highly reliable. These are unlikely to have malware, but it's not impossible.

If you want to use a vm because you still don't trust the pirated game in question (reasonable), then there is no shortcut. Use the arch wiki to learn how to setup a VM with GPU passthrough, even if you don't use arch it's always a good place to get started.

  • source
  • hideshow 11 child comments
  • [–] [S] 2 points 3 months ago (9 children)

    Thank you for your reply, this sounds on track to what I am looking for.

    Very interesting on the clean file + emulator route. Sounds like a similar line of thinking to my signed / hash checked GOG installer thoughts.

    Regarding using a VM with a GPU passthrough, what software would you recommend for doing this with? I am very familiar with virtualbox and do prefer a GUI though I recognise I will probably have to adapt in order to get what I want.

    Thanks again.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 5 points 3 months ago (8 children)

    I forgot about the gog part. Yeah, you can also use those. There used to be a website that uploaded clean gog installers, but now all the download links are behind those sketchy filesharing services. Though, if you manage to get one, the binary should be signed by the developer. On windows I know you can check the signature by right-clicking on the file, on Linux I don't remember because I haven't needed it in a long time.

    For the VM you need qemu/kvm. I suggest to use virt-manager which is just a graphical interface for qemu.

  • source
  • parent
  • hideshow 8 child comments
  • [–] [S] 2 points 3 months ago (7 children)

    Thank you, your responses have been most helpful.

    Yup, I used to check the signature / hash for GOG installers in windows. I'll have to look into how to do it in linux.

    I'll look into qemu/kvm. Virt-manager rings a bell. Thanks, I'll look into all of that.

    Do you have any site recommendations for clean steam / gog files?

  • source
  • parent
  • hideshow 7 child comments
  • [–] 2 points 3 months ago* (last edited 3 months ago) (6 children)

    For steam I already told in the previous comment, cs.rin.ru. You need an account to access the clean files threads.

    For gog unfortunately not anymore. Check the r/piracy megathread, see if you find something

  • source
  • parent
  • hideshow 6 child comments
  • [–] [S] 2 points 3 months ago (5 children)

    Thank you for your response.

    Apologies on missing that it was you that mentioned those sites, new to lemmy and viewing through the unread messages area where it only shows the current comment, not the thread. I am struggling to see something I can click to bring the message up in a thread so I can see the message flow.

    Thank you for the clues, I shall disappear down a rabbithole some time following your breadcrumbs.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 3 points 3 months ago (4 children)

    Btw, I just remembered.

    You said that "if you could go to the store, buy a disc with the game, like in the good old days" you would prefer that over piracy.

    I do encourage you to buy games on GoG (Good Old Games), download the installer, and burn it on a blue ray disk for you to keep.

  • source
  • parent
  • hideshow 4 child comments
  • [–] [S] 1 point 3 months ago (3 children)

    I shall most likely be doing so. It is a means of owning the original install files for the game. From a privacy standpoint, still not as good as buying it in a shop with cash but it is most certainly a step in the right direction. There was a time when I pirated simply because I wanted to try things out for free when demos became less popular. Then it led to why bother buying it now. However, as I have matured I am happy, moreover I want to pay for something I have tried and enjoyed to support the creator so long as I have ownership and can do with it what I like. I do not want to support the conditional ownership systems that are developing, telling me how I may use something that I have purchased. Or that I do not truly own it such as is the case with most digital "purchases".

    You seem very relatable in several areas I have identified, like minded and able to comprehend my point of view. Able to explain without condescension. I am new to socialising online (in general really, trying to step out of my shell). I found the fediverse on my travels to escape big tech, see my original post here. If you do not mind sharing your thoughts, where would you recommend looking for someone socially awkward, very concerned over privacy but not to the point where that becomes the central point of discussion as it can be a little triggering, a place to discuss things intellectually yet open and respectfully of one another?

    I am just curious to hear your thoughts on this point. Thanks.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 3 months ago* (last edited 3 months ago) (2 children)

    I see, I'm not sure I can help you with that. I don't really engage with many communities outside of Lemmy. I just lurk in various other places.

    Anyway, it looks to me like you are looking for an online bubble where to efficiently isolate yourself, this can't be good for you. I would suggest meeting with real people instead. Are you still a student? Maybe in university? Then you are probably surrounded by people your age with common interests to you, waiting for you to speak to them. Make friends, it will be fun.

    That being said, I do share some of your social anxiety, so this is definitely a "do as I say, not as I do" kind of situation.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 3 months ago (1 child)

    Thank you. I appreciate your honesty. I too share the "do as I say, not as I do" mentality.

    I am naturally tentative about revealing too much personal information on the internet so am reserved in revealing too much information, contrary to the masses of course who seem all to eager to divulge. I can say that I have isolated myself over the years, I am sure you can understand social demand to do so given your honesty.

    Real people, real fears, so complex. So I am gravitating towards the idea of the relative anonymity of the internet (such that it is at the moment) to test the waters. Get things wrong, make mistakes, learn from them, evolve. From my limited experience, most people are hard to get along with. Most are without patience and understanding. The "if I can do it / get it, then they should be able to also. If they cannot, it is their problem" is all too prevalent. This community increases the odds of finding individuals such as yourself that appear to break this norm, at least that was my hope. I too believe I fit into this category, taking the time and patience to understand people and the ever present desire to be of use, to help.

    I understand there is a DM function on lemmy, but I do not yet understand the etiquette so I'll just ask, would you be OK with me DM'ing you? If not, I shall of course respect that. I do not wish to impose or make anyone feel uncomfortable. I do not know how to make friends on the internet, in general really. Sure there have been people over the years but I have yet to be able to connect the way I see others do. I'm at a point in my life where I am trying to figure out why and if it is even possible. So, this is me asking would you like to talk further without everything being on the public ledger?

    I do not wish to isolate any more, I am beginning to recognise social needs that need to be fulfilled in order to be happier, it is just that I find it very, very hard to just be myself around others. Most of the time I put others' needs above my own and I recognise that after a while that becomes self destructive. I shan't go into to much more information publicly, those privacy threads are starting to pull at me.

    You interest me as a person, identified simply by the few responses I have seen from you. Similarities I see in myself perhaps eluding to social compatibility. I should like to explore that more. Forgive me if this all sounds a little analytical / weird, this is just me being honest in my natural way.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 3 months ago

    Ah, sorry, I misinterpreted you. DM is fine. I have never used Lemmy's DM, I expect it to be bad. I have put a matrix address on my Lemmy profile. It's probably better than Lemmy's DM

  • source
  • parent
  • load more comments (-1 replies)
    [–] 8 points 3 months ago (5 children)

    I just use a different user with no privileges to run any pirated or suspicious software.

  • source
  • hideshow 5 child comments
  • [–] [S] 2 points 3 months ago (4 children)

    Thank you, that is something to consider. What are your thoughts on sandboxing vs using a user with no privileges?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 3 months ago (3 children)

    Flatpak sandboxing is weak. For truly untrusted software like pirated games I'd definitely go for a different user which in Linux provides a very strong isolation.

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 1 point 3 months ago (2 children)

    What about firejail vs a separate limited user account?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 3 months ago (1 child)

    I'm not familiar with firejail, sorry. I guess that firejail (or regular containers with podman) can be ok for CLI tools which only need access to very specific paths, if any. But for graphical applications like games you probably have to grant a lot of access.

    Using a separate user is simpler and it's guaranteed that the software can only write to the home dir of the user (and other temp paths like /tmp that you don't care). In case of problems, just wipe the home dir and you are good.

  • source
  • parent
  • hideshow 1 child comment
  • [+] 5 points 3 months ago* (last edited 2 months ago) (3 children)
  • [–] 4 points 3 months ago (2 children)

    It's actually possible to do it with a single gpu but it's trickier than if you had two. You can use libvirt hooks to stop all graphical processes (and log your gui session out), unload the kernel drivers for the gpu, and start the VM with the now unused primary gpu. Then do the reverse when the VM stops and you're back to your login screen.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (-1 replies)
  • [–] 5 points 3 months ago (1 child)

    I'm running everything that is proprietary (Steam for example) on a second user that is a not an admin account. Heroic and the like are installed via Flatpak that is sandboxed. Sometimes games contain malware, even on Steam. If something goes badly wrong, I purge that second user.

  • source
  • hideshow 1 child comment
  • [–] 5 points 3 months ago (2 children)

    So I'm not condoning or condeming.

    I would say you can dual boot linux - that is have TWO entirely separate Linux installs on your PC. Have one be your main Linux desktop, and have a separate partition which you boot into to use for riskier stuff. Just ensure it has no access at all to your other drive and be careful mouting peripherals like USB drives. That way you can get full native experience with your PC, without having to sacrifice performance for a VM set up. I would also set up a VPN to run at all times within that 2nd Linux install, with kill switch for the network if it disconnects.

  • source
  • hideshow 2 child comments
  • [–] 2 points 3 months ago

    If mulvad didn't take away the ability to just dump your VPN in your router via wiregaurd I would say do that over running the VPN on the system. Use an openwrt capable router and google a good saftey guide.

  • source
  • parent
  • [–] [S] 1 point 3 months ago

    This is a thought, thank you for your suggestion.

    In defence of my pirating, it is more complicated that just getting stuff for free. See this comment.

    Sure, there was a time I'd pirate just because I could, now I have matured there are real reasons and ethical dilemmas. The above comment explains things pretty well though.

  • source
  • parent
  • [–] 4 points 3 months ago (2 children)

    OP, FYI: GPU passthrough isn't riskless (OpSec-wise), unfortunately. This Hacker News thread contains pointers if you'd wish to read up on that.

  • source
  • hideshow 2 child comments
  • [–] 7 points 3 months ago

    I'd like to think that attackers making malicious pirate releases will focus on the large Windows userbase rather than the 1% of the 1% running them inside passthrough VMs but I get the point.

  • source
  • parent
  • [–] 7 points 3 months ago (1 child)

    You keep talking about "safely" running these programs. What is the threat that you are trying to protect yourself against? Are you concerned that your unofficial copy of the program may contain malware, are you worried that the copyright owners may try to find you (via IP address perhaps?) and prosecute, or what.

  • source
  • hideshow 1 child comment
  • [–] 2 points 3 months ago (9 children)

    If piratded games have malicious files its most likely for windows users, you can install repacks on Linux very easily though.

  • source
  • hideshow 9 child comments
  • [–] 1 point 3 months ago (5 children)

    I had trouble with fitgirl repacks the last couple of times I tried

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 3 months ago* (3 children)

    Did repack stuck on a certain space? Then just disable WOW64 mode. Thats it. What issue did you face?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 3 months ago (2 children)

    The game installed, but it wouldn't play regardless of how I tried to launch it.

    But the replies I've gotten seem to imply that they generally work, so maybe I'll give it another try

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 3 months ago (2 children)

    When you say repacks, are these repacks of files designed to be used in windows with pre-installed cracks etc or is it more specifically a repack designed to be run under linux?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 months ago (1 child)

    They work on Linux like they do on windows. Use heroic games launcher add any repack, make sure to DISABLE "WOW64" mode because it'll make your repack stuck on a certain point, so disable it.

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 1 point 3 months ago

    This is something I'll have to look into further as I do not fully understand the whole concept of what is happening when running windows games under linux and how something is repacked to only work on linux. Thank you though.

  • source
  • parent
  • [–] 2 points 3 months ago

    QubesOS? :D

  • source
  • [–] 1 point 3 months ago

    Yo OP, in case you couldn't get GPU passthrough to work; vm-curator makes that a piece of cake, somehow even with a single GPU.

  • source
  • [–] -2 points 3 months ago (1 child)

    Quit thinking as a windows user now you are on Linux.

    You running a pirated game with proton? Or looking to run windows inside Linux?

    In any case run the game offline, disconnect the PC from internet and you should be safe.

    What? It's an on line game? It's a game that need internet access to run? Then what are you complaining about? There is nothing you can do to be "safe".

    Anyway running a windows game on linux with wine or proton should be safe enough from most of the possible threats (environment is too different). Running in a VM would be a serious hit on performances even if you use qemu+KVM (forget about virtual box) with all drivers set to passtrough and you give up your video card on Linux and pass it to windows

    At that point, you are again at risk because e you are again running windows ...

    Define your threat at least. That would make a response easier

    My guess you are overthinking stuff.

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 3 months ago

    I would like to forget about windows, everything linux. So the VM would be linux using proton, my thought is that a vm isolates stuff inside it from the host os, thus allowing you to run malware inside the sandbox. Yes there is still a risk malware can get out, but far less of a threat than just running it in the host os. So, like I can do with applications and fully utilise the CPU, I'd like to do the same for the GPU.

    I have heard that malware designed for windows can still run under linux due to the way wine / proton works. So I thought using a VM could offer a solution, or at least a step in the right direction.

    What is an online game? Everything at the moment, when pirating, I am in control. Need no internet connection, no account, just execute and run like when I used to buy a game on a CD. That is why I am looking at GOG.

    Can you recommend any tutorial videos for qemu and kvm setup and usage for linux?

    My threat? I want to take precautions from installing malware on the linux system when running pirated games. Like on windows, running pirated applications in a vm. But I'd like to do it with games.

  • source
  • parent