File | Date | Author | Commit |
---|---|---|---|
merge_tool_configs | 2017-07-08 |
![]() |
[f9eb4b] Refactoring. Default directory support. Ynnari ... |
.hgignore | 2017-06-20 |
![]() |
[98347d] #1: Merge-tool: Minor fixes |
README.md | 2017-06-28 |
![]() |
[d0dd2e] Refactoring: default directory support |
battlescribe.py | 2017-07-08 |
![]() |
[f9eb4b] Refactoring. Default directory support. Ynnari ... |
merge_tool.py | 2017-07-08 |
![]() |
[f9eb4b] Refactoring. Default directory support. Ynnari ... |
pyscribe_scripts.py | 2017-06-28 |
![]() |
[43c143] #7: Catalog separated |
warscribe.pyproj | 2017-07-08 |
![]() |
[f9eb4b] Refactoring. Default directory support. Ynnari ... |
warscribe.sln | 2017-06-09 |
![]() |
[352bc5] Added copy-options functionality; added vs info... |
merge_tool_configs/config.json
is required to work. Find required config (ynnari.config.json
, as example), and copy it into config.json
, or create a new one. Then open it as text file and check:catalogs
variable (first one is target, orhers will be merged into). Case-sensitive in Linux, extensions are added automatically.directory
variable (in double quotmarks). Case-sensitive in Linux. If missing (or null
, or "default"
), tool will try to find catalogs in the default BattleScribe directory, including all subdirectories.resultName
. Extensions are added automatically.actions
field should link to the file listing the post-merge actionsdynamic_config
field should link to the file where all dynamic information is storedmerge_tool/actions.json
file.merge_tool.py
actions
field (ynnari.actions.json
, for example) and reproduces its steps in order. In example, it can merge all enrties with same name, type and shared status.remove
- removes all instances that match condition, as well as links to them.remove hard
- same as above + removes anything that contains removed items.merge
- merge elements those match condition and have same attributes. Element with first Id in alphabetical order will be used. Note that this operation is not fast enough.link
- add link to specific element for elements those match very specific condition.Please, contact author for more support. Documentation is not provided yet.