Zstd-compressed .blend files from external tools aren't recognized #93858
Labels
No Label
legacy module
Animation & Rigging
legacy module
Core
legacy module
Eevee & Viewport
legacy module
Modeling
legacy module
Platforms, Builds, Tests & Devices
legacy module
Rendering & Cycles
legacy module
User Interface
legacy module
VFX & Video
legacy project
2.81
legacy project
Animation & Rigging
legacy project
BF Blender: 2.8
legacy project
BF Blender: After Release
legacy project
BF Blender: Next
legacy project
Core
legacy project
Cycles
legacy project
EEVEE & Viewport
legacy project
Modeling
legacy project
Modifiers
legacy project
Overrides
legacy project
Platform: Windows
legacy project
Render Pipeline
legacy project
User Interface
legacy project
Video Sequencer
Priority::Normal
Status::Archived
Status::Duplicate
Status::Resolved
Type::Bug
Type::Patch
Type::Report
No Milestone
No Assignees
4 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: archive/blender-file#93858
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09
Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash:
blender/blender@f1cca30557
Worked:
Short description of error
Maybe you can tell me if I am doing things wrong or if I encounter a bug.
I tried to compress my .blend externally with zstd but Blender refuses to read it again. Even tho it should be supported.
D5799: Add support for Zstd compression for .blend files
Exact steps for others to reproduce the error
1: $zstd -19 my.blend
2: I rename it back from my.blend.zst to my.blend and try to open it.
3: Blender falls back to the default scene if I try to open it :(
Please note that I use WSL (Ubuntu) for the compression.
T93858_compressed_blender.blend
T93858_compressed_zstd.blend
T93858_uncompressed.blend
Added subscriber: @Raimund58
Added subscriber: @lichtwerk
Can confirm.
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @LukasStockner
Lukas is currently not active. I'm not sure if it is a good idea to assign it to him.
If you compress outside of blender, the header is not kept (needs to start with "BLENDER") and this is what fails in a couple of places.
This is what is usually written at the start of a file (even if blender later uses zstd compression)
I did actually see this one, I'll have a look :)
It should still work, the code is smart enough to check for the presence of that header after decompressing the start of the file.
This issue was referenced by blender/blender@56bd7adce7
This issue was referenced by blender/blender@be2213472f
Blender is not opening a .blend that was compressed via zstdto Zstd-compressed .blend files from external tools aren't recognizedChanged status from 'Confirmed' to: 'Resolved'
Lol, there he comes out of nowhere and just fixes things :D