foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 Tried another set of meshes. Got the following error: Traceback (most recent call last): File "PythonPortable\App\Scripts\kgtools\mesh_rigger.py", line 355, in <module> Main() File "PythonPortable\App\Scripts\kgtools\mesh_rigger.py", line 346, in Main process_nif(base_file, bone_list, morph_nif = morph_nif) File "PythonPortable\App\Scripts\kgtools\mesh_rigger.py", line 188, in process_nif target_nif = load_nif(test_file, template = template_nif, settings = c_s, skeleton = skeleton, morph_nif = morph_nif, init_nif = True) File "C:\apps\Convert Clothing\PythonPortable\App\lib\site-packages\kg\file_util.py", line 568, in __init__ Error in sys.excepthook: Traceback (most recent call last): File "C:\apps\Convert Clothing\PythonPortable\App\lib\linecache.py", line 127, in updatecache lines = fp.readlines() File "C:\apps\Convert Clothing\PythonPortable\App\lib\codecs.py", line 300, in decode Original exception was: Traceback (most recent call last): File "PythonPortable\App\Scripts\kgtools\mesh_rigger.py", line 355, in <module> That at least is something, as before updating to .89g, mesh rigger was just bombing on the mesh with no indication as to why. Here's the nifs... My guess would be it's due to the fact that this mesh has a ton of bits in it. bondage.7z
gerra6 Posted October 23, 2014 Author Posted October 23, 2014 That's a very nasty error. Sounds like a corrupted nif. I'll see what I can see, once I finish testing some unrelated code.
myuhinny Posted October 23, 2014 Posted October 23, 2014 I added TBBP to the _0 bondage body and the body actually changed after it was done. It never crashed or threw out any error other then the body changing and all that I had selected was the BBP bones the nif went from 4,949 to 6,401. Before and after
foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 I added TBBP to the _0 bondage body and the body actually changed after it was done. It never crashed or threw out any error other then the body changing and all that I had selected was the BBP bones the nif went from 4,949 to 6,401. Before Bondage TBBP.jpgand after Bondage TBBP 2.jpg Are you using the portable version or 64 bit and the scripts?
myuhinny Posted October 23, 2014 Posted October 23, 2014 Oops I never looked at the thread I thought it was the mesh rigger thread. I used the newest version of the mesh rigger to add the TBBP haven't tried it in the clothing converter I still have the .85 build of that. Portable Package 0.85a (Recommended) is the one I'm using.
gerra6 Posted October 23, 2014 Author Posted October 23, 2014 The download links for Mesh Rigger and Clothing Converter on http://kgtools.org/actually download the same files. No need to grab both.
myuhinny Posted October 23, 2014 Posted October 23, 2014 I downloaded that the other day I just didn't let the clothing converter part overwrite anything. I tried the bondage_0 body in the clothing converter and got no errors and I converted it from whatever body size it is to UNP slim.
foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 So .85a is weighting the mesh it successfully? Do I understand that correctly?
myuhinny Posted October 23, 2014 Posted October 23, 2014 I ran it through the .85a build it converted without any problems or errors and no body/armor glitches. Not sure if it is weighting it correctly or not as I'm not sure how to look to see if it is weighted correctly. This is the one that I converted to UNP slim. cuirass_0.nif
Monsto Brukes Posted October 23, 2014 Posted October 23, 2014 I built a lattice with an earlier version, 89e. was running that lat with 89g and got this error: Saving G:\Games\Skyrim\Apps\kgtools\Tools RC_89_g_Light\Clothing Converter\outp ut\heartsong anklace_0.nif Save Complete Traceback (most recent call last): File "G:\Games\Skyrim\Apps\kgtools\Tools RC_89_g_Light\convert_clothing.py", l ine 335, in <module> input('\nWork done, press enter to close.') AttributeError: 'Logger' object has no attribute 'errors' Error in sys.excepthook: Traceback (most recent call last): File "G:\Games\Skyrim\Apps\kgtools\Tools RC_89_g_Light\convert_clothing.py", l ine 329, in keep_alive input('\nAn Error Occurred, press enter to close.') AttributeError: 'Logger' object has no attribute 'errors' Original exception was: Traceback (most recent call last): File "G:\Games\Skyrim\Apps\kgtools\Tools RC_89_g_Light\convert_clothing.py", l ine 335, in <module> input('\nWork done, press enter to close.') AttributeError: 'Logger' object has no attribute 'errors' you prob didn't need the whole traceback, but i wanted you to see that it occurred right at the beginning of the processing the next mesh of the set which happens to be named *_gnd.nif. Uncommon, but not unique. here's the set and the lats. lats.zipheartsong.7z
foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 I ran it through the .85a build it converted without any problems or errors and no body/armor glitches. Not sure if it is weighting it correctly or not as I'm not sure how to look to see if it is weighted correctly. This is the one that I converted to UNP slim. cuirass_0.nif Very odd. I reinstalled .85a, and mesh rigger just crashes out with no errors right after I select the BBB bones.
gerra6 Posted October 23, 2014 Author Posted October 23, 2014 Very odd. I reinstalled .85a, and mesh rigger just crashes out with no errors right after I select the BBB bones. Well, I just went ahead and ran it through the latest dev build of Mesh Rigger (pretty much the same as the version on http://kgtools.org/) No errors. However, that mesh had a truly amazing number of vertices, so the surface search was *incredibly* slow. Anyways, here's what I did. 1. Strip off all of the extra meshes from the cuirass_0.nif and rename it template_0.nif. 2. Run Mesh Rigger. Copy the BBB weights from your unpb_awesome_0.nif nif to template_0.nif. UV Search is enabled. That gives this: template_0.7z 3. Run Mesh Rigger. Template: template_0.nif. Targets: cuirass_0.nif and cuirass_1.nif 4. Wait. Forever. And then keep waiting. Damn, that nif has a lot of verts. Keep waiting. Go watch a movie. Come back. 5. Check the output folder. output.7z They look pretty solid in Nifskope. No signs of deformations or other issues that I can see. Try them out in game and see how they do.
foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 dad frabbin nabbit... I guess I'll try deleting and reinstalling then? If it works for everyone else, it's got to be something in my set up.
foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 Ah, one more thing... I think this is related to you adding the option to tell the windows not to close until the user presses enter... This was after deleting everything, then extracting .85a, then overwriting with .89f. Saving C:\apps\Convert Clothing\Clothing Converter\output\nightshade\blk-bare-cuirass_0.nif Save Complete Traceback (most recent call last): File "PythonPortable\App\Scripts\kgtools\convert_clothing.py", line 335, in <module> input('\nWork done, press enter to close.') AttributeError: 'Logger' object has no attribute 'errors' Error in sys.excepthook: AttributeError: 'Logger' object has no attribute 'errors' Original exception was: Traceback (most recent call last): File "PythonPortable\App\Scripts\kgtools\convert_clothing.py", line 335, in <module> input('\nWork done, press enter to close.') AttributeError: 'Logger' object has no attribute 'errors'
gerra6 Posted October 23, 2014 Author Posted October 23, 2014 Could you post the log file from that. I'd like to get an idea of what the settings were, and exactly what the tool was trying to do.
foreveraloneguy Posted October 23, 2014 Posted October 23, 2014 Could you post the log file from that. I'd like to get an idea of what the settings were, and exactly what the tool was trying to do. There ya go.
gerra6 Posted October 23, 2014 Author Posted October 23, 2014 I can't seem to replicate that error on my end. Try swapping the convert_clothing.py file with this one: convert_clothing.7z Let me know if that works OK.
foreveraloneguy Posted October 24, 2014 Posted October 24, 2014 The error is a bit different. I'm starting to think python knows about my growing affair with C++ and hates me for it. On a completely separate note, I'm running Win8 x64. Not sure if that makes a difference or not, but I'm wondering why I get different results than others when I run these tools. I also went ahead and tried a full python 3.3 install with the light scripts to see if that made any difference. It didn't... same error I originally reported.
gerra6 Posted October 24, 2014 Author Posted October 24, 2014 Well, my primary testing environment is Python 3.4 64 bit on a win 8 machine. I'm doing some final testing on the next update to clothing converter, the one with the automatic cleavage crash option. Assuming it passes the trial, I'll post it for testing and see about tracking down your bug.
foreveraloneguy Posted October 24, 2014 Posted October 24, 2014 How did you get pyffi running on 3.4? The last version I found only supported up to 3.3. And 3.3 is the latest version from your OP instructions.
gerra6 Posted October 24, 2014 Author Posted October 24, 2014 Drag and drop. Basically I copied the pyffi files into the appropriate folders in the Python installation folder. That's also how I managed to get Pyffi working with the portable installation Basically copy the pyffi-looking files from the Scripts and the lib\site-packages\pyffi folder to their equivalents in 3.4
gerra6 Posted October 24, 2014 Author Posted October 24, 2014 OK, Clothing Converter 89.g is now live at http://kgtools.org/ This includes an option to automatically generate and use a complex 2-step lattice. The net effect should be identical to the method outlined here: http://www.loverslab.com/topic/27557-new-clothing-body-style-converter-release-candidate-v085a-10-04-2014/?p=960799 Instead of needing to run all of those extra steps to manage 'cleavage crash', just enable 'Two Step Lattice' with x-axis constraint when running Make Lattice. To control how the two step lattice is applied when running Clothing Converter, select the appropriate material type from the 'Use Alternate Constraints' options, or enable 'customize meshes' and enable alternate constraints on individual meshes.
ger4 Posted October 24, 2014 Posted October 24, 2014 Making a lattice with the latest version, with 2-step enabled, I got this error Main Searchsearch_targets 1Template Vertices: 4560search_resolution 1Building Vertex DictionaryTarget Mesh Vertices 3934Building Vertex Dictionarysearching for Targets196 of 3934 verts searched393 of 3934 verts searched589 of 3934 verts searched785 of 3934 verts searched981 of 3934 verts searched1177 of 3934 verts searched1377 of 3934 verts searched1574 of 3934 verts searched1770 of 3934 verts searched1966 of 3934 verts searched2163 of 3934 verts searched2359 of 3934 verts searched2555 of 3934 verts searched2751 of 3934 verts searched2947 of 3934 verts searched3143 of 3934 verts searched3341 of 3934 verts searched3537 of 3934 verts searched3737 of 3934 verts searched3934 of 3934 verts searchedLattice Morph NoneSaving Lattice to F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\Clothing Converter\lattice\test.latTraceback (most recent call last): File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\make_lattice.py", line 299, in <module> input('\nWork done, press enter to close.')AttributeError: 'Logger' object has no attribute 'errors'Error in sys.excepthook:Traceback (most recent call last): File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\make_lattice.py", line 293, in keep_alive input('\nAn Error Occurred, press enter to close.')AttributeError: 'Logger' object has no attribute 'errors' Original exception was:Traceback (most recent call last): File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\make_lattice.py", line 299, in <module> input('\nWork done, press enter to close.')AttributeError: 'Logger' object has no attribute 'errors' Also, when applying the generated lattice to clothing, I don't notice any improvement in the cleavage crash using the 2-step lattice. Clevage Crash.zip PS - After more testing, I also get this error when I tried to enable mesh customisation during the clothing conversion process **********Meshes Initialized****************nif_gender******FEMALETraceback (most recent call last): File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 342, in <module> Main() File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 333, in Main process_nif(this_file, lattice, lattice_dict) File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 159, in process_nif axis_menu = NodeMovementMenu(target_nif.meshes, c_s) File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\kg\ui_tools.py", line 231, in __init__ self.node2[m.lbl] = uiToggle(temp_frame, 'Alternate Constraints', 'PACK', arrange = 'GRID', col = 0, colspan = 3, row = 11)TypeError: __init__() got multiple values for argument 'arrange'Error in sys.excepthook:Traceback (most recent call last): File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 337, in keep_alive input('\nAn Error Occurred, press enter to close.')AttributeError: 'Logger' object has no attribute 'errors' Original exception was:Traceback (most recent call last): File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 342, in <module> Main() File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 333, in Main process_nif(this_file, lattice, lattice_dict) File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\convert_clothing.py", line 159, in process_nif axis_menu = NodeMovementMenu(target_nif.meshes, c_s) File "F:\Pose Convertor Non Blebder\Tools RC_85_a\Tools RC_89_h_Light\kg\ui_tools.py", line 231, in __init__ self.node2[m.lbl] = uiToggle(temp_frame, 'Alternate Constraints', 'PACK', arrange = 'GRID', col = 0, colspan = 3, row = 11)TypeError: __init__() got multiple values for argument 'arrange' Also, did you manage to make any progress on fixing underboob clipping? Cheers
cobme Posted October 24, 2014 Posted October 24, 2014 Hey again gerra6, it took me a while to get myself some free time to test the newest version with the meshes I was trying to convert. I downloaded version 0.89h and retried the process but the result was still wrong - I have no idea if I'm doing something wrong, or maybe missing a stage in the process... For your convenience, here are the meshes I tried to convert, and the body types I made the lattices from - FullPink.nif (from) body.nif (to) body.nif
foreveraloneguy Posted October 24, 2014 Posted October 24, 2014 I think you mean .89h I'll give this a go. Found an armor giving me even greater fits running through the converter. I can get it looking sort of right if I constrain both x and z axes, but then the body doesn't convert well. I'll give this a go after I get home from work and see if the 2 step does a better job. I was trying it manually last night and still not getting good results. The _1 converts pretty well, but the _0 is... not good. Not good at all. On a related note, I think that bondage mesh that was crashing rigger was a memory issue with the 32 bit portable version. I saw python get up a bit over 4 gig while weighting the mesh now that I'm running the 64 bit version. Didn't take that long on my machine, either. About 10-15 minutes total for both _0 and _1.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now