From 26163520ef19d3083eef04ef7cfc71c5429f2c00 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 27 Apr 2009 06:07:00 +0000 Subject: [PATCH] Fix from ynjh_jo: eggcacher step is now optional --- direct/src/directscripts/packpanda.nsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/direct/src/directscripts/packpanda.nsi b/direct/src/directscripts/packpanda.nsi index cb426cd14c..4f424c46e1 100755 --- a/direct/src/directscripts/packpanda.nsi +++ b/direct/src/directscripts/packpanda.nsi @@ -163,6 +163,9 @@ Section "${SMDIRECTORY}" SecCore File /r /x CVS "${PANDA}\models\*" SetOutPath $INSTDIR\samples File /r /x CVS "${PSOURCE}\samples\*" + MessageBox MB_YESNO|MB_ICONQUESTION \ + "EGG caching is about to begin.$\nThis process may take a couple minute and approximately 270 MB of RAM.$\nWARNING : It might stuck if your computer resources are low.$\n$\nDo you really want to do this optional step ?" \ + IDNO SkipCaching # Preload all EGG files into the model-cache SetOutPath $INSTDIR SetDetailsPrint both @@ -170,6 +173,7 @@ Section "${SMDIRECTORY}" SecCore nsExec::ExecToLog '"$INSTDIR\bin\eggcacher.exe" --concise models samples' SetDetailsPrint none SetDetailsView hide + SkipCaching: SetOutPath $INSTDIR WriteINIStr $INSTDIR\Website.url "InternetShortcut" "URL" "http://panda3d.etc.cmu.edu/"