]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
fix some text
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 16 Dec 2010 09:28:30 +0000 (10:28 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 16 Dec 2010 09:28:30 +0000 (10:28 +0100)
misc/infrastructure/keygen/response.d0ir
misc/tools/compress-texture

index fe65eb8bc4e973d865b3dc40bd707d6238285493..b09478d78168a2d06e8ab028110807c22afd5903 100755 (executable)
@@ -162,7 +162,7 @@ if((my $key = $cgi->param('key')))
                        or die "cannot start crypto-keygen-standalone";
                my $err = <$errfh>;
                close $errfh
-                       or die "xonotic-keygen failed: $err";
+                       or die "crypto-keygen-standalone failed: $err";
                1;
        }
        or do
@@ -194,11 +194,11 @@ Content-type: text/html
        </ol>
        To generate and sign a key MANUALLY, follow these steps on a UNIX command line:
        <ol>
-               <li>./xonotic-keygen -p key_$default_ca.d0pk -o key_$default_ca.d0si</li>
-               <li>./xonotic-keygen -p key_$default_ca.d0pk -I key_$default_ca.d0si -o request.d0iq -O camouflage.d0ic
+               <li>./crypto-keygen-standalone -p key_$default_ca.d0pk -o key_$default_ca.d0si</li>
+               <li>./crypto-keygen-standalone -p key_$default_ca.d0pk -I key_$default_ca.d0si -o request.d0iq -O camouflage.d0ic
                <li>Upload the request.d0iq file: <input type="file" name="key"><input type="submit"></li>
                <li>Save the response.d0ir file you are getting</li>
-               <li>./xonotic-keygen -p key_$default_ca.d0pk -I key_$default_ca.d0si -c camouflage.d0ic -J response.d0ir -o key_$default_ca.d0si</li>
+               <li>./crypto-keygen-standalone -p key_$default_ca.d0pk -I key_$default_ca.d0si -c camouflage.d0ic -J response.d0ir -o key_$default_ca.d0si</li>
                <li>Delete request.d0iq, camouflage.d0ic, response.d0ir</li>
        </ol>
        Your key_$default_ca.d0si key is now signed.
index 93d5c49404b45a1a52d5c72ac071062a63618cd6..efacb863c21a4c11568bc90b96b8fbe172c33470 100755 (executable)
@@ -16,6 +16,17 @@ f=
 fourcchack=
 case "$tool" in
        compressonator-dxtc)
+               # we still have to preprocess the image to premultiply alpha, as it seems
+               case "$format" in
+                       dxt2)
+                               fourcchack=DXT2
+                               format=dxt2
+                               ;;
+                       dxt4)
+                               fourcchack=DXT4
+                               format=dxt4
+                               ;;
+               esac
                ;;
        *)
                case "$format" in