]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
demopacker fixes
authorRudolf Polzer <divverent@xonotic.org>
Wed, 19 Sep 2012 13:37:56 +0000 (15:37 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 19 Sep 2012 13:37:56 +0000 (15:37 +0200)
misc/tools/demopacker.sh

index 78e79494ce6fae21582703bd787ebfa81cc9889c..00c5d1444282f7f77b8b9b8c84140aab1705edee 100755 (executable)
@@ -37,9 +37,10 @@ while [ -n "$allfiles" ]; do
                [ -f "$f" ] || continue
                fn=${f#*/*/}
                case "$f" in
-                       */csprogs.dat)
-                               # spam, skip it
-                               ;;
+# BUG: DP cannot read the csprogs.dat from the demo in readonly mode, so we have to keep this one for now
+#                      */csprogs.dat)
+#                              # spam, skip it
+#                              ;;
                        */unifont-*.ttf)
                                # spam, skip it
                                ;;
@@ -78,7 +79,7 @@ cd output
 find . -type f -print0 | xargs -0 ../misc/tools/cached-converter.sh
 cd ..
 mv data/"$demobase" output/
-echo "-xonotic -nohome -readonly -forceqmenu +bind ESC quit $* -demo $demobase" > output/darkplaces.opt
+echo "-xonotic -nohome -readonly -forceqmenu +bind ESCAPE quit $* -demo $demobase" > output/darkplaces.opt
 rm output.pk3
 ( cd output && zip -9r ../output.pk3 . )
 cp "$xonotic" output.exe