Source Filmmaker

Source Filmmaker

Animation Set Group Editor v1.2
72 Comments
Famix 23 Jan @ 6:01pm 
I've noticed a tendency for it to put new animationgroups in a folder in the heiarchy I don't select, and sometimes it crashes when I press new. However, I still find this to be essential for anyone who takes SFM seriously, as it helps organize
Famix 23 Jan @ 6:00pm 
Whoppermac, you'll need to delete any animationgroups.txt that's not in the platform folder. That was my problem
whoppermac 14 May, 2022 @ 12:00pm 
Try using the rig but nothing happens
inCawHoots 16 Apr, 2022 @ 3:15pm 
Hasn't worked. It just freezes the program.
OMG Theres A Bear In My Oatmeal!  [author] 16 Feb, 2022 @ 4:55am 
try to verify the sfm files and let me know if it still does it or not.
inCawHoots 15 Feb, 2022 @ 11:04pm 
It was working well the first 3 times and now it just crashes SFM
inCawHoots 15 Feb, 2022 @ 10:51pm 
It is causing my program to crash upon opening it.
yodogerik 21 Dec, 2021 @ 7:32pm 
Something that stumped me for a while that I solved that you should know:
If you make a new group, you CAN NOT put it in the preexisting "Unknown" group, or else it won't update and won't work. It seems that you can't create subgroups of "Unknown."
NorthPolalt 6 Dec, 2020 @ 1:33am 
It's not perfect, but it's goddamn beautiful
OMG Theres A Bear In My Oatmeal!  [author] 26 Sep, 2020 @ 8:38pm 
does any error show up in the console when that happens
VellFox 26 Sep, 2020 @ 9:02am 
Hi! I've run into an issue with this addon as of late that I'm not able to fix somehow. For some reason, the interface for the animation rigger doesn't show up when I click to load it, SFM buffers for a bit but it doesn't open. Any suggestions or tips on what may be causing this?

I've tried redownloading the addon, but that doesn't seem to do the trick unfortunately.
8Yaron8 24 Jul, 2020 @ 5:37am 
You deserve a reward)
8Yaron8 24 Jul, 2020 @ 4:28am 
And thank you for answering, that was exactly the cause of the problem.
8Yaron8 24 Jul, 2020 @ 4:28am 
Yes, I was right - there was a conflict of files with the same name.
OMG Theres A Bear In My Oatmeal!  [author] 24 Jul, 2020 @ 4:27am 
is there another sfm_defaultanimationgroups.txt in usermod/cfg or any where else?
8Yaron8 23 Jul, 2020 @ 11:52pm 
Damn, even editing this file manually has no effect.
8Yaron8 23 Jul, 2020 @ 11:15pm 
No, it does not work. it feels like the SFM is using another text file, which is located in an unknown place.
OMG Theres A Bear In My Oatmeal!  [author] 23 Jul, 2020 @ 6:57pm 
you might need to use the option "remove bones from group file" first then try updating the groups
8Yaron8 23 Jul, 2020 @ 3:53pm 
For some reason, after updating the groups, nothing happens. The text file (sfm_defaultanimationgroups.txt) itself has been updated, new bones and their groupings have been added, but no effect after rebuilding control groups or adding a new model.
Valzryk Shadowblood 18 May, 2020 @ 8:53pm 
I'll let you know if I try it since using this as a back and forth helper. I look at what bones there is and I manually type them in CFG. Also for some reason it messes up the CFG like does not look neat anymore but idk if its supposed to do that.
OMG Theres A Bear In My Oatmeal!  [author] 18 May, 2020 @ 5:16am 
@Mr Valrek, I just updated it let me know if its fixed or not.
Valzryk Shadowblood 17 May, 2020 @ 8:34pm 
Window does not pop and I get this Traceback (most recent call last):
File "<string>", line 1775, in <module>
File "<string>", line 1731, in setupUi
File "<string>", line 389, in autofind
File "<string>", line 625, in findparentandcolor
File "<string>", line 578, in lowercaselist
AttributeError: 'list' object has no attribute 'lower'

But I really do not want to reset my animationgroups since I have stuff already in it.
Veggie Ice Cream™ 17 May, 2020 @ 6:41pm 
works perfectly now.
Thanks!
Veggie Ice Cream™ 17 May, 2020 @ 6:37pm 
theres already one in there, but ok.
OMG Theres A Bear In My Oatmeal!  [author] 17 May, 2020 @ 6:00pm 
download this txt file https://www.dropbox.com/s/hmuta98jsgqor7i/sfm_defaultanimationgroups.txt?dl=1

and place it here:" SourceFilmmaker\game\platform\cfg\"
Veggie Ice Cream™ 17 May, 2020 @ 5:05pm 
IOError: [Errno 2] No such file or directory: 'platform\\cfg\\sfm_defaultanimationgroups.txt'
OMG Theres A Bear In My Oatmeal!  [author] 17 May, 2020 @ 5:02am 
does any error pop up in the console when that happens?
Veggie Ice Cream™ 16 May, 2020 @ 11:11pm 
Whenever I click on the rig, no window pops up.
Any idea why?
OMG Theres A Bear In My Oatmeal!  [author] 1 Feb, 2020 @ 6:50pm 
no
Hanuman 17 Jan, 2020 @ 1:56am 
I would not recommend using this too much since it can rack up your defaultanimgroup to an absurd number of lines which then end up preventing your models from even spawning (crashes sfm). Default group has around 30kb while with this,after using it couple of times to sort different models, it went up to 40mb and ended up just bricking sfm. Had to delete groups and addon just to be able to spawn models.
HyperLate 2 Jan, 2019 @ 12:02am 
Thank you so much for this. This is like gods creation!! Finally I dont have to move my mouse like I was doing a surgery to select bones that dont do anything :)))
bennie bitchfox 12 Feb, 2017 @ 12:20am 
Uhhhhhhhhhhhhhhh..... Help.... I am so confused, can someone please do a video tutorial?
Homeless Man under House Arrest 8 Dec, 2016 @ 4:09am 
Using that and the previous dropbox version, when I click update, it just removes 150+ of the bones I already have (making them unknown) and apparently ignoring the other bones in my txt file that wasn't in the model.
After deleting that and redownloading the current version available here, I performed the same task and the bones were placed in the desired folder (though I don't know if any background issues occured like normal).

If the issue is that I would have to redo my animationgroups from scratch again, I'd rather just stick with using it as a way to get the text information then manually enter it myself :steamsad:
OMG Theres A Bear In My Oatmeal!  [author] 6 Dec, 2016 @ 7:58pm 
@Edtion, try out this version to see if the problems are gone,: https://www.dropbox.com/s/9vjndwacuy3c9tw/animation%20group%20editor.py?dl=1
OMG Theres A Bear In My Oatmeal!  [author] 3 Dec, 2016 @ 8:52pm 
@Edtion, its a bug most likely,it should be fixed within the week.
Homeless Man under House Arrest 3 Dec, 2016 @ 7:33pm 
Is there any reason the script would create empty groups in the sfm_defaultanimationgroups.txt?
When I organize some bones and folders, they sometimes go to the root directory instead of the subfolders I placed them in. Since my strict settings aren't getting saved (RigLegs subfolders end up in RigArms group), I'm manually editting the text file.

I'm seeing old groups I made earlier and the current folder I kept trying to make, duplicated with no bones listed in their hierachies.
Homeless Man under House Arrest 28 Nov, 2016 @ 8:21pm 
Sorry but before I do that, I'm trying to recreate it. What I was doing last time is moving bones from the Unknown group into temporary folders of a tmp folder or just new folders. What I remember doing is c licking update and checking how they look in SFM but not getting that popup. After Closing the window (don't remember why) I tried to re-open and got the error.

I looked at the text file and there were some groups being repeated for around 18,000 lines, removing that duplication set fixed it but then I just stopped leaving the window open and reloaded after every update-check
Maybe it was the names/ordering I used that started that duplicated bug because right now it I can update without closing.
If you want, I can still add that script.
OMG Theres A Bear In My Oatmeal!  [author] 28 Nov, 2016 @ 10:12am 
@Edtion,here replace the script file with this one: https://www.dropbox.com/s/9vjndwacuy3c9tw/animation%20group%20editor.py?dl=1
to see if the changes i made worked, also replace your sfm_defaultanimationgroups.txt with this one: https://www.dropbox.com/s/hmuta98jsgqor7i/sfm_defaultanimationgroups.txt?dl=1
Homeless Man under House Arrest 28 Nov, 2016 @ 8:23am 
I don't know if it's a bug or just unavoidable but clicking update groups multiple times (because I don't close it) breaks your/the animgroup text file (or at least the way it's loaded, causing that error again)
If it's a bug you can fix then great, will wait for an update.
If it's unavoidable then would it be possible to disable/gray-out update or close the window after updating?
Homeless Man under House Arrest 28 Nov, 2016 @ 7:43am 
That works, thanks
OMG Theres A Bear In My Oatmeal!  [author] 28 Nov, 2016 @ 6:56am 
@Edtion,replace your sfm_defaultanimationgroups.txt with this one: https://www.dropbox.com/s/hmuta98jsgqor7i/sfm_defaultanimationgroups.txt?dl=1
Homeless Man under House Arrest 28 Nov, 2016 @ 5:35am 
@[author]
Traceback (most recent call last):
File "<string>", line 1775, in <module>
File "<string>", line 1731, in setupUi
File "<string>", line 389, in autofind
File "<string>", line 625, in findparentandcolor
File "<string>", line 578, in lowercaselist
AttributeError: 'list' object has no attribute 'lower'
OMG Theres A Bear In My Oatmeal!  [author] 27 Nov, 2016 @ 5:46am 
@Edtion, does any error show up in the console when you try to run it?
Homeless Man under House Arrest 27 Nov, 2016 @ 3:03am 
I can't get 1.2 to open. I was using 1.1 that I downloaded from SFMLab months ago. I deleted that and tried v1.2 then subscribed here and removed the SFMLab version, then I removed all my sfm_defaultanimationgroups.txt, reopened SFM and I still get the same error:
Clicking Rig>animation group editor does nothing. with 1.2. using 1.1 brings up the window for 1.1.
I also opened player\spy model to try it instead of my other 3 models.
Yashiro 9 Aug, 2016 @ 2:18pm 
@OMG Theres A Bear In My Oatmeal!
Ok no problem ill wait until you fix it great script anyway ;)
OMG Theres A Bear In My Oatmeal!  [author] 8 Aug, 2016 @ 12:43pm 
@Pounder ,if you what to go back to the original set you had before go to ""SourceFilmmaker\game\platform\cfg\" and delete "sfm_defaultanimationgroups.txt" and rename sfm_defaultanimationgroups_original.txt to sfm_defaultanimationgroups.txt
Pounder 8 Aug, 2016 @ 12:30pm 
this script is awesome though it messed up my group animations, all of my models now shows unknown, how do I fix it back? I see a groups backup how do I use it?
OMG Theres A Bear In My Oatmeal!  [author] 6 Aug, 2016 @ 3:10pm 
@Yashiro, sorry about that, this script is sort of bugy now and needs an overhaul, the next update (sometime this month) should fix most problems.
Yashiro 6 Aug, 2016 @ 2:27pm 
Dont work for me when i delete the model and spawn another all goes away like i did anything.
dont understand why.
RedMser 4 Jul, 2016 @ 10:01am 
Very nicely done, sir! Will be using this on a lot of the custom models I've struggled with using (although your auto rigger helps immensely with that as well).

The only issue I am having is that it only tries to replace the platform's sfmanimationgroups file, and doesn't attempt to replace any other ones that could exist in the gameinfo.txt before that one (like in usermod, as was the case for me). I know it's a pain to go through the gameinfo.txt file, but I just wanted to let you know to, if anything, check for usermod in advance to fix any potential confusion with it not working.