Raised This Month: $12 Target: $400
 3% 

Fastdl Updater [Python]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
butare
Senior Member
Join Date: Nov 2016
Old 03-01-2020 , 00:36   Fastdl Updater [Python]
Reply With Quote #1

Fastdl Updater

Simple python script to update and maintain fastdl folder for games such as CS:GO.

What it can do:
  • Add and compress to bz2 format (Only if the file is smaller then 150mb) files from your game root directory to fastdl directory;
  • Remove files from fastdl if they aren't in your game root directory anymore (Will also delete empty folders that are left on fastdl);
  • Update files that were changed in game root directory and don't match to fastdl ones (Only when full argument is specified);
  • Will look only for required files in game root directory (For example only .bsp and .nav files in maps/ folder).

Requirements:
  • python 3.4.2+ (Was tested only on that version!).

Usage:

Edit gameRootFolder and fastdlRootFolder variables in fastdl.py to point directly into game root folder and fastdl folder respectivly, relative to fastdl.py script (Use only / as a separator!). Then run fastdl.py script, and it should start updating your fastdl folder. You can also run script with full as a parameter, like python3 fastdl.py full, and that will update all files that don't match with root game directory (That may take a while if you have a lot of big files in your root game directory, this is why it was made as an optional thing).

DOWNLOAD
butare is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode