Emulationstation from batocera with configs and scripts for integration as Arch-Linux package
This project is maintained by GB609
This module contains functions related to merging of multiple property source files to one target.
How the merge happens, and what it includes, depends on the intended purpose of the target file.
The functions declared in this module are available for use via btc-config as command actions of the same name.
This function provides a generic flow for all ‘effective…’ procedures to encapsulate commonly used arguments and options.
It does the following:
config-imports:mergePropertyFiles(sourceFiles, filePreProcessing)mergedPostProcessing(mergeResult)The processing functions do nothing by default - they just return the input.
This function has to actively be called from the actual calculation method. The calculated property dict will be written by from this function already,
so it is NOT required and not advisable to propagate the function’s return value back to btc-config - it would be printed twice. This would only make sense
when the dictionary shall be written to a file AND to stdout.
Generic command line options:
Some of the options which are just passed to the writer might not be supported by all writers.
--declare-fn <string> - passed to writer as options.declareCommand--strip-prefix <int> - passed to writer as options.stripPrefix--include-source - passed to writer as options.printSource--output-file <path> - handled in this function, determines what is passed as target argument to writer.--force - handled in this function, only applies when --output-file is given. Write file regardless of mod times.[@returns the merged dictionary]
This is a slight variation of effectiveGlobals. It is used to maintain the user-specific es_settings.cfg file.
Differences:
system.conf is takenes_settings.cfg.Has 2 modes of operation:
system.conf and es_settings.cfges_settings.cfg, which are NOT contained in system.conf with identical valueGenerated with shdoc from /opt/batocera-emulationstation/node_modules/effective-values.js