summaryrefslogtreecommitdiffstats
path: root/games/jfsw_registered_data/extract-shadow-warrior.sh
diff options
context:
space:
mode:
author B. Watson2021-10-31 18:57:48 +0100
committer Willy Sudiarto Raharjo2021-12-04 04:08:52 +0100
commit593104a258cb61c1a4c4f09ce22f5769f692defd (patch)
tree6d998dcc47a9284e6d8063bca62d767b97fd386f /games/jfsw_registered_data/extract-shadow-warrior.sh
parent917ade9beae874120745ed5ed80acd89d38e3e96 (diff)
downloadslackbuilds-593104a258cb61c1a4c4f09ce22f5769f692defd.tar.gz
games/jfsw_registered_data: Add ogg quality option.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/jfsw_registered_data/extract-shadow-warrior.sh')
-rw-r--r--games/jfsw_registered_data/extract-shadow-warrior.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/jfsw_registered_data/extract-shadow-warrior.sh b/games/jfsw_registered_data/extract-shadow-warrior.sh
index 40d161fe84..2dc2b4e667 100644
--- a/games/jfsw_registered_data/extract-shadow-warrior.sh
+++ b/games/jfsw_registered_data/extract-shadow-warrior.sh
@@ -66,6 +66,6 @@ for cue_out in tmpcue??.cue; do
rm -f track??.wav
binfile="$( head -1 "$cue_out" | cut -d\" -f2 )"
bchunk -w "$binfile" "$cue_out" track
- [ -e track??.wav ] && oggenc -q 7 track??.wav && rm -f track??.wav
+ [ -e track??.wav ] && oggenc -q ${OGGQUAL:-7} track??.wav && rm -f track??.wav
rm -f $cue_out
done