How can I open the TopDesign.cysch file to read what is in it?
Thanks for the help.
(sorry the bad english)
Double click it in Workspace Explore / Source TAB.
Isn't it open?
I've opened it in notepad, it seem like a serialized binary object., you will probably be able to properly read it using any HexEditor
This file is not designed to be human-readable. Open the accompanying project in Creator, and from there open the schematic file.
Or is there any other reason you want to read this files contents?
I'll try to read using a HexEditor. Thanks for the help.
ps: I need to read this file for my project.
Can't read with HexEditor too. Any other suggestions? I really need to read this file. Tks
Can you tell us why you need to read this file? Is that for some kind of version control or system archieve?
The file is a schematic gui file. So its a mix of tags, object properties, color,
luminance, vectors, coordinates...........
It is opened and viewed by a tool within creator. If you double click it
in Creator a schematic is displayed and you are permitted to modify
it with the schematic editor and the properties of the module you are
That is how you open it.
I trying to create a simple program that export the schematic to a simulator, that's why i'm trying to read the file. Reading the file, i can identify the circuit and export it to a simulator.
Many of the files open like xml file, but the TopDesign don't. I'm trying to figure out how to open in a readable way.
- it is not compressed, since one can read the strings in it
- its unicode / UTF16 (but it hasn't a BOM at the beginning)
- there are many strings which read like class names (e.g. CyDesigner.Common.Db.CyS3DB.CySsModelHeader)
- remember, Creator is a .NET-application
- there are also class field names in the files (e.g. m_compName)
So most likely this is serialized object structure, generated directly from the internal representation of the schematic
So you should try to read it with .NET (or Mono). I don't know enough about .NET to tell whether this can be done without the original classes. But I think there should be something like a generic reflection capability.
Maybe try to create a serialized object structure in .NET first, to see how the headers are formed (to see whether this matches the beginning of the file, or if there is anything else added).
I hate this edit window :( Can we please have a forum?