mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 11:24:56 +00:00
start X11 as compressonator needs it
This commit is contained in:
parent
d8d1cd7183
commit
3501f1c4f3
12
all
12
all
@ -1056,6 +1056,16 @@ case "$cmd" in
|
||||
"$SELF" release-buildpk3s data/xonotic-music.pk3dir normal '' raw '-raw' low '-low'
|
||||
"$SELF" release-buildpk3s data/xonotic-nexcompat.pk3dir low ''
|
||||
;;
|
||||
release-pack-needsx11)
|
||||
case "$DISPLAY" in
|
||||
'')
|
||||
startx "$SELF" release-pack -- :7
|
||||
;;
|
||||
*)
|
||||
"$SELF" release-pack
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
release)
|
||||
"$SELF" release-prepare
|
||||
"$SELF" release-maps &
|
||||
@ -1063,7 +1073,7 @@ case "$cmd" in
|
||||
"$SELF" release-finish &
|
||||
"$SELF" release-qc &
|
||||
wait
|
||||
"$SELF" release-pack
|
||||
"$SELF" release-pack-needsx11
|
||||
;;
|
||||
|
||||
*)
|
||||
|
@ -25,7 +25,7 @@ case "$tool" in
|
||||
dir_dos="C:/${dir##*/}"
|
||||
ext=${src##*.}
|
||||
cp "$src" "$dir/src.$ext"
|
||||
DISPLAY= wine "$HOME/.wine/drive_c/Program Files/AMD/The Compressonator 1.50/TheCompressonator.exe" -convert -mipmaps "$dir_dos/src.$ext" "$dir_dos/dst.dds" $c $f "$@" -mipper BoxFilter.dll
|
||||
wine "$HOME/.wine/drive_c/Program Files/AMD/The Compressonator 1.50/TheCompressonator.exe" -convert -mipmaps "$dir_dos/src.$ext" "$dir_dos/dst.dds" $c $f "$@" -mipper BoxFilter.dll
|
||||
mv "$dir/dst.dds" "$dst"
|
||||
rm -rf "$dir"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user