Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Preventing game from being open without steam

Discussion in 'General Discussion' started by GabrielBigardi, May 24, 2021.

  1. GabrielBigardi

    GabrielBigardi

    Joined:
    Apr 14, 2017
    Posts:
    18
    Hi, i have a game to be released on Steam soon, and i was testing out some things, and seems like i can just copy my game folder to other pcs and run it, without needing to own it on steam...
    How can i fix it so only people who owns the game can play it on steam ?
    (i know some people will say "it will be cracked anyways, dont bother with it", but i really wan't to have at least this basic "protection")
     
  2. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,797
    You can check for the player's steam name in the Steamworks Unity SDK, if it's blank, then just stop the game from running.
     
  3. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,751
    Removing Steam DRM isn't protection at all and pretending it's even the illusion of that is silly. Removing it is, quite literally, a matter of replacing a single DLL. The amount of time you spent making this post is, in fact, more effort than you should have put into this in the first place. Yes, I'm saying exactly what you mention in the OP, but the reason people bring it up is because Steam DRM especially is DRM only so far in that it is tied to the DRM systems that Steam uses in general.
     
  4. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    593
    You could require players to sign on to your server and get authorization if you really want to prevent people from playing without paying.
     
  5. GabrielBigardi

    GabrielBigardi

    Joined:
    Apr 14, 2017
    Posts:
    18
    Thank you all, i've managed to do the DRM wrapping successfully.
     
  6. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,134
    Basic protection is a lie. We're in the age of the Internet. Everything is a single search away. If someone wants to be legit they will always buy your game. If someone doesn't care they will always be able to pirate your game. Steam being bypassable is literally the most well known secret of all time.

    Meanwhile I'm fairly confident that @Meltdown's method of detecting Steam requires you to always be online and that will cause problems for some of your users who may not have an Internet connection at home and have to download the games they play at libraries or other public locations.
     
    Last edited: May 24, 2021
    EternalAmbiguity likes this.
  7. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,324
    Well, you pretty much can't dot hat reliably. The people can bypass the check fairly easy.

    Adding a 3dd party login requirement makes life less pleasant for legitimate users and make your game online-only. That's not a good thing, and somebody buying a game on steam usually does not want to deal with any 3rd party accounts in the first place.
     
  8. BIGTIMEMASTER

    BIGTIMEMASTER

    Joined:
    Jun 1, 2017
    Posts:
    5,181
    just repeating others but:

    if piracy is a make it or break it difference in your take home money then the game has failed commercially.

    The place to put energy is making more marketable game that the mainstream audience who doesn't even consider piracy will consume.
     
  9. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    9,751
    SteamID is account bound, so as long as there's been a successful Steam login during initial startup, it'll be fine most likely iirc.

    Of course, the easy solution is to, again, just use a modified DLL.