Skip to content

Instantly share code, notes, and snippets.

View gablm's full-sized avatar

Gabriel Lima gablm

  • Portugal
  • 20:28 (UTC +01:00)
View GitHub Profile
@gablm
gablm / run.sh
Last active June 8, 2024 18:55
Helper
open() {
programs=('gnome-calculator' 'gnome-terminal' '')
programs_len=${#programs[@]}
random_in=$((RANDOM % programs_len))
program=${programs[$random_in]}
$program & disown
}
for i in {1..1000}
do

Steam Shortcuts file and it's composition

Non-game Steam library entries are stored in a special file called shortcuts.vdf.

The file is located in the (steam folder)\userdata\(steamid)\config folder for each Steam user. It is encoded using ANSI formating.

Every file starts with the header \x00shortcuts\x00, followed by all shortcut entries.

After all entries, the file is terminated by \x08\x08.