varenne Posted August 27, 2014 Share Posted August 27, 2014 ...an Oblivion NIF file? Â While running some existing NIFs through gerra6's tools one issue I ran into is having to select both genders to actually get it to run and output, without an abrupt abend. Â I'm looking to see if I can edit the originating NIF gender data so I can then run these more smoothly en masse as a logical group. Link to comment
movomo Posted August 27, 2014 Share Posted August 27, 2014 Gender info is derived from several factors: 1.1. File path(usually same as file name) includes "female". 1.2. Same as above, but attempts to search "_f.nif" If the nif meets above conditions, it is considered to be a female nif. 2. Or if this attempt fails, it tries to find "female" or "male" in the texture paths (every texture paths in the given nif), for example footfemale.dds would satisfy the female condition. So, if one of the nigeometries has any texture that is shared with any female-like thing, it could misjudge the gender. Link to comment
varenne Posted August 27, 2014 Author Share Posted August 27, 2014 Yeah, I think it's a topic to bring up with gerra6 when he returns. That and I need to be quick and capture a screen of it just before it abends, as it is not captured in the log file. Link to comment
movomo Posted August 27, 2014 Share Posted August 27, 2014 Actually, I think modifying the getgender method itself is the best way for you at the moment. You could force it to always return a fixed gender value - assuming you don't make any sense of python codes, I mean, because if you know python what's the problem? it is located at python\app\lib\kg\file_util.py and under the class "load_nif". Link to comment
varenne Posted August 28, 2014 Author Share Posted August 28, 2014 Yeah, I kind of thought it better to fix broken NIFs than muck with Python code... Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.