]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
do not truncate dds files :(
authorRudolf Polzer <divVerent@xonotic.org>
Fri, 17 Dec 2010 09:20:40 +0000 (10:20 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Fri, 17 Dec 2010 09:20:40 +0000 (10:20 +0100)
misc/tools/compress-texture

index efacb863c21a4c11568bc90b96b8fbe172c33470..1c488b09503ec7603a2fd7bb6fecdda6ee156608 100755 (executable)
@@ -88,6 +88,6 @@ esac
 
 if [ -n "$fourcchack" ]; then
        # use dd to hack in the right FOURCC
-       echo -n "$fourcchack" | dd of="$dst" bs=1 count=4 seek=84
+       echo -n "$fourcchack" | dd of="$dst" bs=1 count=4 seek=84 conv=notrunc
        rm -rf "$fourcchack_dir"
 fi