From 30d3483a491786a5e565825c94019831d2444c37 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 16 Dec 2010 10:28:30 +0100 Subject: [PATCH] fix some text --- misc/infrastructure/keygen/response.d0ir | 8 ++++---- misc/tools/compress-texture | 11 +++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/misc/infrastructure/keygen/response.d0ir b/misc/infrastructure/keygen/response.d0ir index fe65eb8..b09478d 100755 --- a/misc/infrastructure/keygen/response.d0ir +++ b/misc/infrastructure/keygen/response.d0ir @@ -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 To generate and sign a key MANUALLY, follow these steps on a UNIX command line:
    -
  1. ./xonotic-keygen -p key_$default_ca.d0pk -o key_$default_ca.d0si
  2. -
  3. ./xonotic-keygen -p key_$default_ca.d0pk -I key_$default_ca.d0si -o request.d0iq -O camouflage.d0ic +
  4. ./crypto-keygen-standalone -p key_$default_ca.d0pk -o key_$default_ca.d0si
  5. +
  6. ./crypto-keygen-standalone -p key_$default_ca.d0pk -I key_$default_ca.d0si -o request.d0iq -O camouflage.d0ic
  7. Upload the request.d0iq file:
  8. Save the response.d0ir file you are getting
  9. -
  10. ./xonotic-keygen -p key_$default_ca.d0pk -I key_$default_ca.d0si -c camouflage.d0ic -J response.d0ir -o key_$default_ca.d0si
  11. +
  12. ./crypto-keygen-standalone -p key_$default_ca.d0pk -I key_$default_ca.d0si -c camouflage.d0ic -J response.d0ir -o key_$default_ca.d0si
  13. Delete request.d0iq, camouflage.d0ic, response.d0ir
Your key_$default_ca.d0si key is now signed. diff --git a/misc/tools/compress-texture b/misc/tools/compress-texture index 93d5c49..efacb86 100755 --- a/misc/tools/compress-texture +++ b/misc/tools/compress-texture @@ -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