diff options
| author | 2023-07-15 01:16:04 -0400 | |
|---|---|---|
| committer | 2023-07-15 01:16:04 -0400 | |
| commit | f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd (patch) | |
| tree | e9660e27896c00d7a6d57123c172b8574e1e07b6 /attic | |
| parent | aec7b72a146f489ec1947b4915b9ade6bfc19340 (diff) | |
| download | mauri-f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd.tar.gz mauri-f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd.tar.bz2 mauri-f1a9751af6cc6aa0bac91e7f28fc43b1a4cb64fd.zip | |
cleanup, finalize notes, add README.md
Diffstat (limited to 'attic')
| -rwxr-xr-x | attic/line_count.sh | 2 | ||||
| -rwxr-xr-x | attic/random.sh | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/attic/line_count.sh b/attic/line_count.sh new file mode 100755 index 0000000..dbc74af --- /dev/null +++ b/attic/line_count.sh @@ -0,0 +1,2 @@ +#!/bin/sh +find ./src -type f | xargs wc -l diff --git a/attic/random.sh b/attic/random.sh new file mode 100755 index 0000000..f6cb285 --- /dev/null +++ b/attic/random.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +BUILD_DIR=build-release2 +WALLPAPERS_PATH=workshop_wallpapers_3-12-23 + +export mesa_glthread=true + +if [[ $1 == "audio" ]] +then + while : ; do + DIR=$(find $WALLPAPERS_PATH -maxdepth 1 -type d | shuf -n 1) + RES=$(cat $DIR/project.json | jq '.["general"]["supportsaudioprocessing"]') + [[ "$RES" == 'null' || "$RES" == 'false' ]] || break + done +elif [[ $1 == "safe" ]] +then + while : ; do + DIR=$(find $WALLPAPERS_PATH -maxdepth 1 -type d | shuf -n 1) + RES=$(cat $DIR/project.json | jq '.["contentrating"]') + [[ "$RES" == 'null' || "$RES" != '"Everyone"' ]] || break + done +else + DIR=$(find $WALLPAPERS_PATH -maxdepth 1 -type d | shuf -n 1) +fi + +echo $DIR + +cd $BUILD_DIR +./mauri ../$DIR/scene.pkg +cd .. |