Is it possible to Editing a Blender file without opening it to remove a crashing node?

Hello everyone,

I have a Blender project that crashes due to a specific node tree when I try to open it. I attempted to append the node tree into another project, but it immediately causes the new project to crash when applied to an object.

So I thought that modifying the file code without opening it might be a solution. But I have no idea how to go about it…

This is the node tree where the issue come from :
Capture d'écran 2025-01-24 052706

and this is the node group inside the node tree that cause ths issue :
Capture d'écran 2025-01-24 052905

Thanks in advance for your help!

There is a Python module called blendfile.py for parsing Blend files.
I never used it to modify a Blend file, but I think it’s your best bet.
This might not be helpful, but it’s the only method known to edit a Blend file outside of Blender.

1 Like

Thanks you very much!

Any elaboration on your end?

No, sorry, I didn’t test it :confused: In the end, I didn’t need it because my problem was simply linked to a node group.

I solved the problem “manually” : I simply appended my entire scene except for the object that had the broken node group. Then I appended the broken node group to an object that I deactivated in order to modify it and removed the bug manually so that Blender wouldn’t process it and cause a crash. My problem was related to a bug that was reported to Blender and fixed.