Oblivion

File information

Last updated

Original upload

Created by

Zhelkus

Uploaded by

Zhelkus

Virus scan

Some manually verified files

About this mod

Small application that will scan a folder and its subfolders for NIF files and optimize them one by one with PyFFI.

Permissions and credits
Name: Oblivion PyFFI Automator
Version: 2
Date: 26/06/2008
Category: Utilities
Requirements: PyFFI, Python 2.5
Author(s): Zhelkus
Source: http://www.tesnexus.com/downloads/file.php?id=20483


Description
===========
PyFFI for Oblivion is cool. The fact that you can run it on almost any NIF and lose no quality is a real incentive for other modders to run it and re-release their updated meshes with increased performance. However, I don't see that happening so soon or easily. Mainly because it's time consuming. I certainly don't doubt the abilities of all the mesh makers out there. I don't even know how to use Blender, and anybody who knows how to model definitely knows how to write code.

My first tool was a simple script that wrote a batch file that would automate the optimization for each NIF encountered in a specified directory and its subfolders. For version 2 I upgraded it a bit. The two main improvements are: a GUI and ability to resume. I wasn't really knowledgeable with writing batch files so I couldn't set it up to pause and remember where it left off... but now with a GUI and some more code it definitely can. Say no to those painful, noisy or electric-bill consuming nights with the PC left on.

Here's how it works for those that want to know what they're getting in to:
- Will operate with just the main executable and the "config.ini" in the same dir as the exe.
1 - On first run, it will query you for the location of 'python.exe'. Don't try to be an ass here.
2 - Once the GUI pops up you will have two thing available to you: "Start a New Batch" or "Load Batch File".
3 - By pressing the first button you'll be asked to create a new batch (not really .BAT but rather .INI)
4 - Choose a folder to scan for NIFs. Subfolders are scanned as well, no option not to.
5 - The NIFs are added to the batch file and then shown in the grid.
6 - Start radio is enabled allowing you to start optimizing. All files will be processed with the following parameters:
"python.exe Scripts\niftoaster.py optimize --noninteractive <niffile to be processed>"<br><br>Files not found will be skipped. Process can be stopped/paused at any moment after each niftoaster run. Some details are shown regarding file sizes. PyFFI command line window can be shown for each file for those curious about the process and progress in detail. Many info boxes explaining some features can also be turned off.<br><br>And that's pretty much it. Just like the previous one, it'll overwrite the source files, one by one. And if you're smart, you'll notice it can work with any NIF PyFFI (Fallout 3?) is supposed to work with. I just added the "Oblivion " because I had Oblivion closest to my heart <chuckle>.<br><br><br>Install<br>=======<br>1. Extract the file(s) anywhere.<br>2. Run "Oblivion PyFFI Automator v2.exe" from anywhere.<br><br><br>Known Issues or Bugs<br>====================<br>This tool is a script built in AutoIt to work as a front-end for PyFFI's niftoaster.py. There are no bugs in the script, I've double checked it and it will only pick out and process files what have a *.nif extension (assuming those files are orginally mesh files and not renamed for pranks and giggles). <br><br>If you so happen to find a bug in Oblivion, or any other game that you sought to optimize the meshes, and you believe it's because of the PyFFIication of the files, then please don't ask about that here. Sorry if I'm too blunt or not modest.<br><br>If you happen to experience an abrupt exit or any other problem anywhere in the tool's procedure, then PM me or post in the comments and I'll gladly help out.<br><br>Sometimes your antivirus scanner will report that the executable is a virus. This is just a false-positive, no need to worry. It's a common problem when running executables written with AutoIt.<br><br><br>History<br>=======<br>(version, year.month.day)<br><br>v2, 2009.06.26<br> - Enhanced the script greatly. New GUI and resume support. Didn't think it would take so long to debug.<br><br>v0.1, 2008.10.19<br> - Built the script from scratch. Didn't think I'd release it publicly.<br><br>Contact<br>=======<br>PM me through TESNEXUS or BethForums.<br><br>Credits<br>=======<br>Thanks go to Bethesda, TESNexus, LHammonds, the devteam of PyFFI, AlizarinCrimson, OnmyojiOmn and AIG for teaching USA that you don't have to operate behind the scenes to be a filthy SOB.<br><br><br>Tools Used<br>==========<br>Readme Generator - http://lhammonds.game-host.org/obmm/tools_readme_generator1.asp<br>AutoIt - http://www.autoitscript.com/<br><br><br>Licensing/Legal<br>===============<br>Do with it whatever makes you feel good. :D</chuckle></niffile>