mirror of
https://github.com/BigBoiCJ/SteamAutoCracker.git
synced 2026-02-05 06:11:19 +01:00
compile-env
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,tkinterdnd2andpywin32modules) - 64 bits Windows
- The
pyinstallermodule. Runpy -m pip install pyinstalleror check the compile instructions for more details. - The
requests,tkinterdnd2andpywin32module. Just runcreate venv.batto 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
- Download this branch, and extract the folder in the archive somewhere on your PC
- Open your windows terminal (cmd) and run
pip install pyinstallerorpy -m pip install pyinstallerif pyinstaller isn't already installed. - 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) - Download the
mainbranch of SteamAutoCracker, and put thesteam_auto_cracker.pyfile and thesac_libfolder inside ofsac_files_here - Run
compile sac.bat, wait a bit, and you should now have asteam_auto_cracker.exefile! 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
pyins'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
pyto your python command.
- If
pyinstallerisn't recognized as a command:- Make sure you installed
pyinstallercorrectly withpy -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.
- Make sure you installed
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.
Description
Languages
Python
100%