An open-source script that automatically Cracks (removes DRM from) Steam games https://cs.rin.ru/forum/viewtopic.php?f=10&t=120610
Find a file
2024-08-14 00:02:21 +02:00
hooks Uploaded tkinterdnd2 pyinstaller hook 2024-08-14 00:00:35 +02:00
sac_files_here Create .gitkeep 2023-11-21 23:25:47 +01:00
compile sac gui autoupdater.bat Uploaded autoupdater compile script 2024-08-14 00:02:21 +02:00
compile sac gui.bat Added pyinstaller hooks dir 2024-08-14 00:01:07 +02:00
compile sac.bat Added compile scripts 2023-11-21 23:27:59 +01:00
create venv.bat Added compile scripts 2023-11-21 23:27:59 +01:00
icon_hashtag.ico Uploaded some files used for compiling 2023-09-03 01:32:59 +02:00
LICENSE Initial commit 2022-03-13 08:06:29 +01:00
open venv.bat Added compile scripts 2023-11-21 23:27:59 +01:00
README.md Update README.md 2024-08-13 23:28:03 +02:00
requirements.txt Added tkinterdnd2 as requirement 2024-08-13 23:27:05 +02:00

SteamAutoCracker compile environment

Change the branch to main to return to SteamAutoCracker!

Scripts and files to help you 'compile'/bundle SteamAutoCracker into an .exe by yourself

Requirements

  • An internet connection (if you haven't installed the pyinstaller, requests, tkinterdnd2 and pywin32 modules)
  • 64 bits Windows
  • The pyinstaller module. Run py -m pip install pyinstaller or check the compile instructions for more details.
  • The requests, tkinterdnd2 and pywin32 module. Just run create venv.bat to create a virtual environment and install those modules on it, but I'll explain this later.
  • Python 3.7+ is needed. I'm personally running 3.9, so this version is guaranteed to work.

Compile instructions for Windows and pyinstaller

Compiled using pyinstaller and venv

  1. Download this branch, and extract the folder in the archive somewhere on your PC
  2. Open your windows terminal (cmd) and run pip install pyinstaller or py -m pip install pyinstaller if pyinstaller isn't already installed.
  3. Open the folder and run create venv.bat. This is a Windows script file, it might trigger a warning, but allow the file to run anyway. (If you're afraid of it having viruses, you can easily open this file with a text editor and see what's inside)
  4. Download the main branch of SteamAutoCracker, and put the steam_auto_cracker.py file and the sac_lib folder inside of sac_files_here
  5. Run compile sac.bat, wait a bit, and you should now have a steam_auto_cracker.exe file! Enjoy :)

(The open venv.bat file isn't used, but you can run it to access to the virtual environment, install modules and run commands... Modules installed inside the venv won't be installed on your real Python environment.)

Troubleshooting

  • If py ins't recognized as a command:
    • Please make sure you installed Python 3.9+ from the official website (not the microsoft store). I can't guarantee the syntax on older versions of Python.
    • Manually edit the .bat scripts and change py to your python command.
  • If pyinstaller isn't recognized as a command:
    • Make sure you installed pyinstaller correctly with py -m pip install pyinstaller
    • Make sure your Python installation has been correctly added to your Path environment variables. Check online on how to do it. GLHF, that might be a pain to do.

Why does this exist?

For transparency, to share knowledge and to let people fork and/or continue to support SteamAutoCracker by themselves.

Feel free to re-use those scripts for your own projects.