This repository updates MTA:SA Windows x64 server binaries.
The updater script does the following:
- Reads the nightly MTA build index from
https://nightly.multitheftauto.com/. - Finds the newest matching
mtasa_x64-{VERSION}*.exebuild. - Downloads the installer.
- Extracts files with 7-Zip.
- Copies
MTA Server64.exeandx64/content intoupdater/binaries/. - Removes temporary download/extraction files.
The target version is controlled in updater/update_server_win64.py:
VERSION = "1.6"(or change to"1.7")
- Python 3.10+
- 7-Zip available for your OS:
- Windows:
updater/vendor/7z.exe - Linux:
7zcommand fromp7zip-full
- Windows:
- Python packages:
requestsbeautifulsoup4
From repository root:
pip install requests beautifulsoup4From repository root:
python updater/update_server_win64.pyOr on Windows:
updater\update_server_win64.batAfter a successful run, updated files are written to:
updater/binaries/MTA Server64.exeupdater/binaries/x64/
Workflow file:
.github/workflows/update-mta-binaries.yml
Current trigger mode:
- manual only (
workflow_dispatch) - scheduled trigger is intentionally left commented in the workflow
Create this secret in your GitHub repository settings:
PAT_TOKEN: Personal Access Token used bypeter-evans/create-pull-request
Recommended token scopes (fine-grained or classic equivalent):
- repository contents: read/write
- pull requests: read/write
GITHUB_TOKEN is provided automatically by GitHub Actions for checkout/commit operations.
- Open your repository on GitHub.
- Go to
Actions. - Select
Update MTA SA Server Binaries. - Click
Run workflow.
If binary changes are detected, the workflow commits updates and opens/updates a pull request.
If you want automatic daily runs again, uncomment in .github/workflows/update-mta-binaries.yml:
on:
workflow_dispatch:
schedule:
- cron: "0 6 * * *"This example runs every day at 06:00 UTC.
- Keep binary updates in a dedicated PR branch (already configured by workflow).
- If the nightly site structure changes, you may need to adjust matching logic in
fetch_exe_url(). - If extraction fails on Linux runners, ensure
p7zip-fullis installed.