- Build of your game
- 64-bit Windows machine
- Python 3.9 or newer
- Newest build uploader
- 3 secret values provided by [email protected]
- User API key
- Application secret
- Branch secret
- Install a Python release the way you prefer from https://www.python.org.
- Verify that your Python installation is valid by running below command in command line. The version returned by this command should be 3.9 or higher.
python --version
- Install required Python packages by running below command in command line.
python -m pip install argparse
- Download the newest release of build uploader and unpack it. We suggest unpacking the archive to a directory named
gameswift-build-uploader
.
In order to actually upload a build, you need to run build_uploader.py
script in Windows command line. Script needs 5 parameters described below.
build-directory
- directory containing your game build. The script will take care of archiving it before uploading to launcher. For example, if your build executable is located atD:\build_1\game.exe
, the build directory should beD:\build_1
.build-label
- label of build to be uploaded. Usually used for build version, we suggest the most common semantic versioning for this purpose.user-api-key
- unique user key needed for all uploading actions.application-secret
- unique application key. This differs for your Windows/Mac builds within one game.branch-secret
- unique branch key indicating which branch should be used to publish the build. This differs for your Windows/Mac build branches.
Sample usage:
python D:\gameswift-build-uploader\src\build_uploader.py ^
--build-directory "D:\Builds\MyGameBuild_0_1_1" ^
--build-label "0.1.1" ^
--user-api-key "1234567890abcdef1234567890abcdef" ^
--application-secret "1234567890abcdef1234567890abcdef" ^
--branch-secret "1234567890abcdef1234567890abcdef"
Note: the process of uploading can take some time, depending on your build size and connection speed. After successful upload script should exit with a message like [UPLOADER] Upload successfully finished!
.
In case of any problems, you can try reading help for build uploader like below or contact us at [email protected].
python D:\gameswift-build-uploader\src\build_uploader.py -h