Source Filmmaker > 综合讨论 > 主题详情
raptornx01 2013年8月19日上午1:44
How to fix the color change script, and sfmphys
since the last sfm update you may have noticed a few scripts stopped working. after much investigating the reason has been found.

Apparently, valve removed a bunch of files for python those scripts need to work. but not completely,

go to

C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\sdktools\python\2.7\win32\tcl

copy ALL the files and folders there. then go to

C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\sdktools\python\2.7\win32\Lib

(basically go back one and pick the other folder) and paste all the files from the tcl folder there.

that will fix the color change script (and possibly other issues as well, but that is unknown). to fix sfmphys you have to do all that, and a couple more steps.

first, grab the newest version from http://sfmbox.com/sfmphys/

then, grab this https://www.dropbox.com/s/qedogo76cvamwk9/phys_simulate.py

install this in

C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\platform\scripts\sfm\animset

that's it. it should work for you.

Thanks to Pte Jack and especially Doc from open source filmmaker for figuring this all out.
最后由 raptornx01 编辑于; 2013年8月19日上午1:48
正在显示第 1 - 15 条,共 20 条留言
< >
EmperorFaiz.avi 2013年8月19日上午2:20 
oh thanks
PalmliX 2013年8月19日上午3:04 
Genius!
Pte Jack is away for a MONTH 2013年8月19日下午12:24 
Thanks for the mention, but it wasn't necessary, you were as much a part of find this fix as I was... Kudos to you Raptorn!!! (That means Thanks and Great Job for those that don't know what Kudos means!!!)
Melpit 2013年12月10日上午7:11 
Darn, http://sfmbox.com/sfmphys/ doesnt work anymore
NieOrginalny™ 2013年12月10日上午11:49 
Because SFMbox was shutdown, get all the files from it fro here: https://www.mediafire.com/folder/bc9lx29swgyea/SFMBox%20Master%20Root#116homy37c7ma
imagitronics 2013年12月10日下午1:39 
sfmphys is actually on github, that is probably the best place to keep that updated. https://github.com/btdavis/sfmphys

That's where the creator will directly push their updates.
raptornx01 2013年12月10日下午7:14 
glad someone dragged this up. i had forgotten sfmbox links were on my videos. crap, so were a couple other scripts. (sigh) ill have to update my video descriptions now.
Pte Jack is away for a MONTH 2013年12月10日下午7:31 
I have like 140 videos I have to update... I might as well delete everything and start all over... Not!!!
(☣) (☤) [Dr.] Evil 1月1日下午12:48 
ok I just have one question which needs more clarification.

When it says::

copy ALL the files and folders there. then go to

C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\sdktools\python\2.7\win32\Lib

(basically go back one and pick the other folder) and paste all the files from the tcl folder there.


Where exactly do I place the files? In the Lib folder or another folder?

Thanks.

This might help I have version 2.7.6 of python not sure if that is causing the breaking of scripts or not.

EDIT:: I fixed it. I rolled back to 2.7.5 and copied the files over. Thanks.
最后由 (☣) (☤) [Dr.] Evil 编辑于; 1月1日下午1:53
raptornx01 1月1日下午1:58 
just highlight everything in the tcl folder, then open the Lib folder, rightclick any empty spot and select paste.
Pte Jack is away for a MONTH 1月1日下午1:58 
SFM ships with it's own python folder. Having the full version of python on your computer should not matter. SFM doesn't search for it.

That being said, I'm not sure this has to be done anymore since the last update. The tcl folder is no longer just tcl like it was before the update. It's tcl8 and tcl8.5, Valve may have already fixed the problem. (that being said, I haven't run any of the scripts since the update.)

The old fix was to copy the contents of the tcl folder into the lib folder (which was one level up from the tcl folder). Now that the structure of the tcl folder has changed, I'm not sure what to copy where, or if it is even required anymore.
(☣) (☤) [Dr.] Evil 1月1日下午1:58 
Thanks! Does this work on python version 2.7.5 or 2.7.6?

引用自 PF2 raptornx01
just highlight everything in the tcl folder, then open the Lib folder, rightclick any empty spot and select paste.
(☣) (☤) [Dr.] Evil 1月1日下午1:59 
Okay, thanks! I'll take a look at it and post my findings here.

引用自 Pte Jack
SFM ships with it's own python folder. Having the full version of python on your computer should not matter. SFM doesn't search for it.

That being said, I'm not sure this has to be done anymore since the last update. The tcl folder is no longer just tcl like it was before the update. It's tcl8 and tcl8.5, Valve may have already fixed the problem. (that being said, I haven't run any of the scripts since the update.)

The old fix was to copy the contents of the tcl folder into the lib folder (which was one level up from the tcl folder). Now that the structure of the tcl folder has changed, I'm not sure what to copy where, or if it is even required anymore.
(☣) (☤) [Dr.] Evil 1月1日下午2:15 
2.7.5 works with scripts if you tag the files over.

2.7.6 does not work with the scripts. Hope this helps anyone else that wanted to know about 2.7.6.

Thanks everyone! :)
Pte Jack is away for a MONTH 1月1日下午2:36 
Did you tag the files over with 2.7.6?
正在显示第 1 - 15 条,共 20 条留言
< >
每页显示数: 15 30 50
发帖日期: 2013年8月19日上午1:44
帖子数: 20