From 0a4c17e3c8d11f95c77b494d9b0c202fc3b9c476 Mon Sep 17 00:00:00 2001 From: Andrew Prosnik Date: Sun, 5 Jul 2009 03:02:23 +0000 Subject: [PATCH] TTI fixed the 7-zip paths being wrong in the qvm pk3, also gave us neat datestamp on the filename! --- reaction/make-qvm.bat | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/reaction/make-qvm.bat b/reaction/make-qvm.bat index a1d9c597..08e1752e 100644 --- a/reaction/make-qvm.bat +++ b/reaction/make-qvm.bat @@ -126,16 +126,17 @@ REM *** The pk3 is named like it is so it is always loaded last for testing. echo. echo *** Remove any old pk3 and create a new one... echo. -set zipname=%make-qvm-location%bin\qvm\zzzz-code-.pk3 +set zipname=%make-qvm-location%bin\qvm\zzzz-code-*.pk3 del "%zipname%" +set zipname=%make-qvm-location%bin\qvm\zzzz-code-%date:~-4,4%%date:~-7,2%%date:~-10,2%.pk3 cd "%make-qvm-location%bin\qvm" copy /y "%make-qvm-location%uifiles\*.menu" "%make-qvm-location%bin\qvm\ui" copy /y "%make-qvm-location%uifiles\menus.txt" "%make-qvm-location%bin\qvm\ui" copy /y "%make-qvm-location%uifiles\ingame.txt" "%make-qvm-location%bin\qvm\ui" -"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\vm\*.qvm" -"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\ui\*.menu" -"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\ui\menus.txt" -"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\ui\ingame.txt" +"%zipper%" a -tzip "%zipname%" vm\*.qvm +"%zipper%" a -tzip "%zipname%" ui\*.menu +"%zipper%" a -tzip "%zipname%" ui\menus.txt +"%zipper%" a -tzip "%zipname%" ui\ingame.txt :END echo.