Difference between revisions of "Nif Optimization"

Jump to navigation Jump to search
318 bytes added ,  14:38, 14 January 2008
added note about redirecting the output of the script to a file
imported>Amorilia
(→‎Running the Script: added note that also subfolders are recursively processed)
imported>Amorilia
(added note about redirecting the output of the script to a file)
Line 62: Line 62:
*Next, type
*Next, type
  python.exe Scripts\nifoptimize.py C:\nifoptimize
  python.exe Scripts\nifoptimize.py C:\nifoptimize
followed by enter, to run the nifoptimize.py script, which will process all nif files in the folder <tt>C:\nifoptimize</tt> '''including the nifs in all subfolders, subsubfolders, ...'''
followed by enter, to run the nifoptimize.py script, which will process all nif files in the folder <tt>C:\nifoptimize</tt> '''including the nifs in all subfolders, subsubfolders, ...''' If you optimize a lot of nif files at the same time, it may be useful to store the output in a file instead of having to browse through the console. You can do this using the following command:
python.exe Scripts\nifoptimize.py C:\nifoptimize > C:\log.txt
which will store all output in the file <tt>C:\log.txt</tt>.
*If everything works like it should, you should get a warning and a confirmation prompt. Write the letter Y and hit return. Now the program will work it's way through all the nifs in the folder.
*If everything works like it should, you should get a warning and a confirmation prompt. Write the letter Y and hit return. Now the program will work it's way through all the nifs in the folder.
*If the script comes across a nif it doesn't understand it will display an error, but it should continue working. The problematic nif should be left untouched, but be sure to check with NifSkope, just to avoid any risk of using a corrupted nif.
*If the script comes across a nif it doesn't understand it will display an error, but it should continue working. The problematic nif should be left untouched, but be sure to check with NifSkope, just to avoid any risk of using a corrupted nif.
Anonymous user

Navigation menu