Difference between revisions of "Nif Optimization"

71 bytes added ,  15:20, 14 January 2008
→‎Running the Script: added note that also subfolders are recursively processed
imported>Amorilia
(→‎Command Line Options: added the most important ones)
imported>Amorilia
(→‎Running the Script: added note that also subfolders are recursively processed)
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 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, ...'''
*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