[RELZWIPZ]PyFFI: Python File Format Interface

Post » Tue May 08, 2012 3:05 pm

I nowadays always do a run of the oblivion_optimize.bat. I find it very convenient. Yes it takes a long time to finish the 3 passes, but what is even more annoying is to track down bugs/crashes afterwards when you suddenly discover that this or that mesh is broken/absent etc. My working principles with PyFFI is "safety first" and KISS. I even sacrifice the one mod slot for DLCShiveringIsle.esp... too much potential pain for too little tangible gain, IMHO. :)
User avatar
Sam Parker
 
Posts: 3358
Joined: Sat May 12, 2007 3:10 am

Post » Wed May 09, 2012 1:19 am

Good to know! I was under the impression that the reverse was true - that the Kit was newer than the internal process. That's what I get for not reading the documentation carefully.
It was when the kit was released, but then Amorilia incorporated the functions the kit was performing into a later version of PyFFI, making it obsolete. Ideally the kit's download entry should get removed to avoid this potential confusion later, but that's up to ulrim.
User avatar
+++CAZZY
 
Posts: 3403
Joined: Wed Sep 13, 2006 1:04 pm

Post » Tue May 08, 2012 9:43 pm

Just about to give this a whirl again on my meshes (last time was with 2.1.9 and the trail of making sure we had the best of the optimization scripts from H20dk and Arthmoor) ...

Had a good read of this thread (again) and believe the OP is quite out of date.

We now just need ..

Pyffi 2.1.10 (I just grabbed the .2c30444 version of the installer)
Python 2.6.6 (check me out having to install Python again :smile:)

and the bat file included with Pyffi now incorporates the most up to date processing of all Oblivion files ?

Edit: NVM, just had a read of what the bat file does, calls all three omptimize ini's in sequence .. Nice :) Good to go here.
User avatar
Sxc-Mary
 
Posts: 3536
Joined: Wed Aug 23, 2006 12:53 pm

Post » Tue May 08, 2012 2:32 pm

Is there any chance we`re going to see a standalone version that doesn`t require Python?
User avatar
victoria gillis
 
Posts: 3329
Joined: Wed Jan 10, 2007 7:50 pm

Post » Wed May 09, 2012 12:19 am

Is there any chance we`re going to see a standalone version that doesn`t require Python?
I think that is what NIFOpt is all about, a C++ version, haven't looked into it much really, and I dont know if the Oblivion Optimization ini's are part of it / work the same way.
User avatar
Prohibited
 
Posts: 3293
Joined: Tue Jun 12, 2007 6:13 am

Post » Tue May 08, 2012 11:59 pm

I was just thinking because Wrye Bash has a standalone version too and I`m very happy about that.
User avatar
Destinyscharm
 
Posts: 3404
Joined: Sun Jul 23, 2006 6:06 pm

Post » Tue May 08, 2012 11:00 pm

Pyffi 2.1.10 (I just grabbed the .2c30444 version of the installer)
Hmm, I'm sure I found a version 2.1.11 on the sourceforge site (not at my computer so can't check atm)
User avatar
Cathrin Hummel
 
Posts: 3399
Joined: Mon Apr 16, 2007 7:16 pm

Post » Wed May 09, 2012 12:46 am

Thought it migh be worth mentioning that amorilla seems to have mentioned that any further development is gonna be happening on the python 3 branch (PyFFI 2.2.0) I've been using it for a while now and can say that it does seem to give faster results (and no repeatable crashes using them yet so PyFFI probably hasn;t borked anything yet)
User avatar
Ashley Clifft
 
Posts: 3468
Joined: Thu Jul 26, 2007 5:56 am

Post » Wed May 09, 2012 4:19 am

That is the way I've done it before.

The problem is if I move those cave entrance meshes at all then the leading space gets truncated and will show as missing meshes in game. Whether I copy the out folder over the in folder and replace all or copy the in folder over the out folder and don't replace all (only move what was not optimized) then that means moving those files and truncating the names again.

If I extract the meshes bsa to the in folder and run as you describe then will those leading spaces be truncated in the out folder?

And about the _far nifs - is that part of the process now automatically or must I do that separately?

thanks
Tip for Psymon - BSAOpt can use either a BSA or a Folder as its source AND destination, and keeps leading spaces :smile:

Before packing them up in a BSA use BSAOpt to source your Pyffi Out\ folder, and Destination your Pyffi In\ folder = Overwrites the the In\ files with the Pyffied Out\ files.

I just did a run of two sets of originals yesterday, Oblivion - Meshes and DLCShiveringIsles - meshes, prior to doing that I made two appropriately named empty folders in the Pyffi In\ folder, used BSAOpt to extract the bsa's in to each folder, Pyffied (wait lots) .. BSAOpt to do the copy of Pyffied files over the In\ folder .. And lastly BSAOpt to source the now complete set of files in the In\ folders to a destination new BSA for each of the sets.

Hmm, I'm sure I found a version 2.1.11 on the sourceforge site (not at my computer so can't check atm)
Yep seen it and the 2.2.* versions, I decided to go with the latest Amorilia had notified us with here http://www.gamesas.com/topic/1172342-relzwipzpyffi-python-file-format-interface/page__view__findpost__p__18789013
I dont know if thats the latest Stable release, but Arthmoor has recommended it since that post which put the lid on the decision for me :smile:
User avatar
Cheville Thompson
 
Posts: 3404
Joined: Sun Mar 25, 2007 2:33 pm

Post » Wed May 09, 2012 3:14 am

I've been playing around with PyFFI 3K. It's niiiice - I just did the Meshes/Oblivion folder (86.7 MB) in 11 minutes. Some of that might be my new system (I just upgraded), but still - wow. It's also improved over 2.1.10; I tried out some meshes that I'd previously pyffied from Alive Waters - the folder was 4.03 before, and 3.92 after*. It still hogs 100% of your system resources, though... I wish they could fix that. :(

*Oops. Disregard that - I checked some other stuff, and there was no improvement, size-wise; it looks like I either did those with a really old version, or missed them entirely. Still, PyFFI 2.2 runs great, and it's very fast.
User avatar
Stace
 
Posts: 3455
Joined: Sun Jun 18, 2006 2:52 pm

Post » Tue May 08, 2012 9:00 pm

11 minutes? Now that's impressive. 2.1.10 still takes on the order of 2-3 hours for the entire vanilla mesh folder.

You also don't want them to "fix" it using your CPU at 100%. How do you think it got done in 11 minutes? :P
User avatar
MR.BIGG
 
Posts: 3373
Joined: Sat Sep 08, 2007 7:51 am

Post » Wed May 09, 2012 1:07 am

2.1.11 also gives some speed improvements over 2.1.10--mainly because the Python "garbage collection" step is skipped. (My understanding is that that step is only needed to free up system resources that are no longer needed by Python - it doesn't actually affect the final NIFs). Since Wrye Bash is only compatible with Python 2, I'll be sticking with it and 2.1.11 for the time being...
User avatar
Gaelle Courant
 
Posts: 3465
Joined: Fri Apr 06, 2007 11:06 pm

Post » Wed May 09, 2012 4:34 am

Python can have multiple installations in a machine. I have Python 3.2.2 for PyFFI and Python 2.7.2 for WB and everything works as intended :)

I've summarized PyFFI-3k's improvement in speed to around 25% faster than PyFFi's speed. Vanilla meshes took around 3 hours when it used to take 4.5 hrs with PyFFI 2.1.9
User avatar
Blackdrak
 
Posts: 3451
Joined: Thu May 17, 2007 11:40 pm

Post » Tue May 08, 2012 7:10 pm

Post limit.
User avatar
Gemma Flanagan
 
Posts: 3432
Joined: Sun Aug 13, 2006 6:34 pm

Previous

Return to IV - Oblivion