Search found 4 matches

by devnull
27 Sep 2017, 21:53
Forum: Content Development
Topic: Python script for removing NITextureEffects from nif files
Replies: 7
Views: 5349

Re: Python script for removing NITextureEffects from nif files

Hmm I'm not really familiar with IPython so I'm not sure if that's an exception that's coming from the script and that's just how it's presented. It seems odd that it would throw a file not found exception if it ran the script in the first place in your previous post. I'll try testing on windows ton...
by devnull
27 Sep 2017, 21:26
Forum: Content Development
Topic: Python script for removing NITextureEffects from nif files
Replies: 7
Views: 5349

Re: Python script for removing NITextureEffects from nif files

It looks like you're missing the dir argument, I believe you need to add an args parameter to runfile:

Code: Select all

runfile('C:/GOG Games/MW mods/Data folders/fix_nif.py', args='.', wdir='C:/GOG Games/MW mods/Data folders')
by devnull
25 Sep 2017, 17:51
Forum: Content Development
Topic: Python script for removing NITextureEffects from nif files
Replies: 7
Views: 5349

Re: Python script for removing NITextureEffects from nif files

Excellent. Let me know if you have any questions about using it. I didn't exactly document it very well, and I only tested it on Linux, so I'm not 100% sure if Windows style paths would have any impact on it's functionality. I'm also more than happy to take requests on any similar scripts / tools th...
by devnull
25 Sep 2017, 04:02
Forum: Content Development
Topic: Python script for removing NITextureEffects from nif files
Replies: 7
Views: 5349

Python script for removing NITextureEffects from nif files

Hey all, I'm new here, so I'm not really sure if this is the right place to post this. After reading the guide on converting Apel's various things here , I decided to try to make an automated script to do this. It uses python 3 and pyffi I've uploaded it as a gist for now here . Any feedback is welc...