Jump to content

SexLab Animation Loader Issue


Recommended Posts

Posted

Hi, I am trying to build the json and fnis files for some animations and SLAnimGenerate.pyw is showing this error when I open it. I reinstalled Skyrim SE, All the Mods and Python but the error still doesn't go away. 

I have everything running fine in game, I can register animations from slal and play those prebuilt animations from BakaFactory and my own animations that I built in the past.

I tried downloading the "MNC" version of SLAnimGenerate.pyw from (https://github.com/orxx/SLAnimLoader/blob/master/SLAnims/SLAnimGenerate.pyw) and it is still showing the same error.

Since BakaFactory animations are already built by the creator, it should not be showing any errors in slal....so I am pretty sure it is not the source file's problem and the error is coming from the SLAnimGenerate.pyw file.....

I am using the downgraded version of Skyrim SE (1.5.97.0) and Mod Organizer 2 for the mods. Python version is 3.11. I have also tried using earlier versions of python which did not fix the issue.... I have no idea what to do now....feels like the only way is to reformat the whole pc..... 

 

 

 


Capture.thumb.JPG.4bc787fea10c43e1cf92d36799fc2a0e.JPG
 

 

 

Posted

FNIS Behavior V7.6 XXL   12/8/2023 2:02:13 PM
Skyrim SE 64bit: 1.5.97.0 - F:\SteamLibrary\steamapps\common\Skyrim Special Edition\ (Steam)

Skeleton(hkx) female: XPMS2HDT (126 bones)   male: XPMS2HDT (126 bones)
>>Warning: Custom skeleton found. Select SKELETON patch.<<

Reading Billyy_HumanDD V1.0 ...     ChAnims:396     CTD:2.4%     pOpt:0.6%
Reading Billyy_HumanFurnitureDD V1.0 ...     ChAnims:30     CTD:0.2%     pOpt:0.0%
Reading Billyy_HumanLesbianDD V1.0 ...     ChAnims:120     CTD:0.8%     pOpt:0.2%
Reading BPAnims V1.0 ...     ChAnims:34     CTD:0.3%     pOpt:0.1%
Reading BPFurnitureAnims V?.? ...     ChAnims:15     CTD:0.1%     pOpt:0.0%
Reading DD V4.0.0 ...     ChAnims:740(588)     CTD:13.1%     pOpt:1.1%
Reading DD2 V4.0.0 ...     ChAnims:374(374)     CTD:10.7%     pOpt:0.0%
Reading DD3 V4.1.0 ...     ChAnims:119(119)     CTD:2.9%     pOpt:0.0%
Reading DDC V1.2 ...     ChAnims:58     CTD:0.4%     pOpt:0.2%
Reading DDSL V4.0.0 ...     ChAnims:410     CTD:2.8%     pOpt:0.9%
Reading dse-display-model V100 ...     ChAnims:79     CTD:0.9%     pOpt:0.0%
Reading FNISBase V7.6 ...     ChAnims:0     CTD:0.0%     pOpt:0.0%
Reading SexLab V1.63 ...     ChAnims:882     CTD:5.6%     pOpt:1.5%
Reading SexLabAP V1.63 ...     ChAnims:142     CTD:0.9%     pOpt:0.2%
Reading SexLabAroused V2.9 ...     ChAnims:5     CTD:0.1%     pOpt:0.0%
Reading SexLabCreature V1.63 ...     ChAnims:177     CTD:1.2%     pOpt:0.3%
Reading XPMSE V7.2 ...     ChAnims:164(164)     CTD:2.2%     pOpt:0.0%
Reading ZaZAnimationPack7 V7.00 ...     ChAnims:1693(23)     CTD:13.9%     pOpt:3.2%
Reading ZaZAnimationPack8 V8.00 ...     ChAnims:904(17)     CTD:6.1%     pOpt:0.1%
Reading ZaZAnimationPack9 V9.00 ...     ChAnims:309(67)     CTD:2.8%     pOpt:0.4%
        NOTE: ZaZAnimationPack9 has at least one AASet definition without any animation files provided

All Anim Lists scanned. Generating Behavior Files...
Alternate Animation mods: 7 sets: 56 total groups: 212 added file slots: 1719 alternate files: 1352

Creature Pack not installed

 6651 animations for 20 mods successfully included (character).
ChAnims: 6651(1352)  CTD:62.2%  pOpt:8.8%  max: 10701  LC: 16261 (max. 26162)

 1 Warning(s).

 

Is this the fnis report? 

Posted

Reformat the pc because a python script doesn't work? Chill dude, chill. ?

 

There's an error in the python script, it checks for "sp.kwargs" then tries to use "kwargs". Change line 895 to:

on_error("unsupported arguments: {}", ", ".join(sp.kwargs.keys()))

 

I mean you still got an error somewhere, because "unsupported arguments" but maybe it will now tell you something about those arguments?

Posted

Yes!!! Now it is showing all the animations in the source file. There are still some errors from BakaFactory's animations... I saw from a post that the MNC version solves the "anivars" error and it seems to not work for me. Is the Github link above compatible for LE and SE version?



image.png.5dec0ef69752e1e9c595d47cc8275b9b.png

Posted

Oh my bad. I copy paste a similar post I made in technical support for LE about this problem and was using Bakafactory's SLAL animation as an example. For SE, I am using Billyy's SLAL animation. So, any idea on how to fix the new errors I got?

Posted (edited)

You could add "animvars" to the valid args list and see what happens. Modify function starting at line 879:

def _parse_stage_params(stage_params, valid_args, on_error):
    if not stage_params:
        return {}
    
    # Hack begin
    if not 'animvars' in valid_args:
        valid_args['animvars'] = str
    # Hack end
    
    parsed = {}
    ...

 

 

If it sets your computer on fire, don't call me.

 

Edit: Fixed code. Didn't notice the valid_args thing was a dictionary.

Edited by traison
Posted

Finally it is 100% fixed!!! Thank you so much for your help!!! Feels like this kind of special pain in the ass problems seems to happen to me very often.... 

I wonder if anyone else countered this issue....

Posted
11 minutes ago, autism0 said:

fix most of it by the provided solution but, where can i find this thing ?image.png.9bf64c17d3fa723491f28a604148aedb.png

 

You need to add BoarsAny to the dictionary at line 56.

Posted
21 minutes ago, traison said:

 

You need to add BoarsAny to the dictionary at line 56.

after i added that line new error kept poppin up one after another until this one prolly because i didnt ref it correctly or something idek anymore

image.png.4c5fc8e876e0424c7789db8f194e7b11.png

image.png.044197a586fb7386f9ca82ae56e91048.png

Posted

Most likely you added the wrong directory since it can't find animations. What I'd do is inspect one of the known directories, like dlc02\boarriekling, what kind of files does it contain, or more specifically, what kind of files does SexLab Framework add to it. Then inspect the mod that adds the race "BoarsAny" and see if you can find a directory that contains similar files that would also be related to a "BoarsAny" race.

Posted
41 minutes ago, traison said:

Most likely you added the wrong directory since it can't find animations. What I'd do is inspect one of the known directories, like dlc02\boarriekling, what kind of files does it contain, or more specifically, what kind of files does SexLab Framework add to it. Then inspect the mod that adds the race "BoarsAny" and see if you can find a directory that contains similar files that would also be related to a "BoarsAny" race.

nvm i just deleted the pillar penetrate animation prolly wont use it anyway now no more error, SLAL still doesnt detect any new animations tho ?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...