How to open kicad 5.0 files in kicad 4.0.7?

I want to open some Kicad 5.0 files with Kicad 4.0.7 as my client want those files to be in that version of Kicad. How can I do that?

Kicad is not backwards compatible. So it will not work without the danger of data loss!

  • footprint libs will work in some cases. (as long as no footprint has new features in it.)
  • pcb_new files might work. (I know that there now are new features for diff pairs. Not sure if you can open the pcb_new file as long as no diff pair features and no footprints with new features are used.)
  • symbol libs need manual work (ensure no pin number is longer than 4 chars, then you can manually edit the header line to be version 2.3) If you do not do that kicad will wipe the information of the dcm file (or ignore it if you do not store changes to it)
  • schematic files will not work at all. In kicad 5 the symbol lib is included to tell kicad from which lib a particular symbol needs to be taken. This removes the need for symbols to have a unique name over all libraries. In some cases it might work to manually remove the library names from the file format. But this is extremely dangerous and really not worth it!
  • The project file also changed in some major ways. KiCad 4 for example stored the symbol libs that should be loaded in there. This is no longer the case in KiCad 5 as there now exist sym-lib-tables for that.
  • The line order in files did also massively change. So if you intend on switching back and forth your version control history will look like an accident.

In general i would say if you know you need to work with somebody not capable of updating to version 5 then you should not work in version 5. Back-porting a project needs a lot of deep knowledge of the file formats. You would also need to take care while creating your project such that you do not use any new feature as that would make back-porting impossible without data loss.

3 Likes

Thanks @Rene_Poschl Lots of stuff to check.

What you said is right. I accidentally opened the older files in V5.0. This caused the mayhem. Anyway I need to rework on the project.

Only opening the file does not destroy your files. You must have also pressed the save button. (Especially not on the pcb side)

Did you delete the backup files created by the remap process? If not you can restore your project from these files. If you did then your best option is to just finish the remap process and get the project properly converted over to v5.

Surely you have backups of your projects, especially if they are for clients!

1 Like

I got the project back on track. I retrieved the previous version files as I saved my projects in cloud. Now I installed both 4.0.7 and v5.0 in my system. Just install those in different directories. Accept the warring during installation and change the installation directory to other folder. This works with no problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.