Skip to content

Cross-platform utility for automatically downloading and installing Pre-Fortress 2

License

Notifications You must be signed in to change notification settings

Pre-Fortress-2/PF2Downloader

 
 

Repository files navigation

PF2Downloader

To end-users, this tool is the official installer and updater for Pre-Fortress 2.

To programmers, this is a thin and rough script that sits on top of Aria2 and Butler to provide reasonably-efficient updating without too much complication.

To other Sourcemods, this is a tool you can use for your project with only minor work, as the mechanism here is extremely agnostic and flexible.

Development

You must install dependencies by running the following command.

pip install -r requirements.txt

PyInstaller is used to build this into a single-file binary and a .spec configuration file is included. PyBabel can generate the localization files by configuring and running GeneratePOT.sh followed by GenerateMO.sh on both Windows and Linux using Bash Shell.

For convenience in building, the Binaries folder contains prebuilt and static versions of Aria2 and Butler for Windows and Linux.

We have provided CI/CD scripts in the .github folder for building and releasing the installer for both Windows and Linux. They can be customized with slight configuration.


Translation status

About

Cross-platform utility for automatically downloading and installing Pre-Fortress 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Shell 1.5%
  • Batchfile 0.1%