Skip to content

Icon file is zero bytes, corrupted when extracted #15

@ssharpjr

Description

@ssharpjr

The de-muddled package has a zero byte corrupted icon file.

Here are some steps to replicate.

  • In Mudlet, open the Package Exporter.
  • Upload your icon image. My example file is 512x512 png called icon.png.
  • Export the package, creating a PackageName.mpackge file.
  • Run de-muddler -f PackageName.mpackge. This creates a PackageName folder with the extracted package inside.
  • Navigate to and attempt to open PackageName/src/resources/.mudlet/Icon/icon.png.
  • This file is zero bytes and will not open.

Steps to verify Mudlet's Package Manager exported correctly.

  • Manually extract the PackageName.mpackage with 7-Zip.
  • Navigate to and attempt to open PackageName/src/resources/.mudlet/Icon/icon.png.
  • This file opens correctly and has the correct file size.

There is an issue with de-muddler's extraction of the icon file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions