Various helper scripts and stuff. Pretty much Windows only.
made in PowerShell 5.1.19041.1320
Just another Steam account manager.
Quickly log into Steam accounts by prompting Steam to attempt an auto-login for the desired user, which uses Steam's own cached credential tokens on your local PC. If the script can't find a valid token for a given username, you have to log in manually with "Remember Password" enabled.
To add a new account select the "Add" option in GUI mode or run login_steam newUsername
.
Avoid logging out of Steam by clicking "Change User..." because this will make Steam ditch the saved credentials for that account, requiring you to manually log in again in the future.
usage | description |
---|---|
login_steam -Install |
(recommended) create a desktop shortcut to start in GUI mode |
login_steam |
list all users |
login_steam rushiasimp69 |
log in as rushiasimp69 |
login_steam -Gui |
open poor man's GUI to select stuff |
login_steam -Update |
update script to latest version |
🖥️ checkdef.cs
requires Microsoft's C/C++ compiler (cl.exe) at runtime.
Lookup the value of preprocessor defines. Can't execute macros (for now..?).
Compile with a C# 7.0 compiler: csc echoo.cs -optimize+
🖥️ echoo.cs
Merely echoes all passed arguments and standard input. For debugging/troubleshooting.
Use it by piping program output into it, like so: dir | echoo
Compile with a C# 7.0 compiler: csc echoo.cs -optimize+
made in PowerShell 5.1.19041.1320
List installed Steam apps and total disk usage.
-Full
shows a lot more Steam metadata.
🖼️ webp2gif.bat
requires ffmpeg and libwebp at runtime.
Convert WebP to GIF with ffmpeg. Relevant FFmpeg settings can be changed in the code:
call :make_gif "!fileName!" (...) <-- you can change those
requires donMerloni/gifski (Fork) and libwebp at runtime.
Convert WebP to high-quality (and huge!) GIF.
🖼️ webp2mp4.bat
requires ffmpeg and libwebp at runtime.
Convert WebP to MP4. Compact and good quality... but apparently not suited for having looping video in WPF, which is why I wrote 3 different webp scripts...
requires MEGAcmd, 7z and 7z LZMA SDK at runtime.
Zip a directory, upload it to MEGA and then move it locally.
usage | description |
---|---|
deploy_MEGA {dir} {name} {megaDir} {localDir} |
zip {dir} to {name}.zip, upload to {megaDir}, move to {localDir} |
deploy_MEGA "C:\MyProject\bin\Release" MyProject-Release "/Uploaded Packages" "D:\Local Packages"