Jump to content

Profile .curaprofile headers special characters


Go to solution Solved by ahoeben,

Recommended Posts

Posted · Profile .curaprofile headers special characters

Hello,

I am currently trying to generate some Cura profile files (*.curaprofile) for a custom tool but I have some issues with the format. There are headers with characters not recognized on NotePad++. I attached an image showing the unknown headers starting with "PK".

Does anyone know how to recreate those characters or avoid using them?

Thank you 🙂

headers.png

  • Link to post
    Share on other sites

    Posted · Profile .curaprofile headers special characters

    This isn't a solution, but I was curious too... many of them are null (the ones which are just 00s), several of them are Unicode characters without ASCII or ANSI equivalent (so they're only appearing in Notepad++ as their Unicode character codes):

    image.thumb.png.b1547e0173752531d310413db6f59ade.png

    They all appear before what are probably either filenames or object names (like what extruder it applies to).

    I would say they're definitely not supposed to be human readable text. "PK" has several different forms when it comes to technology, but I'm wondering they're maybe Primary Keys of a database, unique identifiers?

    But there is some consistency: The first 30 or so bytes of the first and last lines are almost the same but there's a few different.

    I can't make any sense of them either. If anyone around here can, it's probably @ahoeben.

  • Link to post
    Share on other sites

    • Solution
    Posted · Profile .curaprofile headers special characters

    A .curaprofile file is actually a zip file containing multiple files. You can rename it to ".curaprofile.zip" and extract it into a folder. The files inside that folder are all pure text with no "weird characters". Do not edit the text of a .curaprofile file as is; this may break the .zip file structure.

    • Like 1
    Link to post
    Share on other sites

    Posted (edited) · Profile .curaprofile headers special characters

    @Slashee_the_Cow

    Yes, I tried to decode it like that too, but couldn't find some clean patterns too 🙂

     

    @ahoeben

    It makes sense. The files content are clear so it must be using a "no compression" type of zip. I will try replicate it 👍

    Thank you for the information !

    Edited by Kamino
  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...