/TermuxDepotDownloader

a script to install PRoot and DepotDownloader

Primary LanguageShell

Install Termux from Github or F-Droid to replace outdated Google Play Store version

Download and run a script for Termux.

curl -LO "https://raw.githubusercontent.com/TheKingFireS/TermuxDepotDownloader/main/installproot.sh"
chmod +x installproot.sh
./installproot.sh

If you get error during ./installproot.sh (Use termux-change-repo for...)

Run that command termux-change-repo

Press enter for select "Mirror group".

Press arrow keys and press spacebar for select continent that you're currently living in.

Try again run ./installproot.sh

Login into the PRoot Debian, downloading and running the DepotDownloader

proot-distro login debian

Now, downloading and running the DepotDownloader script.

curl -LO "https://raw.githubusercontent.com/TheKingFireS/TermuxDepotDownloader/main/installdepotdownloader.sh"
chmod +x installdepotdownloader.sh
./installdepotdownloader.sh

Using of DepotDownloader

Now, enter the depotdownloader directory by run that command

cd depotdownloader

Exemple: ./DepotDownloader -username user -password 1234 -remember-password -app 220 -depot 221 -dir HL2 -validate

(Note) Special characters need quote in password, e.g: -password 'wowap@$$word!!'

(Optional) -remember-password is like "Remember me" feature, you can use your account in next session without having to accept notification from your Steam Guard. Also keep that argument line in next session.

(Must do) -app 220 is a specifying AppID of Half-Life 2 game.

(Optional) -depot 221 is a specifying DepotID of Half-Life 2 Base.

For more info, look up app in steamdb.info.

(Optional) -dir HL2 is where directory to download.

(Must do) -validate is include checksum verification of files already downloaded.

DepotDownloader: Downloading game (remove <>)

./DepotDownloader -username <Steam Username> -password <Steam Password> -remember-password -app APPID -depot DEPOTID -dir FOLDERNAME -validate

Workaround for errors:

If you have that error Error: -app not specified!, then run this command instead.

./DepotDownloader -app APPID -depot DEPOTID -dir FOLDERNAME -validate -username <Steam Username> -password <Steam Password> -remember-password

For some reason, Termux on some devices has issue reading ability

Please post issue if you find another error.

Opening PRoot directory using Android file manager.

Android file manager is notorious for slowest copying when it come to heavy folders. You must compress folder.

To compress folder. You can change file name, but don't change file extension(.tar.gz)!

You must replace <Folders> name with something else you named it in -dir ...... (remove <> and -dir)

tar czvf AnyNames.tar.gz <Folders>

(Optional): remove unnecessary folders to free up storage space.

rm -rfv folder/ folder2/ folder3/ file file2

To open Android file manager

Marc apps & software's Files: https://play.google.com/store/apps/details?id=com.marc.files

click hamburger or 3 horizontal lines icon

click Termux with Termux icon

You should see folder named droot

To extracting .tar.gz file

You have to use ZArchiver to able extract these specific type of archive.