for A in linux-ids.txt id,cat.csv id,comm_tags_cancel.csv inst-ids-linux.txt; do [ -e $A ] || touch $A done if false; then ln steamwine.desktop ~/.local/share/applications/ xdg-mime default steamwine.desktop x-scheme-handler/steamwine fi if [ "$1" = "-u" ]; then ./get-games-xml.sh fi < mysteamgauge.csv ./mysteamgauge-to-csv.sh | sort -n > id,genre.csv < mysteamgauge.csv ./mysteamgauge-to-dev.sh | sort -n > id,dev.csv ./parse-games-xml.pl < games.xml > games.txt ./get-logos.sh < games.txt | sh ./get-headers.sh < games.txt | sh ./get-appdetails.sh < games.txt | sh ./get-storepages.sh < games.txt | sh # TODO auto-convert steam categories to id,cat.csv #./games-to-csv.pl < games.txt | shuf > games.csv if [ -s linux-localconfig.vdf -a -r linux-localconfig.vdf ]; then ./localconfig-to-ids.sh < linux-localconfig.vdf > inst-ids-linux.txt else echo "cannot read linux-localconfig.vdf" fi if [ -s windows-localconfig.vdf -a -r windows-localconfig.vdf ]; then ./localconfig-to-ids.sh < windows-localconfig.vdf > inst-ids-windows.txt else echo "cannot read windows-localconfig.vdf" fi cat inst-ids-linux.txt inst-ids-windows.txt > inst-ids.txt ./storepages-to-tags.sh > id,comm_tags.csv ./appdetails-to-info.pl > appdetails.csv ./games-to-csv.pl < games.txt > games.csv < inst-ids.txt sort | uniq -c | grep '^ *2' | awk '{print $2}' > inst-ids-both.txt while read A; do grep "^$A," games.csv; done < inst-ids-both.txt > games-both.csv #./make-html-1.pl < games.csv > games-1.html ./make-html-2.pl < games.csv > games-2.html ( set -a ST_include_my_tags=1 ST_main_link_type="store" ST_title="Steam Games" secondary_games_files="games-spare.csv games-spare-2.csv games-spare-2020.csv" ./filter-games-by-id games.csv $secondary_games_files if [ -e games-spare.csv ]; then ./make-html-2.pl < games-spare.csv > games-spare.html ./make-html-2.pl < games-spare-2.csv > games-spare-2.html cat games-spare.csv games-spare-2.csv > games-spare-all.csv ./make-html-2.pl < games-spare-all.csv > games-spare-all.html ./make-html-2.pl < games-spare-2020.csv > games-spare-2020.html fi ) # Faster Than Light is excluded from family games because it doesn't support independent profiles / games, it does steam cloud sync < games.csv grep -w inst | perl -ne 'print if !/horror|nudity|zombie|violen|POSTAL|half-life|natural selection|binding of isaac|grand theft auto|br.tal legend|depress|suicide|Faster Than Light/i || /plants vs. zombies/i || /five nights at freddy/i' > games-family.csv ./make-html-2.pl < games-family.csv > games-family.html ./mytags-update.sh