Rollback from 5.99 to 5.1.9

Dear All,

I got stuck with 5.99 nighty, looking to rollback to 5.1.9.

I read about removing the stack up and zone info by editing a copy of your .kicad_pcb file in text editor

But What exacting need to remove when it says “stack up and zone info” ? and Does it really works in case of 5.99 to 5.1.9 ?

Appreciate any help. Thank you

Maybe not directly related to your question, but what made you stuck with 5.99 ?
Is it some bug that prevents you from proceeding, or you just need to share your project with 5.1 users?

In case of a bug, proper report on Gitlab will be probably the quickest and simplest solution as the show-stopping bugs are taken very seriously by the developers.

We could do with a FAQ on how to strip 5.99 features from the files and what to look out for to repair manually afterwards.

1 Like

I need to share copy with 5.1.9

Because my version is 5.99 it can’t be used by others.

Maybe the others can update? Don’t push it too hard…but I gather that 6.0 is coming…

The schematic file format has changed completely between V5.1.x and V5.99.
You can forget about trying to edit it a bit with a text editor.

For changing in other file formats…
A simple way to get some idea is to take a simple V5.1.x project, then open & save a copy of it with V5.99 and then use something like meld merge to look at the differences. It may also change the order in which things are written to the files, which is an extra complication (and git unfriendly), but I believe some development effort is also going that way.

1 Like

@ cbhirud, have you solved this issue? Personally, I think it is not possible to revert to v5 file format by using text editor, but maybe you succeeded (just curious)?

@poco

No it didn’t work. I tried to edit with notepad or merge two programs with meld merge but nothing worked.

As totally different expressions are used in coded for 5.99 and 5.1.9. it seems to be very complex to make it work

Better to restart from where you migrated.

At least there is no need to redo the PCB layout.
You can open your project in V5.99 and create gerber files from it, and then open those gerber files in Gerbview from KiCad V5.1.9, and then: Gerbview / File / Export to Pcbnew…

A lot of info is lost in gerber files. The concept of footprints for example just does not exist in Gerber format. But what you can recover is:

  • Pcb Outline, mounting hole locations.
  • All tracks (Zones probably too).
  • Footprint locations (Implicitly encoded in the end of tracks. Snap pads to end of tracks in Pcbnew.
  • Netlist. This is re-created from the existing tracks and the new footprints you put on top of them. I once found 3 errors this way during reverse-engineering a project. You then keep changing (adding to) the schematic and Update PCB from Schematic untill DRC in Pcbnew is happy and shows no more discrepancies.

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