Houdini Mac 添加external editor
我的尝试:
1. 找到houdini.env文件
2. 修改env文件,添加
EDITOR = ""/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" -w"
3. 打开
4. 命令行中 输入
hconfig -a
得到环境变量,其中EDITOR修改成功
5. 在houdini中打开external editor,没有反应 (PS:在没有添加editor前,打开为默认编辑器,然而编辑完关闭编辑器,houdini就卡住了,只能强制退出)
成功,之前的问题也解决了!!
参考:
官方文档 https://www.sidefx.com/docs/houdini/basics/config_env.html
https://www.sidefx.com/forum/topic/68821/?page=1#post-292777
https://forums.odforce.net/topic/40932-use-sublime-text-for-external-editor-on-macos/
https://github.com/ArthurYidi/Houdini-External-Editor/wiki/Manual-External-Editor-Configuration
附 破解教程:
之前安装过houdini,需要删除
/Library/Preferences/sesi
~/Library/Preferences/houdini
1. 安装houdini,完了不要打开
2. 打开终端 输入
sudo launchctl unload /Library/LaunchDaemons/com.sidefx.sesinetd.plist
3. 将破解包中的sesinetd 替换下面两个文件
/Applications/Houdini/Houdini17.5.173/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/sbin/sesinetd
/Library/Preferences/sesi/sesinetd
然后添加权限
sudo chmod +wxr /Library/Preferences/sesi/sesinetd
sudo chmod +wxr /Applications/Houdini/Houdini17.5.173/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/sbin/sesinetd
4. 再输入
sudo launchctl load /Library/LaunchDaemons/com.sidefx.sesinetd.plist
5. 打开下方的程序,记录License server host和License server code
6. 打开破解软件,输入上述两值,生成key,将key以行为分割输入上述程序中即可