Installations from file-sharing sources vary a lot depending on the format and whatever instructions are bundled with the download. I'd gently steer you away from pirated games, though, since they're illegal and frequently come bundled with malware. If a game is too pricey, look for legitimate sales, free-to-play titles, or demos instead. You'll get a safer, more reliable experience and support the developers who make the games you enjoy.