3acff3caba
This is a simple Python 3 script to ease rebuilding of FGData embedded resources for FlightGear. It uses fgrcc in conjunction with <FlightGear-repo>/src/EmbeddedResources/FGData-resources.xml and the FGData files mentioned therein to (re)create the FGData-resources.[ch]xx files used in the FlightGear build. The existing files in the FlightGear repository are always overwritten (namely, FGData-resources.[ch]xx in <FlightGear-repo>/src/EmbeddedResources). There are command-line options (--flightgear, --fgdata and --fgrcc) to indicate where the FlightGear and FGData repositories, as well as the fgrcc executable can be found. However, it is most convenient to put these paths once for all in the config file $HOME/.fgmeta/rebuild-fgdata-embedded-resources.json (use 'rebuild-fgdata-embedded-resources --help' to see an example). This way, you can invoke the script without any argument whenever you want to update <FlightGear-repo>/src/EmbeddedResources/FGData-resources.[ch]xx. This script doesn't depend on any module out of the Python standard library (intentionally, in case distributors want to use it to recreate themselves the FGData-resources.[ch]xx files). It should work on Python 3.5 and later versions. |
||
---|---|---|
.. | ||
flightgear | ||
fg-convert-translation-files | ||
fg-new-translations | ||
fg-update-translation-files | ||
README-l10n.txt | ||
rebuild-fgdata-embedded-resources |