;; Persistence Of Vision Raytracer version 3.7 sample INI file.
;; ZIPFLI.INI
;;
;; Assuming Input_File=myfile.pov
;;  this INI creates a myfile.zip to hold all output files
;;  and then creates myfile.fli from it.
;;
;; Requires pkzip.exe to zip/unzip
;; Requires dta.exe to create fli
;; Requires exists.exe which is included in POV-Ray distribution.
;; If exists.exe is not available, comment out both Pre_Scene_... lines.
;;

Pre_Scene_Command=exists %s.fli     ;;If myfile.fli already exists
Pre_Scene_Return=-q                 ;;  skip entire scene
Pre_Frame_Command=pkzip -vb %s %o   ;;Test if myfile.tga in myfile.zip
Pre_Frame_Return=-s                 ;;  if no error, skip this frame
Post_Frame_Command=pkzip -mu %s %o  ;;Move myfile.tga to myfile.zip
                                    ;;  This removes tga from disk
Post_Frame_Return=f                 ;;If error, crash
;;
;; There is an unsolved problem when running dta directly.
;; Preliminary results show that calling it via command.com fixes
;; the problem but as yet, we don't know why.
;;
Post_Scene_Command=command /C dta /o%s.fli /R1 %s.zip  ;;make myfile.fli
Post_Scene_Return=f                 ;;If error, crash
Pause_When_Done=Off
Continue_Trace=On                ;;Lets you resume
Test_Abort=On                    ;;Lets you interrupt
