Source Filmmaker

Source Filmmaker

Autoinit Manager: Run scripts on start!
23 Comments
glyph 22 Aug @ 6:11am 
Got this from a bootup, (the script also doesnt appear in the windows or scripts tab):

Error: must be unicode, not str
Traceback (most recent call last):
File "<string>", line 952, in _Autoinit_FirstBoot
File "<string>", line 711, in start_default
File "<string>", line 720, in setup_default
File "<string>", line 715, in load_default
File "<string>", line 775, in load_light_limit_ini
TypeError: must be unicode, not str
saz 6 Aug @ 2:45pm 
it says error global name _autoinit is not defined
pepsi 22 May @ 10:13am 
uhhh i'm having the must be unicode not str on a fresh install, the console says

Traceback (most recent call last):
File "<string>", line 954, in _Autoinit_FirstBoot
File "<string>", line 713, in start_default
File "<string>", line 722, in setup_default
File "<string>", line 715, in load_default
File "<string>", line 738, in load_skipped_ini
KiwifruitDev  [author] 18 May @ 8:02am 
Do you have a different sfm_init.py? I think some other workshop addons do this
If you have an error in console or the script editor window's output I'd really appreciate it ^^
Proto_Star2st 17 May @ 7:22pm 
i having issues with the manager, now i can't open it though scripts and it doesn't start up when i open sfm
Roman 21 Apr @ 2:20pm 
error when click on script in sfm
Banni 22 Jan @ 5:40pm 
it says "line 958, in _Autoinit_FirstBoot
line 717, in start_default
line 726, in setup_default
line 721, in load_default
line 781, in load_light_limit_ini
theyre all strings
KiwifruitDev  [author] 22 Jan @ 1:55pm 
Hmm do you have a line number associated with it? Check console?
Banni 22 Jan @ 1:10pm 
do you know why its saying error must be unicode not str?
KiwifruitDev  [author] 16 Jan @ 6:27pm 
Version 1.2 was just pushed, this should solve the "Error: invalid literal for int() with base 10" issue.
I misspoke earlier, it was "autoinit_light_limit_patch.txt" that was causing the issue.
spooky mann 16 Jan @ 6:07pm 
i’m having the same problem as sybilregal even if i clear the sfm_init it still doesn’t work and i don’t have any of the extended things
KiwifruitDev  [author] 16 Jan @ 5:47pm 
Do you happen to have extended_*.txt files in "SourceFilmmaker/game"?
Sybilregal 16 Jan @ 3:59pm 
I get "Error: invalid literal for int() with base 10" no matter how much I change or clear the existing sfm_init.py script, nor completely clearing my Scripts folder and starting from scratch by verifying installed files.

I really have no clue what's causing this, and nothing useful pops up in the Script Editor tab.
KiwifruitDev  [author] 14 Jan @ 2:29pm 
Have you used any other installer script in the past? You should try clearing "usermod/scripts/sfm/sfm_init.py"
Also, open the script editor tab in your default layout and restart sfm to see if there's any additional logging information.
If you'd like, feel free to add me on Steam or Discord.
spooky mann 14 Jan @ 9:30am 
how do i fix this popping up everytime i start sfm and the script not working

Error: invalid literal for int() with base 10: "
DaOhioBoom 13 Jan @ 12:05pm 
Very useful script.
KiwifruitDev  [author] 11 Jan @ 3:40pm 
I solved the issue that ProtoBoobs was having
This was due to a broken "sfm_init.py" file, when SFM encounters an error from there then it stops running all init scripts, including "sfm_init_local.py" which is my Autoinit script.
You can fix this by removing all code in "sfm_init.py".
Make sure to avoid using other startup installers as this script makes those obsolete.
By the way, you can open the Autoinit Manager through the "Windows" menu.
KiwifruitDev  [author] 9 Jan @ 12:24am 
hey this is first I'm hearing of this, mind getting in touch? either through discord or steam :)
ProtoBoobs 8 Jan @ 4:51pm 
Hiya I think I'm doing something wrong, I keep getting "global name '_autoint_version' is not defined"
Fullcaber 8 Jan @ 5:35am 
kiwano do u think u could create some kind of thing that lets us just delete objects easier by just doing the laso sellection in the viewport and then just press del to delete them in the animation set editor
KiwifruitDev  [author] 5 Jan @ 10:08am 
Let me know if you have any issues :)
Be on the lookout for more scripts to come!
ComputerINYear 4 Jan @ 11:43pm 
ok this is insane
Pyro from TF2 4 Jan @ 11:06pm 
LETS GOOOOOOOO