retrohub-org / retrohub

Retrogaming library frontend, built to be a highly customizable platform.
https://retrohub-org.github.io/
MIT License
110 stars 6 forks source link

Introduce a configuration internal version #250

Closed rsubtil closed 11 months ago

rsubtil commented 11 months ago

The port to Godot 4 has changed a lot of stuff. One such case are existing keycodes. Since RetroHub stores these directly, a config from RetroHub v0.1.0 is incompatible with v0.2.0, and vice-versa.

This means configs are starting to get incompatibilities, and to properly update/convert for newer version, we need a better way to check a version. It doesn't make sense to tie this to RetroHub's version since these updates will be rare, so a simple version number is sufficient.