Since I heard this question asked quite frequently, and wanted to solve the problem myself, I wrote a minimod to allow switching between republic and monarchy. It's basically just a modified conversions.txt file in the decisions folder.
According to the mod, any monarchy can become any other monarchy, and aristocratic monarchy can become oligarchic republic. Apparently you can't get the potentials for a dictatorship to be both republic AND monarchy. This way, the circle is complete.
Any Monarchy->Aristocratic Monarchy->Oligarchic Republic->Dictatorship->Any Monarchy etc.
I felt this is more accurate because a weak king of an aristocratic monarchy might just decide to hand the reins back to people who already think they're in power, whereas I couldn't see that with a despotic.
The only downside is if you're a barbarian tribe, you can only upgrade governments to a republic, except religious tribe which can only upgrade to theocracy.
Also I added orator to the traits for both "proclaim dictatorship" and "restore the republic." I felt some mechanism should be there to reflect the historical nature of a dictatorship where dictators stepped down voluntarily, and if you're not an ambitious general, an audacious speaker might pull it off, seeing as how so many of the traits to become a dictator and restore the republic are opposite.
Anyone is more than free to improve upon this, as I only have a rudimentary code knowledge.
View attachment conversions.txt
According to the mod, any monarchy can become any other monarchy, and aristocratic monarchy can become oligarchic republic. Apparently you can't get the potentials for a dictatorship to be both republic AND monarchy. This way, the circle is complete.
Any Monarchy->Aristocratic Monarchy->Oligarchic Republic->Dictatorship->Any Monarchy etc.
I felt this is more accurate because a weak king of an aristocratic monarchy might just decide to hand the reins back to people who already think they're in power, whereas I couldn't see that with a despotic.
The only downside is if you're a barbarian tribe, you can only upgrade governments to a republic, except religious tribe which can only upgrade to theocracy.
Also I added orator to the traits for both "proclaim dictatorship" and "restore the republic." I felt some mechanism should be there to reflect the historical nature of a dictatorship where dictators stepped down voluntarily, and if you're not an ambitious general, an audacious speaker might pull it off, seeing as how so many of the traits to become a dictator and restore the republic are opposite.
Anyone is more than free to improve upon this, as I only have a rudimentary code knowledge.
View attachment conversions.txt