Roggvir Posted March 1, 2025 Posted March 1, 2025 SLAL Anims Filtering Script View File Provides comfortable GUI for toggling animations in SLAL anim pack .json file. Useful when making custom SLAL to SLSB conversions for SexLab P+. Why would you want to use this? Well... to get rid of unwanted animations and consequently to lower the number of animations, so you don't get screwed by the FNIS limits and such. Imagine you are not into footjobs or deer/skeever anims - why have those animations in game?  Requires Python 3 (i use 3.13.1, but i think any v3 would do).  Usage  Enable/Disable animations {Ctrl + click} on a row, or {press Spacebar}.  Filter the list by tags Tags can be separated by space, comma, or by mode indicators (+,-). Mode indicators (+,-) can be used to force tag to be or not be present. Example 1: anal solo sex Result: Animations having ANY of those tags. Example 2: anal+solo sex Result: Animations having "anal" or "sex", while also having "solo" (the "solo" tag is marked by the "+" as "MUST HAVE"). Example 3: anal+solo sex-vaginal Result: Animations having "anal" or "sex", while also having "solo" and NOT having "vaginal". The "solo" tag is marked by "+" as "MUST HAVE". The "vaginal" tag is marked by "-" as "MUST NOT HAVE".   Submitter Roggvir Submitted 03/01/2025 Category Framework & Resources 1
mnonyhc Posted March 1, 2025 Posted March 1, 2025 Does this mod work after SLSB conversion? I use p+ and would appreciate blocking out several animations based on tags.(like weird animals and anything feet indeed 😄)
Fraying9981 Posted March 1, 2025 Posted March 1, 2025 hi, thanks sharing your work. Â does this mod also help if you just want to permanently change animation tags?
Roggvir Posted March 1, 2025 Author Posted March 1, 2025 1 hour ago, mnonyhc said: Does this mod work after SLSB conversion? I use p+ and would appreciate blocking out several animations based on tags.(like weird animals and anything feet indeed 😄) No. The already converted SLSB json has a different structure.  It shouldn't be too hard to add support for it though - provided that editing only the SLSB .json is all that is needed. I didn't look into how you can then rebuild the FNIS txt and the SLSB .slr file from the SLSB json. Would be nice if somebody could comment on that.  In the meantime, you should be able to recreate the SLSB conversion using a SLAL json edited by this script - that is what i am doing. You need some tools that are available on the Citadel discord in the #slsb-and-pack-dev channel (here is a direct link to a guide by BabyImpala). I recommend you ask around there too, maybe there is some easier way. I may be a veteran modder, but SLPP is new to me, so i have no idea yet how are all the things done. 1
Roggvir Posted March 1, 2025 Author Posted March 1, 2025 6 minutes ago, Fraying9981 said: hi, thanks sharing your work.  does this mod also help if you just want to permanently change animation tags? No. But that is a good point, i will add means to do that in future, but do not hold your breath and look for some other solution right now, because it will take some time until i get to it.
Fraying9981 Posted March 1, 2025 Posted March 1, 2025 27 minutes ago, Roggvir said: No. But that is a good point, i will add means to do that in future, but do not hold your breath and look for some other solution right now, because it will take some time until i get to it.  thanks, good to know. I'm using SLATE now but it can only filter by anim pack, not by tag. also its via MCM so quite tedious. I'm looking for a solution so I don't have to reedit tags every time i use SL anim loader. 1
sierrra Posted March 2, 2025 Posted March 2, 2025 Regarding the FNIS limit,  this patch ups the limit to 131 thousand something, for anyone unaware  Â
gdfll Posted March 2, 2025 Posted March 2, 2025 Looks nice and simple, But I like 'batch' mode, i.s.o. GUI, so it is possible to automate the process from the command line. So, would it be possible to output a file with a list of the disabled animations, which can be fed to the tool in a command line to disable the same animations when a new version of the anim pack is released. Â
Roggvir Posted March 2, 2025 Author Posted March 2, 2025 2 hours ago, gdfll said: Looks nice and simple, But I like 'batch' mode, i.s.o. GUI, so it is possible to automate the process from the command line. So, would it be possible to output a file with a list of the disabled animations, which can be fed to the tool in a command line to disable the same animations when a new version of the anim pack is released.  I share your affection for all things 'batch', so i had a plan for that already. Just need to get a minute to get to it. 2
PippinTom Posted March 15, 2025 Posted March 15, 2025 Quite useful tool, thank you for sharing! Yet one thing is that bothers me, *.afbak files seems to be created onFileOpening and remain on the disk even if no changes has been made (and saved) to original json. Finding them later on, while prepping packages or merging due to update, can be misleading, as they suggest that original file is no longer original and I have to compare them binary-wise just to be sure, what complicates my workflow unnecessarily. But that's nothing critical, just me whining.
Roggvir Posted April 7, 2025 Author Posted April 7, 2025 On 3/15/2025 at 7:07 AM, PippinTom said: Quite useful tool, thank you for sharing! Yet one thing is that bothers me, *.afbak files seems to be created onFileOpening and remain on the disk even if no changes has been made (and saved) to original json. Finding them later on, while prepping packages or merging due to update, can be misleading, as they suggest that original file is no longer original and I have to compare them binary-wise just to be sure, what complicates my workflow unnecessarily. But that's nothing critical, just me whining. Thanks. I'll look into it, but i am a bit too preoccupied with other things.
effrenatus Posted April 28, 2025 Posted April 28, 2025 Hello! So, how to use this? Could you please tell where to place that file and how to get to the GUI? Thanks. 1
crowcawcawcaw Posted April 29, 2025 Posted April 29, 2025 (edited) On 4/28/2025 at 10:48 AM, effrenatus said: Hello! So, how to use this? Could you please tell where to place that file and how to get to the GUI? Thanks. WHERE TO PLACE: Put the .py file anywhere you'll be able to easily find it again (eg. mine is in a "ModdingTools" folder, where I keep DynDOLOD, NifSkope, and the like) HOW TO GET TO THE GUI: Double click on the "anims_filter.py" file itself. It should launch a command prompt window (black box) and the GUI (white and grey box). If nothing happens, you likely still need to install Python. HOW TO USE: Click on the "select file" box to the left of the green "RELOAD" and red "SAVE" buttons. Navigate to the .json file of the SLAL pack you wish to edit (eg, to edit MIke24's you'd go to "SLAL_mike24_Animations SE">"SLAnims">"json">"Mike24.json"). Click open, and then follow the usage instructions Roggvir gave above. Save when you're finished then move onto the next file. Edited May 28, 2025 by crowcawcawcaw 3
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