Skip to content

Latest commit

 

History

History
124 lines (83 loc) · 5.19 KB

README.md

File metadata and controls

124 lines (83 loc) · 5.19 KB

Scripts

Various helper scripts and stuff. Pretty much Windows only.

📂 Account management

made in PowerShell 5.1.19041.1320

Just another Steam account manager.

Quickly log into Steam accounts thanks to user credentials stored on your local PC. If there is no valid token, the associated user must log in manually with "Remember Password" enabled.

To add a new account, select "Add" in GUI mode or run login_steam newUsername. Do not log out of Steam by clicking "Change User…", as this will discard the current user's credentials.

usage description
login_steam -Install (recommended) create a desktop shortcut to start in GUI mode
login_steam list all users
login_steam rushiasimp69
[-SteamParameters '-applaunch 220']
log in as rushiasimp69
[and launch Half-Life 2]
login_steam -Gui open poor man's GUI to select stuff
login_steam -Update update script to latest version

📂 Browser scripts

requires Tampermonkey browser extension

An osu! web extension. Right now, this just lets you sort beatmap leaderboards and ranking page tables by clicking on table headers.

Click here to install.

📂 Coding related

🖥️ 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+


📂 Disk Space Management

made in PowerShell 5.1.19041.1320

List installed Steam apps and total disk usage.

-Full shows a lot more Steam metadata.


📂 File Conversion

🖼️ 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...


📂 Packaging/Upload

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"