Skip to content

Add Studio encrypted EMPF export and craft modes - #3

Draft
Davidobot wants to merge 1 commit into
TapuCosmo:masterfrom
Davidobot:studio-encrypted-format-support
Draft

Add Studio encrypted EMPF export and craft modes#3
Davidobot wants to merge 1 commit into
TapuCosmo:masterfrom
Davidobot:studio-encrypted-format-support

Conversation

@Davidobot

Copy link
Copy Markdown

Summary

Adds support for the current eufyMake Studio EMPF container format and exposes craft-mode metadata needed for relief/texture workflows.

  • adds EmpfExportFormatEnum.studioEncrypted for AES-GCM wrapped eufyMake exports
  • keeps plain ZIP-style EMPF export as the default for backwards compatibility
  • adds CraftModeEnum with observed Studio subPrintType values
  • writes subPrintType and matching tag_type metadata for craft modes such as relief texture

This is intended to help with #2 and newer Studio exports that no longer use only the plain ZIP-style format.

Validation

  • npm run lint
  • git diff --check
  • smoke-tested encrypted export by decrypting the result back to a ZIP payload and checking relief texture metadata
  • smoke-tested default plain ZIP export

Notes

This sets project-level craft-mode metadata. Some advanced relief/texture workflows may also require per-layer gray/texture cache data from Studio-generated files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant