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

Output_to_File=On
Pre_Scene_Command=exists %s.flc     ;;If myfile.flc 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.flc /R%w,%h %s.zip  ;;make myfile.flc
Post_Scene_Return=f                 ;;If error, crash
Pause_When_Done=Off
Continue_Trace=On                ;;Lets you resume
Test_Abort=On                    ;;Lets you interrupt