]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/compress-texture
do not truncate dds files :(
[xonotic/xonotic.git] / 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